Category Archives: MacOSX

IDA Pro 7.0 with Plugins and BinDiff on MacOSX 10.13.4 (High Sierra)

Install Xcode
Open up AppStore app, login with your Apple credentials, search for xcode and install
$ sudo mkdir -p /Developer/SDKs
$ sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk /Developer/SDKs/MacOSX.sdk

Install brew and a few more packages:
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install libiconv (mine was https://homebrew.bintray.com/bottles/libiconv-1.15.high_sierra.bottle.tar.gz)
$ pip install ida-settings idalink

Confirm that LLVM and command line tools have been installed:
$ gcc --version
$ xcode-select --install

Confirm that SDK has been installed
$ xcrun --sdk macosx --show-sdk-path

Continue reading

Facebooktwitterredditpinterestlinkedinmailby feather

Raspberry Pi Zero OTG – MacOSX

Download

  1. Raspbian as of 10/Dec/2016 this will download you Raspbian Jessie with Pixel (Pi Improved X-windows Environment, Lightweight) desktop
  2. Etcher v1 for Darwin x64 to flash Raspbian into the SD card. Visit main site for more info
  3. SDFormatter to format the SD card

Configuring Raspberry Pi Zero to Emulate Ethernet Over USB

Once you flash the Raspbian image onto the SD card then:

  1. Open a file at the root of the mounted drive called config.txt
  2. Add the following line at the very bottom: dtoverlay=dwc2
  3. Open a file at the root of the mounted drive called cmdline.txt
  4. Add the following line after the rootwait parameter: modules-load=dwc2,g_ether
  5. Create a file called ssh in to the root of the mounted driver, the file can contain any text you like, or even nothing at all: touch /Volumes/boot/ssh

Note: SSH will be disabled by default on the images from version 1.1 (2016-11-25-raspbian-jessie, Raspberry Pi reference 2016-11-25). When the Pi boots, it looks for the ssh file; if it finds it, it enables SSH and then deletes the file.

Continue reading

Facebooktwitterredditpinterestlinkedinmailby feather

Brew Package Manager Aliases

While installing a package using brew “brew instal package_name” noticed brew didnt complain for the missing “l” in the install, initially I thought it was an error in the brew so I tried “brew install package_name” (with two l’s this time) which passed through fine

Checking brew further:

[secuid0@m0nk /]$ brew
Example usage:
brew [info | home | options ] [FORMULA...]
brew install FORMULA... <------------Nothing about "instal" with a single "l"
brew uninstall FORMULA...
brew search [foo]
brew list [FORMULA...]
brew update
brew upgrade [FORMULA...]
brew pin/unpin [FORMULA...]

Troubleshooting:
brew doctor
brew install -vd FORMULA
brew [--env | config]

Brewing:
brew create [URL [--no-fetch]]
brew edit [FORMULA...]
open https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Formula-Cookbook.md

Further help:
man brew
brew home

Checking the brew.rb file:
[secuid0@m0nk /]$ vi brew --prefix/Library/brew.rb

Found the homebrew supported aliases:

...
aliases = {'ls' => 'list',
'homepage' => 'home',
'-S' => 'search',
'up' => 'update',
'ln' => 'link',
'instal' => 'install', # gem does the same
'rm' => 'uninstall',
'remove' => 'uninstall',
'configure' => 'diy',
'abv' => 'info',
'dr' => 'doctor',
'--repo' => '--repository',
'environment' => '--env',
'--config' => 'config',
}
...

so both install and instal are supported…amongst others

Facebooktwitterredditpinterestlinkedinmailby feather