![]() Now that we've talked about encryption and managing your passwords, let's continue this series on getting your Mac ready for hacking by turning our attention to the terminal.I recently installed iTerm2 on my Mac, and I must say: "WOW! What a difference!" The terminal is a key component of any pentester's setup. We're going to be spending a lot of time working with the terminal, so the goal is to be comfortable with it. We want something that is appealing to our eye, feature-rich, and stable. A good terminal emulator will help us manage our workflow efficiently. For macOS, my preferred terminal emulator is iTerm2. An honorable mention goes out to Cathode, which attempts to replicate the feel of using an old terminal. In this article, we will be using your Mac's default Terminal app to install iTerm2. Doing the installation in this way will help new users get familiar with the CLI (command line interface). Previously: How to Manage Your Passwords with KeePassX.If you're old hat and already have a solid grip on the command line, a refresher never hurts. The default macOS terminal app is simply called Terminal and is located in the "Utilities" folder in Applications. You can just search Spotlight for "Terminal" to open it quickly. Terminal.app features a plethora of color schemes, window groups, terminal tabs, a split pane, some man page integration, and transparency. It's a solid choice, but it lacks some features that I personally like having access to. This is why I recommend iTerm2, which has all of the features of Terminal and more.Ī few of my favorite iTerm2 features are a mouse-less copy, autocomplete, and, last but not least, a hotkey terminal window. You can download iTerm2 directly from its website, but I want to show the install process using the macOS Terminal app instead. As I said, this is to help new hackers get used to command line. Step 1: Get iTerm2įirst, go ahead and open the Terminal app. When Terminal is first opened, the working directory is your home directory. Since we're about to download a file, I think the best place to put it is in our "Downloads" folder, so let's navigate there with the below command. The ~ character represents the home directory. Next, we need to get iTerm2 using the download link on its website. In order to do this, we will need to use the curl command, since wget isn't built into macOS. However, not that iTerm2 is constantly updating, so you should check the site's downloads to make sure you're getting the latest version. % Total % Received % Xferd Average Speed Time Time Time Currentġ00 6847k 100 6847k 0 0 9031k 0 -:-:-:-:-:-:- 9021kĬurl is a powerful command line tool for getting or sending files using URL syntax. The -O option is equivalent to -remote-name, which writes curl output to a local file name based on the remote file we get. Without using the -O option, the data for our download is simply printed to stdout. For curl, the command would be: man curl Step 2: Verify the Checksum You can read more about curl or almost any other command in the man pages. Let's confirm that the file we have hasn't been tampered with. The site lists the SHA-256 of the ZIP file for version 3.2.7 as below. You can find this info from the site's downloads (select "Show Changelog" and it should be at the bottom).Īc71ddf4b9378fb87a30c64aa9bde543300728ed5e5ab996f1687f40fd7e2ae1 #Mac os x terminal emulator zip file# Since the developer did not include a properly formatted SHA checksum file, we have to do this manually. The command below generates a shasum hash of the given file. The -a switch selects which algorithm to use. Since this is an SHA-256 checksum, we use 256. With the checksum verified, we know that the file hasn't been tampered with. ![]() It also lets us know that the download isn't corrupted. Inflating: iTerm.app/Contents/_CodeSignature/CodeResources unzip iTerm2-3_2_7.zipĬreating: iTerm.app/Contents/_CodeSignature/ Now we need to unzip the file with unzip iTerm2-3_2_7.zip (or whatever the file name is for the version you're using). ![]() Inflating: iTerm.app/Contents/MacOS/iTerm2
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |