Make sure you are using x86_64 Ubuntu system.
sudo apt-get install build-essential gcc-multilibStep 2 :
Suppose you are using x86_64 system and want to compile a x86 version software.
gcc -m32 test.c -o testfile testThat's all! See you.
Open Source is a great idea and it has changed the world!
Open Source forever ....
While you do not know attack, how can you know about defense? (未知攻,焉知防?)
Do BAD things .... for the RIGHT reasons -- OWASP ZAP
It is easier to port a shell than a shell script. -- Larry Wall
Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris. -- Larry Wall
为天地立心, 为生民立命, 为往圣继绝学, 为万世开太平。 -- 王炜
sudo apt-get install build-essential gcc-multilibgcc -m32 test.c -o testfile testwget http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.binwget http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-sysupgrade.binIP address : 192.168.0.10
Gateway : 192.168.0.1192.168.0.254. Then browse to the stock IP address.admin".System Tools" -- "Firmware Upgrade" to upgrade from the just downloaded .bin file.192.168.1.1.IP address : 192.168.1.10
Gateway : 192.168.1.1System" -- "Administration".System" -- "System" to set the timezone.Network" -- "Wifi".Network" - "Interfaces" - "Edit" - select "DHCP Client" and select "OpenWrt" by clicking "Switch Protocol". If you take too much time to re-load the page, it is fine. It is because the IP address cannot be get. Just go ahead.OpenWrt".192.168.1.100, you can connect to the TL-MR3020 via ssh.ssh 192.168.1.100 -lrootopkg update
opkg install kmod-usb-storage
opkg install kmod-fs-ext4
opkg install block-mountmkdir -p /mnt/sda2
mount /dev/sda2 /mnt/sda2
mkdir -p /tmp/cproot
mount --bind / /tmp/cproot
tar -C /tmp/cproot -cvf - . | tar -C /mnt/sda2 -xf -
umount /tmp/cproot
umount /mnt/sda2/etc/init.d/fstab enable
/etc/init.d/fstab startvi /etc/config/fstabconfig mount
option target /
option device /dev/sda2
option fstype ext4
option options rw,sync
option enabled 1
option enabled_fsck 0
config swap
option device /dev/sda1
option enabled 1reboot/" or not :mount
dfmkdir mr3020
sudo cp -R /media/1234....1123/* ~/mr3020/
sudo cp -R ~/mr3020/lib ~/mr3020/lib-original/media/1234....1123/ is different from yours./lib directory.wget http://wifipineapple.com/index.php?downloads&downloadUpgrade=2.8.1sudo apt-get install squashfs-toolsupgrade-2.8.1.bin :unsquashfs upgrade-2.8.1.bin
cd squashfs-rootsudo cp -R bin/* /media/1234....1123/bin/
sudo cp -R sbin/* /media/1234....1123/sbin/
sudo cp -R usr/* /media/1234....1123/usr/
sudo cp -R etc/* /media/1234....1123/etc/
sudo cp -R www/* /media/1234....1123/www/
sudo cp -R pineapple /media/1234....1123/
sudo cp -R lib/firmware/* /media/1234....1123/lib/firmware/
sudo cp lib/* /media/1234....1123/lib/
sudo cp lib/wifi/* /media/1234....1123/lib/wifi/
sudo cp ~/mr3020/etc/config/fstab /media/1234....1123/etc/config/
sudo cp ~/mr3020/etc/passwd /media/1234....1123/etc/
sudo cp ~/mr3020/etc/shadow /media/1234....1123/etc/
sudo cp -R ~/mr3020/lib-original /media/1234....1123//etc/config/dhcp/etc/config/network from 172.16.42.1 to 172.16.42.42.pineapple 0:37'". The username is "root" and the password is your very STRONG password.Connect Automatically at the wired connection of Network Manager of Ubuntu.wget http://wifipineapple.com/wp4.sh
chmod +x wp4.sh
sudo ./wp4.shsudo ./killwp4.shwp4.sh again to get the access./lib directory. Or, if you have a backup, you can copy the /lib directory back.WPS/Reset" button on the TL-MR3020; otherwise, the OpenWrt will be reset and the USB pendrive cannot be mounted. Unless, you install the related packages again as above stated.wget http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.binwget http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-sysupgrade.binIP address : 192.168.0.10
Gateway : 192.168.0.1192.168.0.254.admin".System Tools" -- "Firmware Upgrade" to upgrade from the just downloaded .bin file.192.168.1.1.System" -- "Administration".Network" -- "Wifi".Network" - "Interfaces" - "Edit" - select "DHCP Client" and "OpenWrt".OpenWrt".192.168.1.100, you can connect to the TL-MR3020 via ssh.ssh 192.168.1.100 -lrootopkg update
opkg install kmod-usb-storage
opkg install kmod-fs-ext4
opkg install block-mountmkdir -p /mnt/sda2
mount /dev/sda2 /mnt/sda2
mkdir -p /tmp/cproot
mount --bind / /tmp/cproot
tar -C /tmp/cproot -cvf - . | tar -C /mnt/sda2 -xf -
umount /tmp/cproot
umount /mnt/sda2/etc/init.d/fstab enable
/etc/init.d/fstab startvi /etc/config/fstabconfig mount
option target /
option device /dev/sda2
option fstype ext4
option options rw,sync
option enabled 1
option enabled_fsck 0
config swap
option device /dev/sda1
option enabled 1reboot/" or not :mount
dfopkg update
opkg install nano
opkg install htop
opkg install bash
opkg install netcat
opkg install tar
opkg install openssh-sftp-client
opkg install nmap
opkg install tcpdump
opkg install aircrack-ng
opkg install kismet-client
opkg install kismet-server
opkg install nbtscan
opkg install snort
# karma should be installed
opkg install karma
opkg install samba36-client
opkg install elinks
opkg install yafc
opkg install python
opkg install uhttpd
# at should be installed
opkg install at
opkg install ethtool
opkg install ettercap
opkg install macchanger
opkg install netstat-nat
opkg install reaver
opkg install sslsniff
opkg install sslstrip
opkg install wget
opkg install wput
opkg install curl
# libnids should be installed
opkg install libnids
# php5 and php5-cgi should be installed
opkg install php5
opkg install php5-cgi/etc/init.d/atd enable
/etc/init.d/atd start
touch /var/spool/cron/atjobs/.SEQwget http://wifipineapple.com/index.php?downloads&downloadUpgrade=2.8.1sudo apt-get install squashfs-toolsupgrade-2.8.1.bin :unsquashfs upgrade-2.8.1.bin
cd squashfs-rootscp /home/samiux/test/squashfs-root/usr/sbin/wpad root@192.168.1.100:/usr/sbinscp /home/samiux/test/squashfs-root/usr/sbin/hostapd_cli root@192.168.1.100:/usr/sbin
scp /home/samiux/test/squashfs-root/lib/wifi/hostapd.sh root@192.168.1.100:/lib/wifi/home/samiux/test/pineapple :sudo apt-get install git
git clone https://github.com/WiFiPineapple/web-interface.git /home/samiux/test/pineapplegrep -lr -e 'ps auxww' /home/samiux/test/pineapple/* | xargs sed -i 's/ps auxww/ps/g'
grep -lr -e 'ps aux' /home/samiux/test/pineapple/* | xargs sed -i 's/ps aux/ps/g'
grep -lr -e 'ps -all' /home/samiux/test/pineapple/* | xargs sed -i 's/ps -all/ps/g'scp -r /home/samiux/test/pineapple/ root@192.168.1.100://home/samiux/test" :scp /home/samiux/test/dhcp root@192.168.1.100:/etc/config
scp /home/samiux/test/firewall root@192.168.1.100:/etc/config
scp /home/samiux/test/network root@192.168.1.100:/etc/config
scp /home/samiux/test/uhttpd root@192.168.1.100:/etc/config
scp /home/samiux/test/php.ini root@192.168.1.100:/etcscp /home/samiux/test/squashfs-root/usr/sbin/autossh root@192.168.1.100:/usr/sbin/
scp /home/samiux/test/squashfs-root/usr/sbin/chat root@192.168.1.100:/usr/sbin/
scp /home/samiux/test/squashfs-root/usr/sbin/dnsspoof root@192.168.1.100:/usr/sbin/
scp /home/samiux/test/squashfs-root/usr/sbin/dsniff root@192.168.1.100:/usr/sbin/
scp /home/samiux/test/squashfs-root/usr/sbin/empty root@192.168.1.100:/usr/sbin/
scp /home/samiux/test/squashfs-root/usr/sbin/filesnarf root@192.168.1.100:/usr/sbin/
scp /home/samiux/test/squashfs-root/usr/sbin/macof root@192.168.1.100:/usr/sbin/
scp /home/samiux/test/squashfs-root/usr/sbin/mailsnarf root@192.168.1.100:/usr/sbin/
scp /home/samiux/test/squashfs-root/usr/sbin/msgsnarf root@192.168.1.100:/usr/sbin/
scp /home/samiux/test/squashfs-root/usr/sbin/sshmitm root@192.168.1.100:/usr/sbin/
scp /home/samiux/test/squashfs-root/usr/sbin/sshow root@192.168.1.100:/usr/sbin/
scp /home/samiux/test/squashfs-root/usr/sbin/tcpkill root@192.168.1.100:/usr/sbin/
scp /home/samiux/test/squashfs-root/usr/sbin/tcpnice root@192.168.1.100:/usr/sbin/
scp /home/samiux/test/squashfs-root/usr/sbin/urlsnarf root@192.168.1.100:/usr/sbin/
scp /home/samiux/test/squashfs-root/usr/sbin/update-usbids.sh root@192.168.1.100:/usr/sbin/
scp /home/samiux/test/squashfs-root/usr/sbin/webmitm root@192.168.1.100:/usr/sbin/
scp /home/samiux/test/squashfs-root/lib/librpc.so root@192.168.1.100:/lib/
scp /home/samiux/test/squashfs-root/lib/libuClibc-0.9.33.2.so root@192.168.1.100:/lib/scp -r /home/samiux/test/squashfs-root/etc/chatscripts root@192.168.1.100:/etc/
scp -r /home/samiux/test/squashfs-root/etc/gcom root@192.168.1.100:/etc/
scp -r /home/samiux/test/squashfs-root/etc/usb_modeswitch.d root@192.168.1.100:/etc/scp /home/samiux/test/squashfs-root/www/* root@192.168.1.100:/www//home/samiux/squashfs-root or /home/samiux/test by using sudo command. However, you should make sure that you have completed up to Step 4.ssh 192.168.1.100 -lroottouch index.php /www/
mv /pineapple/pages/upgrade.php /pineapple/pages/not-upgrade.php
touch /pineapple/pages/upgrade.phpnano /etc/rc.local
hostapd_cli -p /var/run/hostapd-phy0 karma_enablevi /etc/config/httpd.conf/:root:$p$rootreboothttp://172.16.42.1:1471root" and password as your very STRONG root password.Connect Automatically at the wired connection of Network Manager of Ubuntu.wget http://wifipineapple.com/wp4.sh
chmod +x wp4.sh
sudo ./wp4.shsudo ./killwp4.sh/etc/config/network" to the following :192.168.1.x, you can change the IP address of TL-MR3020 to 192.168.1.10 and the gateway as the gateway of your router (such as mobile phone) :option ipaddr '192.168.1.10'
option netmask '255.255.255.0'
option gateway '192.168.1.1'
option dns '8.8.8.8'http://www.tenable.com/products/nessus/select-your-operating-systemwget "http://downloads.nessus.org/nessus3dl.php?file=Nessus-5.2.1-ubuntu1110_i386.deb&licence_accept=yes&t=8bd3179e2669137382555cb07611a795&__utma=96148739.876193166.1369081770.1369081770.1369084100.2&__utmb=96148739.3.10.1369084100&__utmc=96148739&__utmx=-&__utmz=96148739.1369084100.2.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)&__utmv=-&__utmk=236900745" -O Nessus-5.2.1-ubuntu1110_i386.debwget "http://downloads.nessus.org/nessus3dl.php?file=Nessus-5.2.1-ubuntu1110_amd64.deb&licence_accept=yes&t=8bd3179e2669137382555cb07611a795&__utma=96148739.876193166.1369081770.1369081770.1369084100.2&__utmb=96148739.3.10.1369084100&__utmc=96148739&__utmx=-&__utmz=96148739.1369084100.2.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)&__utmv=-&__utmk=236900745" -O Nessus-5.2.1-ubuntu1110_amd64.debsudo dpkg -i Nessus-5.2.1-ubuntu1110_i386.debsudo dpkg -i Nessus-5.2.1-ubuntu1110_adm64.debhttp://www.tenable.com/products/nessus/nessus-homefeedsudo /etc/init.d/nessusd starthttps://localhost:8834/sudo update-rc.d nessusd disablesudo /etc/init.d/nessusd starthttps://localhost:8834/sudo apt-get update
sudo apt-get install libqt4-dev libboost1.48-all-dev subversionsudo -sH
cd /opt
svn checkout http://edb-debugger.googlecode.com/svn/trunk/ edb-debugger
cd edb-debugger
qmake
make
make installsudo -sH
edbPreferences -- Directories
Symbol Directory : /opt/edb-debugger
Plugin Directory : /lib64/edb
Session Directory : /opt/edb-debuggersudo apt-get install subversion
sudo -sH
cd /opt
svn checkout http://metagoofil.googlecode.com/svn/trunk/ metagoofil
cd metagoofilsudo -sH
cd /opt/metagoofil
python metagoofil.py -d samiux.com -t doc,pdf -l 200 -n 50 -o samiuxfiles -f results.htmlsudo apt-get install libnet-dns*
sudo -sH
mkdir /opt/fierce
cd /opt/fierce
wget http://ha.ckers.org/fierce/fierce.pl
wget http://ha.ckers.org/fierce/hosts.txtsudo -sH
cd /opt/fierce
perl fierce.pl -dns samiux.com -wordlist hosts.txt -file output.txtsudo apt-get install subversion
sudo -sH
cd /opt
svn checkout http://theharvester.googlecode.com/svn/trunk/ theharvester
cd /opt/theharvestersudo -sH
cd /opt/theharvester
python theharvester.py -d microsoft.com -l 500 -b googlesudo apt-get install build-essential
sudo -sH
cd /opt
git clone git://git.code.sf.net/p/crunch-wordlist/code crunch
cd /opt/crunch
make
make install
rm -R /pentestsudo -sH
cd /opt/crunch
./crunchsudo apt-get install subversion build-essential libpcap0.8-dev libpcap-dev
sudo -sH
cd /opt
svn checkout http://reaver-wps.googlecode.com/svn/trunk/ reaver
cd /opt/reaver/src
./configure
make
make installwash -h
reaver -hsudo apt-get install build-essential sqlite3 subversion ethtoolsudo -sH
cd /opt
svn co http://trac.aircrack-ng.org/svn/trunk aircrack-ng
cd /opt/aircrack-ng
make sqlite=true ext_scripts=true unstable=true
make sqlite=true ext_scripts=true unstable=true install
airodump-ng-oui-updatesudo -sH
airmon-ng
airmon-ng start wlan1
airodump-ng mon0 -c 1aireplay-ng -9 mon0sudo -sH
airmon-zc
airmon-ng start wlan3
airodump-ng wlan3mon -c 1sudo apt-get install p7zip
sudo -sH
cd /opt
wget http://hashcat.net/files/oclHashcat-plus-0.14.7z
p7zip -d oclHashcat-plus-0.14.7z
mv /opt/oclHashcat-plus-0.14 /opt/oclHashcat-plus
cd /opt/oclHashcat-plussudo -sH
cd /opt/oclHashcat-plus
./cudaExample0.shsudo -sH
cd /optwget "http://downloads.sourceforge.net/project/cryptohaze/Cryptohaze-Linux_x64_1_31a.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fcryptohaze%2F%3Fsource%3Ddlp&ts=1368806028&use_mirror=nchc" -O Cryptohaze-Linux_x64_1_31a.tar.bz2tar -xjvf Cryptohaze-Linux_x64_1_31a.tar.bz2
rm Cryptohaze-Linux_x64_1_31a.tar.bz2
cd /opt/Cryptohaze-Linuxsudo -sH
cd /opt/Cryptohaze-Linuxsingle_charset" for the operation.nano single_charsetABCEDFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890~!@#$%^&*()_+|}{":?><`-=\][';/.,./Cryptohaze-Multiforcer -h SHA1 -f test_hashes/Hashes-SHA1-Full.txt -c single_charset --threads 512 --blocks 512 -m 500nomodeset" by pressing F6 on the purple screen with boot up menu. The boot up menu can be reached by pressing "Enter" or "Spacebar" when seeing a keybroad and a human figure on the bottom of the screen during the boot up.sudo add-apt-repository ppa:ginggs/backports
sudo apt-get update
sudo apt-get install nvidia-cuda-toolkitsudo -sH
mkdir /opt/make-pdf
cd /opt/make-pdf
wget http://didierstevens.com/files/software/make-pdf_V0_1_4.zip
unzip make-pdf_V0_1_4.zip
rm make-pdf_V0_1_4.zipsudo -sH
cd /opt/make-pdf
python make-pdf-embedded.py
python make-pdf-javascript.pysudo nano /etc/apt/sources.list.d/tor.listdeb http://deb.torproject.org/torproject.org precise mainsudo -sH
gpg --keyserver keys.gnupg.net --recv 886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
apt-get update
apt-get install deb.torproject.org-keyring
apt-get install tor tor-geoipdb vidalia privoxysudo nano /etc/privoxy/configforward-socks5 / 127.0.0.1:9050 .forward 192.168.*.*/ .sudo update-rc.d privoxy disable
sudo update-rc.d tor disable
sudo /etc/init.d/privoxy start
sudo /etc/init.d/tor startsudo apt-get install proxychainssudo nano /etc/proxychains.confsocks4 127.0.0.1 9050socks5 127.0.0.1 9050sudo apt-get update
sudo apt-get install wireshark
sudo dpkg-reconfigure wireshark-commonYes" to the pop-up which allow non-root users to capture the packets. You can consider to enable it but it is danger.sudo -sH
wiresharkstable" is version 5 while the "nightly builds" is version 6.sudo add-apt-repository ppa:openvas/stablesudo add-apt-repository ppa:openvas/nightlysudo apt-get update
sudo apt-get install openvas-scanner openvas-manager openvas-administrator greenbone-security-assistant openvas-cli openvas-check-setup gsd
sudo apt-get install xsltproc sqlite3sudo openvas-mkcertsudo openvas-nvt-syncsudo openvas-scapdata-sync-n is specified the tool doesn’t ask any questions and creates a certificate for the user "om". The -i parameter installs the certificate to be used with the OpenVAS manager.sudo openvas-mkcert-client -n om -isudo /etc/init.d/openvas-scanner stop
sudo /etc/init.d/openvas-manager stop
sudo /etc/init.d/openvas-administrator stop
sudo /etc/init.d/greenbone-security-assistant stopsudo openvassdsudo openvasmd --migrate
sudo openvasmd --rebuild
sudo killall openvassdsudo /etc/init.d/openvas-scanner start
sudo /etc/init.d/openvas-manager start
sudo /etc/init.d/openvas-administrator restart
sudo /etc/init.d/greenbone-security-assistant restartadmin" with the role of "Admin" :sudo openvasad -c add_user -n admin -r Adminsudo openvas-check-setupsudo openvas-check-setup --v6https://localhost:9392/sudo openvas-nvt-syncsudo -sH
nano /etc/init.d/openvas-startsudo /etc/init.d/openvas-scanner start
sudo /etc/init.d/openvas-manager start
sudo /etc/init.d/openvas-administrator restart
sudo /etc/init.d/greenbone-security-assistant restartchmod +x /etc/init.d/openvas-startsudo -sH
nano /etc/init.d/openvas-stopsudo /etc/init.d/openvas-scanner stop
sudo /etc/init.d/openvas-manager stop
sudo /etc/init.d/openvas-administrator stop
sudo /etc/init.d/greenbone-security-assistant stopchmod +x /etc/init.d/openvas-stopsudo update-rc.d openvas-scanner disable
sudo update-rc.d openvas-manager disable
sudo update-rc.d openvas-administrator disable
sudo update-rc.d greenbone-security-assistant disablesudo /etc/init.d/openvas-startsudo /etc/init.d/openvas-stopsudo apt-get install git
sudo -sH
cd /opt
git clone https://github.com/trustedsec/social-engineer-toolkit/ set/
cd /opt/set
python setup.py installsudo -sH
se-toolkitsudo apt-get install macchanger macchanger-gtkmacchanger eth0macchanger-gtksudo apt-get install nmap zenmap
sudo -sH
nmap -sC -PN -T4 samiux.comzenmapsudo -sH
cd /opt
wget http://garr.dl.sourceforge.net/sourceforge/netcat/netcat-0.7.1.tar.gz
tar -xvzf netcat-0.7.1.tar.gz
rm netcat-0.7.1.tar.gz
cd /opt/netcat-0.7.1
./configure
make
cd /opt
mkdir /opt/netcat
cp /opt/netcat-0.7.1/src/netcat /opt/netcat/
rm -R netcat-0.7.1/sudo -sH
cd /opt/netcat
./netcat -hsudo -sH
cd /opt
wget http://www.openwall.com/john/g/john-1.7.9-jumbo-7.tar.gz
tar -xvzf john-1.7.9-jumbo-7.tar.gz
mv john-1.7.9-jumbo-7 john
rm john-1.7.9-jumbo-7.tar.gzcd /opt/john/srcmake clean linux-x86-64make clean linux-x86-64-cudamake clean linux-x86-64-openclmake clean linux-x86-sse2make clean linux-x86-cudamake clean linux-x86-openclsudo -sH
cd /opt/john/run
./johnsudo apt-get install git
sudo -sH
cd /opt
git clone git://github.com/epinna/Weevely.gitsudo -sH
cd /opt/Weevely
./weevely.pysudo update-rc.d tntnet disable
sudo /etc/init.d/tntnet stopsudo apt-get install build-essential libc6-dev libssl-dev dpkg-dev debhelper fakeroot libxml2-dev libxslt1-dev
wget http://www.cmake.org/files/v2.8/cmake-2.8.10.2.tar.gz
tar -xvzf cmake-2.8.10.2.tar.gz
cd cmake-2.8.10.2
./configure
make
sudo make install
wget http://www.hiawatha-webserver.org/files/hiawatha-9.1.tar.gz
tar -xzvf hiawatha-9.1.tar.gz
cd hiawatha-9.1/extra
./make_debian_package
cd ..
sudo dpkg -i hiawatha_9.1_amd64.debsudo dpkg -i hiawatha_9.1_i386.deb
In case the init script does not at /etc/init.d/, you need to copy it manully.
sudo cp hiawatha-9.1/extra/debian/init.d/hiawatha /etc/init.d/update-rc.d hiawatha disablesudo /etc/init.d/hiawatha startsudo /etc/init.d/hiawatha stophttp://pentestmonkey.net/category/tools/web-shellssudo -sH
cd /opt
wget http://pentestmonkey.net/tools/php-reverse-shell/php-reverse-shell-1.0.tar.gz
tar -xvzf php-reverse-shell-1.0.tar.gz
mv php-reverse-shell-1.0 php-reverse-shell
rm php-reverse-shell-1.0.tar.gz
cp php-reverse-shell.php /var/www/hiawatha/sudo apt-get install libssl-dev libssh-dev libidn11-dev libpcre3-dev libgtk2.0-dev libmysqlclient-dev libpq-dev libsvn-dev firebird2.1-dev libncp-dev libncurses5-devsudo -sH
cd /opt
wget http://www.thc.org/releases/hydra-7.4.2.tar.gz
tar -xvzf hydra-7.4.2.tar.gz
mv hydra-7.4.2 hydra
rm hydra-7.4.2.tar.gz
cd /opt/hydra
./configure
make
make installxhydrahydrasudo -sH
cd /opt
mkdir burpsuite
cd /opt/burpsuite
wget http://portswigger.net/burp/burpsuite_free_v1.5.jarsudo -sH
cd /opt/burpsuite
java -jar burpsuite_free_v1.5.jarsudo apt-get install openjdk-7-jre-lib openjdk-7-jre-headless openjdk-7-jre icedtea-7-jre-jamvm icedtea-7-jre-cacao icedtea-7-pluginsudo update-alternatives --config javawget http://zaproxy.googlecode.com/files/ZAP_2.1.0_Linux.tar.gz
tar -xzvf ZAP_2.1.0_Linux.tar.gz
sudo cp -Ra ZAP_2.1.0 /opt/zaproxysudo -sH
cd /opt/zaproxy
./zap.shsudo apt-get install freemind freemind-browser freemind-doc freemind-plugins-svg freemind-plugins-script freemind-plugins-helpfreemindsudo -sH
cd /opt
apt-get install subversion
svn checkout http://slowhttptest.googlecode.com/svn/trunk/ slowhttptest
cd /opt/slowhttptest
./configure
make
make installslowhttptest -hcd /opt/slowhttptest
sudo make uninstallsudo -sH
cd /opt
apt-get install git
git clone git://github.com/sqlmapproject/sqlmap.gitsudo -sH
cd /opt
python sqlmap.pysudo -sH
cd /opt
apt-get update
apt-get install git build-essential
git clone https://github.com/andresriancho/w3af.git
apt-get install python2.7-dev python-setuptools python-pip
pip install PyGithub GitPython pybloomfiltermmap esmre nltk pdfminer futures scapy-real guess-language cluster msgpack-python python-ntlm
pip install -e git+git://github.com/ramen/phply.git#egg=phply
apt-get install graphviz python-gtksourceview2
pip install xdotsudo -sH
cd /opt/w3af
./w3af_gui./w3af_consoleConfiguration" -- "Miscellaneous" -- "Metasploit"./opt/metasploit/app//opt/metasploit/apps/pro/msf3/sudo apt-get install ruby1.9.1 build-essentialwget http://downloads.metasploit.com/data/releases/metasploit-latest-linux-x64-installer.run
chmod +x metasploit-latest-linux-x64-installer.run
sudo ./metasploit-latest-linux-x64-installer.runwget http://downloads.metasploit.com/data/releases/metasploit-latest-linux-x32-installer.run
chmod +x metasploit-latest-linux-x32-installer.run
sudo ./metasploit-latest-linux-x32-installer.run/opt/metasploit. Select to install Metasploit as service.https://localhost/:3790sudo update-rc.d metasploit disablesudo -sH
/etc/init.d/metasploit start
cd /opt/metasploit/app
sudo msfconsolesudo -sH
/etc/init.d/metasploit start
cd /opt/metasploit/app
msfupdatesudo /opt/metasploit/ctlscript.sh startnano beef/extensions/metasploit/config.yamlhost", "callback_host" and "msf_path". Where the last entry at "msf_path" should be the path of the Metasploit.host", you can keep it as 127.0.0.1. However, you need to change the "callback_host" as it is the reverse connection IP address and it should be a public IP address.nano beef/config.yamlsudo /etc/init.d/metasploit start
cd /opt/metasploit/app
sudo msfconsole
db_connectload msgrpc ServerHost=127.0.0.1 Pass=abc123cd beef
./beefhttp://192.168.1.102:3000/ui/panelsudo apt-get install libwww-perl libwww-mechanize-perlsudo -sH
cd /opt
wget "http://downloads.sourceforge.net/project/joomscan/joomscan/2012-03-10/joomscan-latest.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fjoomscan%2F%3Fsource%3Ddlp&ts=1368806935&use_mirror=ncu" -O joomscan-latest.zipsudo -sH
cd /opt
mkdir joomscan
cp joomscan-latest.zip /opt/joomscan/
rm joomscan-latest.zip
cd /opt/joomscan
unzip joomscan-latest.zipsudo -sH
cd /opt/joomscan
perl joomscan.pl -u http://www.samiux.comsudo -sH
cd /opt/joomscan
perl joomscan.pl updatesudo apt-get install git libcurl4-gnutls-dev libruby libxml2 libxml2-dev libxslt1-dev ruby1.9.1-dev
sudo -sH
cd /opt
git clone https://github.com/wpscanteam/wpscan.git
cd wpscan
sudo gem install bundler
sudo bundle install --without test developementsudo -sH
cd /opt/wpscan
./wpscan.rb --url http://www.samiux.comsudo -sH
cd /opt/wpscan
./wpscan.rb --updatesudo -sH
cd /opt
apt-get install git
git clone git://github.com/beefproject/beef.gitcd beef
sudo apt-get install ruby1.9.1-dev libsqlite3-dev sqlite3 sqlite3-doc build-essentail
sudo gem install bundler
sudo bundle installsudo -sH
cd /opt/beef
./beefhttp://[your IP address]:3000/ui/panelsudo -sH
cd /opt/beef
./update-beef