Archive | HOWTO RSS feed for this section

Install RVM on OS X with Brew

I had followed Darkoperator’s Metasploit Framework for Mountain Lion Guide back in July of 2012. After doing a ‘brew update && brew upgrade’ the recent stable release of ruby-2.0.0.p0 breaks ‘msfconsole’. A simply way to resolve this is to remove ruby from Homebrew and install RVM for ruby version management.

ruby -v
brew doctor
brew uninstall ruby
brew remove --force ruby

\curl -#L https://get.rvm.io | bash -s stable --ruby
source /User/<account name>/.rvm/scripts/rvm
cat ~/.bash_profile

rvm install 1.9.3
rvm --default 1.9.3

rvm list
ruby -v

Line 1 shows the current version of ruby. Run Line 2 to make sure ‘Your system is raring to brew.’ Line 3 uninstalls ruby and Line 4 removes the files from the ‘/usr/local/Cellar/’. Line 6 installs RVM with the latest stable version of Ruby. Line 7 loads RVM into the active shell session as a function (replace <account name> with your user account; if you’re not sure .. use ‘whoami’). Use Line 8 to check that RVM will loads automatically when you open a new terminal, otherwise you will have to run Line 7 each time:

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

Line 10 installs ruby-1.9.3-p393 and the following line sets the current && default ruby version in the bash prompt to 1.9.3 with the last command verifying the current version of ruby.

Leave a Comment
Video

Configure VPN in Kali Linux

VPN is not installed by default in Kali Linux; here are the commands:

apt-get install network-manager-openvpn-gnome
apt-get install network-manager-pptp
apt-get install network-manager-pptp-gnome
apt-get install network-manager-strongswan
apt-get install network-manager-vpnc
apt-get install network-manager-vpnc-gnome

/etc/init.d/network-manager restart

Video

OPSEC and Freedom Fighting

The presentation does a brilliant job of breaking down how recent hackers have been tagged. NSFW, due to the language of the speaker – you have been warned…

Aside

Install EasyGUI on Mac OS X

Download EasyGUI if you have not done so already. In the directory where you downloaded the .tar file, follow the terminal commands below:

$ tar -xvf easygui_v0.95.tar
$ sudo python setup.py install

The ‘$’ should not be typed within the terminal window, as this refers to the privilege level. You could also copy “easygui.py” to “/Library/Python/2.7/site-packages/” directory.  To check if the module is installed within Python type:

Python Code:

>>> import easygui
>>> easygui.msgbox("Hello There!")

or

>>> help()
>>> easygui

control + D

Leave a Comment