... net.sf.xss-html-filter xss-html-filter 1.1 xss-html-filter releases xss-html-filter Releases Repository http://xss-html-filter.sf.net/releases/ Computer Hacks and tricks: Install Hacking tools on mac

Sunday, December 22, 2013

Install Hacking tools on mac

Hey guys so lets get started.
1. Install HomeBrew ( Macports sucks at this it broke my donwload 10 times )
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
( it will ask you to install Xcode tools just follow the instructions if needed go to app store and get Xcode it's free )
2.install RVM to downgrade ruby (looks like metasploit won't work with ruby 2.x.x so you need to go to ruby 1.9.3
\curl -sSL https://get.rvm.io | bash

3. install all the requirements for rvm  ( it will take some time so wait )
rvm install requirements

4. install ruby 1.9.3
rvm install ruby 1.9.3

5. install postgres
1) update brew
brew update
brew doctor

2)install it
brew install postgresql

3)configure
initdb /usr/local/var/postgres -E utf8
( if this code fails it is ok to ignore )
gem install lunchy
this will install lunchy it is a really nice way to manage postgres
mkdir -p ~/Library/LaunchAgents

cp /usr/local/Cellar/postgresql/YOURVERSIONNUMBER/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/
([color=red]MAKE SURE TO REPLACE YOURVERSIONNUMBER with the version number you have like for me it is 9.3.2 ( you can go to this directory and check) [/color]
lunchy start postgres
( they were some issues when lunchy might be gone just install it when you are in you ~ directory
6. install metasploit
brew install nmap
install nmap first
sudo su
if this doesn't work try
sudo bash

mkdir -p /opt/
if you don't have it already

cd /opt
git clone https://github.com/rapid7/metasploit-framework.git msf
sudo echo export MSF_DATABASE_CONFIG=/opt/msf/database.yml >> ~/.bash_profile
sudo nano /opt/msf/database.yml
Nano editor will pop up and you need to type

production:
   adapter: postgresql
   database: msf
   username: msf
   password:
   host: 127.0.0.1
   port: 5432
   pool: 75
   timeout: 5

control-x , y , enter
cd /opt/msf/
bundle install
it this fails run
sudo bundle install

ln -s /opt/msf/msf* /opt/local/bin/
msfconsole

Now lets fix the error when it seas that Database is not found when you run search Windows  #or something else
exit
lunchy stop postgres
lunchy start postgres
msfupdate

7. now let's install [color=red]SET[/color]
cd /opt
sudo git clone https://github.com/trustedsec/social-engineer-toolkit/ set/
cd set/
sudo python setup.py
#now if you run sudo ./setoolkit you will see that if can't find msf so lets fix that
sudo nano config/set_config

Now change the
METASPLOIT_PATH=/opt/metasploit/apps/pro/msf3
to
METASPLOIT_PATH=/opt/msf

Now if you run
sudo ./set

it [color=yellow]Works[/color]


there are a lot of other tools that you can install using brew run:

brew install aircrack-ng
brew install Wireshark #or brew install wireshark --with-qt
brew install hydra
brew install john

if John fails type
brew edit john

and make sure it looks like this
require 'formula'

class John < Formula
  url 'http://www.openwall.com/john/g/john-1.7.8-jumbo-4.tar.bz2'
  homepage 'http://www.openwall.com/john/'
  md5 '7b50641248e9570341d5474b7c83f087'

  fails_with_llvm

  def install
    ENV.deparallelize
    arch = Hardware.is_64_bit? ? '64' : 'sse2'

    Dir.chdir 'src' do
      system "make clean macosx-x86-#{arch}"
    end

    rm 'README'
    # using mv over bin.install due to problem moving sym links
    mv 'run', bin
    chmod_R 0755, bin
  end
end

if WireShark fails you can download it from http://www.wireshark.org/download/src/wireshark-1.10.3.tar.bz2
well That was it if you know any other tools please comment I would really need that Thanks

~Alexthedark


___________________________________________________________________________________________________________________
http://computerperformancetricks.blogspot.com/

No comments:

Post a Comment