Make sure you are using x86_64 Ubuntu system.
sudo apt-get install build-essential gcc-multilib
Step 2 :
Suppose you are using x86_64 system and want to compile a x86 version software.
gcc -m32 test.c -o test
file test
That'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-multilib
gcc -m32 test.c -o test
file test
wget http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin
wget http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-sysupgrade.bin
IP address : 192.168.0.10
Gateway : 192.168.0.1
192.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.1
System
" -- "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 -lroot
opkg update
opkg install kmod-usb-storage
opkg install kmod-fs-ext4
opkg install block-mount
mkdir -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 start
vi /etc/config/fstab
config 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 1
reboot
/
" or not :mount
df
mkdir 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.1
sudo apt-get install squashfs-tools
upgrade-2.8.1.bin
:unsquashfs upgrade-2.8.1.bin
cd squashfs-root
sudo 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.sh
sudo ./killwp4.sh
wp4.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.bin
wget http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-sysupgrade.bin
IP address : 192.168.0.10
Gateway : 192.168.0.1
192.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 -lroot
opkg update
opkg install kmod-usb-storage
opkg install kmod-fs-ext4
opkg install block-mount
mkdir -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 start
vi /etc/config/fstab
config 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 1
reboot
/
" or not :mount
df
opkg 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/.SEQ
wget http://wifipineapple.com/index.php?downloads&downloadUpgrade=2.8.1
sudo apt-get install squashfs-tools
upgrade-2.8.1.bin
:unsquashfs upgrade-2.8.1.bin
cd squashfs-root
scp /home/samiux/test/squashfs-root/usr/sbin/wpad root@192.168.1.100:/usr/sbin
scp /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/pineapple
grep -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:/etc
scp /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 -lroot
touch index.php /www/
mv /pineapple/pages/upgrade.php /pineapple/pages/not-upgrade.php
touch /pineapple/pages/upgrade.php
nano /etc/rc.local
hostapd_cli -p /var/run/hostapd-phy0 karma_enable
vi /etc/config/httpd.conf
/:root:$p$root
reboot
http://172.16.42.1:1471
root
" 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.sh
sudo ./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-system
wget "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.deb
wget "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.deb
sudo dpkg -i Nessus-5.2.1-ubuntu1110_i386.deb
sudo dpkg -i Nessus-5.2.1-ubuntu1110_adm64.deb
http://www.tenable.com/products/nessus/nessus-homefeed
sudo /etc/init.d/nessusd start
https://localhost:8834/
sudo update-rc.d nessusd disable
sudo /etc/init.d/nessusd start
https://localhost:8834/
sudo apt-get update
sudo apt-get install libqt4-dev libboost1.48-all-dev subversion
sudo -sH
cd /opt
svn checkout http://edb-debugger.googlecode.com/svn/trunk/ edb-debugger
cd edb-debugger
qmake
make
make install
sudo -sH
edb
Preferences -- Directories
Symbol Directory : /opt/edb-debugger
Plugin Directory : /lib64/edb
Session Directory : /opt/edb-debugger
sudo apt-get install subversion
sudo -sH
cd /opt
svn checkout http://metagoofil.googlecode.com/svn/trunk/ metagoofil
cd metagoofil
sudo -sH
cd /opt/metagoofil
python metagoofil.py -d samiux.com -t doc,pdf -l 200 -n 50 -o samiuxfiles -f results.html
sudo 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.txt
sudo -sH
cd /opt/fierce
perl fierce.pl -dns samiux.com -wordlist hosts.txt -file output.txt
sudo apt-get install subversion
sudo -sH
cd /opt
svn checkout http://theharvester.googlecode.com/svn/trunk/ theharvester
cd /opt/theharvester
sudo -sH
cd /opt/theharvester
python theharvester.py -d microsoft.com -l 500 -b google
sudo 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 /pentest
sudo -sH
cd /opt/crunch
./crunch
sudo 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 install
wash -h
reaver -h
sudo apt-get install build-essential sqlite3 subversion ethtool
sudo -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-update
sudo -sH
airmon-ng
airmon-ng start wlan1
airodump-ng mon0 -c 1
aireplay-ng -9 mon0
sudo -sH
airmon-zc
airmon-ng start wlan3
airodump-ng wlan3mon -c 1
sudo 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-plus
sudo -sH
cd /opt/oclHashcat-plus
./cudaExample0.sh
sudo -sH
cd /opt
wget "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.bz2
tar -xjvf Cryptohaze-Linux_x64_1_31a.tar.bz2
rm Cryptohaze-Linux_x64_1_31a.tar.bz2
cd /opt/Cryptohaze-Linux
sudo -sH
cd /opt/Cryptohaze-Linux
single_charset
" for the operation.nano single_charset
ABCEDFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890~!@#$%^&*()_+|}{":?><`-=\][';/.,
./Cryptohaze-Multiforcer -h SHA1 -f test_hashes/Hashes-SHA1-Full.txt -c single_charset --threads 512 --blocks 512 -m 500
nomodeset
" 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-toolkit
sudo -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.zip
sudo -sH
cd /opt/make-pdf
python make-pdf-embedded.py
python make-pdf-javascript.py
sudo nano /etc/apt/sources.list.d/tor.list
deb http://deb.torproject.org/torproject.org precise main
sudo -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 privoxy
sudo nano /etc/privoxy/config
forward-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 start
sudo apt-get install proxychains
sudo nano /etc/proxychains.conf
socks4 127.0.0.1 9050
socks5 127.0.0.1 9050
sudo apt-get update
sudo apt-get install wireshark
sudo dpkg-reconfigure wireshark-common
Yes
" 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
wireshark
stable
" is version 5 while the "nightly builds
" is version 6.sudo add-apt-repository ppa:openvas/stable
sudo add-apt-repository ppa:openvas/nightly
sudo 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 sqlite3
sudo openvas-mkcert
sudo openvas-nvt-sync
sudo 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 -i
sudo /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 stop
sudo openvassd
sudo openvasmd --migrate
sudo openvasmd --rebuild
sudo killall openvassd
sudo /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 restart
admin
" with the role of "Admin
" :sudo openvasad -c add_user -n admin -r Admin
sudo openvas-check-setup
sudo openvas-check-setup --v6
https://localhost:9392/
sudo openvas-nvt-sync
sudo -sH
nano /etc/init.d/openvas-start
sudo /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 restart
chmod +x /etc/init.d/openvas-start
sudo -sH
nano /etc/init.d/openvas-stop
sudo /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 stop
chmod +x /etc/init.d/openvas-stop
sudo 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 disable
sudo /etc/init.d/openvas-start
sudo /etc/init.d/openvas-stop
sudo apt-get install git
sudo -sH
cd /opt
git clone https://github.com/trustedsec/social-engineer-toolkit/ set/
cd /opt/set
python setup.py install
sudo -sH
se-toolkit
sudo apt-get install macchanger macchanger-gtk
macchanger eth0
macchanger-gtk
sudo apt-get install nmap zenmap
sudo -sH
nmap -sC -PN -T4 samiux.com
zenmap
sudo -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 -h
sudo -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.gz
cd /opt/john/src
make clean linux-x86-64
make clean linux-x86-64-cuda
make clean linux-x86-64-opencl
make clean linux-x86-sse2
make clean linux-x86-cuda
make clean linux-x86-opencl
sudo -sH
cd /opt/john/run
./john
sudo apt-get install git
sudo -sH
cd /opt
git clone git://github.com/epinna/Weevely.git
sudo -sH
cd /opt/Weevely
./weevely.py
sudo update-rc.d tntnet disable
sudo /etc/init.d/tntnet stop
sudo 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.deb
sudo 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 disable
sudo /etc/init.d/hiawatha start
sudo /etc/init.d/hiawatha stop
http://pentestmonkey.net/category/tools/web-shells
sudo -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-dev
sudo -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 install
xhydra
hydra
sudo -sH
cd /opt
mkdir burpsuite
cd /opt/burpsuite
wget http://portswigger.net/burp/burpsuite_free_v1.5.jar
sudo -sH
cd /opt/burpsuite
java -jar burpsuite_free_v1.5.jar
sudo apt-get install openjdk-7-jre-lib openjdk-7-jre-headless openjdk-7-jre icedtea-7-jre-jamvm icedtea-7-jre-cacao icedtea-7-plugin
sudo update-alternatives --config java
wget 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/zaproxy
sudo -sH
cd /opt/zaproxy
./zap.sh
sudo apt-get install freemind freemind-browser freemind-doc freemind-plugins-svg freemind-plugins-script freemind-plugins-help
freemind
sudo -sH
cd /opt
apt-get install subversion
svn checkout http://slowhttptest.googlecode.com/svn/trunk/ slowhttptest
cd /opt/slowhttptest
./configure
make
make install
slowhttptest -h
cd /opt/slowhttptest
sudo make uninstall
sudo -sH
cd /opt
apt-get install git
git clone git://github.com/sqlmapproject/sqlmap.git
sudo -sH
cd /opt
python sqlmap.py
sudo -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 xdot
sudo -sH
cd /opt/w3af
./w3af_gui
./w3af_console
Configuration
" -- "Miscellaneous
" -- "Metasploit
"./opt/metasploit/app/
/opt/metasploit/apps/pro/msf3/
sudo apt-get install ruby1.9.1 build-essential
wget 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.run
wget 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/:3790
sudo update-rc.d metasploit disable
sudo -sH
/etc/init.d/metasploit start
cd /opt/metasploit/app
sudo msfconsole
sudo -sH
/etc/init.d/metasploit start
cd /opt/metasploit/app
msfupdate
sudo /opt/metasploit/ctlscript.sh start
nano beef/extensions/metasploit/config.yaml
host
", "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.yaml
sudo /etc/init.d/metasploit start
cd /opt/metasploit/app
sudo msfconsole
db_connect
load msgrpc ServerHost=127.0.0.1 Pass=abc123
cd beef
./beef
http://192.168.1.102:3000/ui/panel
sudo apt-get install libwww-perl libwww-mechanize-perl
sudo -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.zip
sudo -sH
cd /opt
mkdir joomscan
cp joomscan-latest.zip /opt/joomscan/
rm joomscan-latest.zip
cd /opt/joomscan
unzip joomscan-latest.zip
sudo -sH
cd /opt/joomscan
perl joomscan.pl -u http://www.samiux.com
sudo -sH
cd /opt/joomscan
perl joomscan.pl update
sudo 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 developement
sudo -sH
cd /opt/wpscan
./wpscan.rb --url http://www.samiux.com
sudo -sH
cd /opt/wpscan
./wpscan.rb --update
sudo -sH
cd /opt
apt-get install git
git clone git://github.com/beefproject/beef.git
cd beef
sudo apt-get install ruby1.9.1-dev libsqlite3-dev sqlite3 sqlite3-doc build-essentail
sudo gem install bundler
sudo bundle install
sudo -sH
cd /opt/beef
./beef
http://[your IP address]:3000/ui/panel
sudo -sH
cd /opt/beef
./update-beef