Advertising
- Script kid Cheat sheet
- Monday, September 7th, 2009 at 3:20:38am MDT
- whois whois -a TARGETIP
- host host TARGETIP
- host reverse host -la TARGETIP
- host bind host -t txt -c chaos version.bind TARGETIP
- host bind dns host -t txt -c chaos version.bind DNSIP
- dig any dig DOMAIN any
- dig www dig www DOMAIN
- dig tcp any dig @TARGETIP DOMAIN any
- dig udp any dig notcp @TARGETIP DOMAIN any
- dig axfr dig @TARGETIP DOMAIN axfr
- dig @dns tcp any dig @DNSIP DOMAIN any
- dig @dns udp any dig notcp @DNSIP DOMAIN any
- dig bind dig @TARGETIP version.bind txt chaos
- dig bind dns dig @DNSIP version.bind txt chaos
- dig @dns axfr dig @DNSIP DOMAIN axfr
- dig recursive dig @TARGETIP xyz.com
- nmap protocols nmap -sO -P0 (-p 2) -n -v TARGETIP
- nmap icmp echo request nmap -sP -PB -n -v TARGETIP
- nmap icmp echo request ipv6 nmap -sP -PB -6 -n -v TARGETIP
- nmap icmp tstamp nmap -PP -n -v TARGETIP
- nmap icmp mask nmap -PM -n -v TARGETIP
- nmap tcp syn ping 80 nmap -PS -p 80 -n -v TARGETIP
- nmap tcp syn ping 443 nmap -PS -p 443 -n -v TARGETIP
- nmap tcp syn ping 25 nmap -PS -p 25 -n -v TARGETIP
- nmap tcp syn ping 79 nmap -PS -p 79 -n -v TARGETIP
- nmap udp ping 53 nmap -PU -p 53 -n -v TARGETIP
- nmap udp ping 500 nmap -PU -p 500 -n -v TARGETIP
- nmap packettrace nmap -sS -P0 -p- -n -v TARGETIP --packet_trace
- nmap size + nmap -sS -P0 -ff -n -v --data-length 956 -p 443 TARGETIP
- nmap scanflags nmap -n -v --scanflags SYNACKFINRSTURGPSH -p PORT TARGETIP
- nmap bad chksum nmap -sS -P0 -p- -n -v TARGETIP --badsum
- ping ttl ping -t 15 TARGETIP
- ping size ping -s 3000 TARGETIP
- ping no frag ping -M do -s 64 TARGETIP
- ping do frag ping -M dont -s 64 TRAGETIP
- arping arping -c 1 TARGETIP
- hping2 tcp syn 80 hping2 -c 1 -p 80 -S TARGETIP
- hping2 tcp syn 443 hping2 -c 1 -p 443 -S TARGETIP
- hping2 tcp syn 25 hping2 -c 1 -p 25 -S TARGETIP
- hping2 tcp syn 99 hping2 -c 1 -p 99 -S TARGETIP
- hping2 udp 53 hping2 -2 -c 1 -p 53 TARGETIP
- hping2 udp 500 hping2 -2 -c 1 -p 500 TARGETIP
- hping2 tcp timestamp hping2 -S -c 3 -p 80 --tcp-timestamp TARGETIP
- hping2 icmp hping2 -c 3 -C xx -K xx --force-icmp TARGETIP
- hping2 icmp force hping2 -c 3 -C xx -K xx --force-icmp TARGETIP
- hping2 bad chksum hping2 -c 3 -b -C xx -K xx TARGETIP
- hping2 ttl expired hping2 -c 3 -C 11 -K 00 -1 TARGETIP
- sing icmp echo request sing -echo -c 1 TARGETIP
- sing icmp mask sing -mask -c 1 TARGETIP
- sing icmp tstamp sing -tstamp -c 1 TARGETIP
- sing icmp info sing -info -c 1 TARGETIP
- sing icmp router solicitation sing -rts -c 1 TARGETIP
- sing icmp source quench sing -sq -c 1 TARGETIP
- sing icmp echo reply sing -reply -c 1 TARGETIP
- sing param sing -param -c 1 TARGETIP
- sing time exceed sing -tx -c 1 TARGETIP
- sing special sing -c 3 -TOS 50 TARGETIP
- sing router garbage sing -v -c 2 -T 1 -s 10000 -M cisco TARGETIP
- traceroute udp traceroute -v TARGETIP
- traceroute icmp traceroute -v -I TARGETIP
- traceroute from hop 5 traceroute -v -f 5 TARGETIP
- traceroute no frag traceroute -F -v TARGETIP
- traceroute spoofport traceroute -g 53 -v TARGETIP
- tcptraceroute tcptraceroute TARGETIP PORT
- tcptraceroute nat tcptraceroute -q1 -f1 --track-port --dnat TARGETIP PORT
- hping2 trace tcp 80 hping2 -c 25 -p 80 -S -T TARGETIP
- hping2 trace tcp 79 hping2 -c 25 -p 25 -S -T TARGETIP
- hping2 trace tcp 443 hping2 -c 25 -p 443 -S -T TARGETIP
- hping2 trace tcp 25 hping2 -c 25 -p 25 -S -T TARGETIP
- hping2 trace udp hping2 -c 25 -2 -T TARGETIP
- hping2 trace udp 53 hping2 -c 25 -p 53 -2 -T TARGETIP
- hping2 trace udp 500 hping2 -c 25 -p 500 -2 -T TARGETIP
- hping2 trace icmp hping2 -c 25 -1 -T TARGETIP
- hping2 ttl expired hping2 -c 3 -C 11 -K 00 -1 TARGETIP
- hping2 badsum hping2 -c 3 -C 08 -K 00 -b -1 TARGETIP
- hping2 finpshurg hping2 -FPU -c 1 -p 22 TARGETIP
- hping2 lowlevel hping2 -V -S --scan 80,443 -n TARGETIP
- hping2 syn 1024 hping2 -c 1 -S -p 443 -d 984 TARGETIP
- isnprober 80 isnprober.pl -n 10 -w 2 TARGETIP:80
- isnprober 443 isnprober.pl -n 10 -w 2 TARGETIP:443
- isnprober ipid 80 isnprober.pl -n 10 -w 2 --ipid TARGETIP:80
- isnprober ipid 443 isnprober.pl -n 10 -w 2 --ipid TARGETIP:443
- nmap connect nmap -sT -A -P0 -p- -T4 -n -v TARGETIP
- nmap syn nmap -sS -A -P0 -p- -T2 -n -v TARGETIP
- nmap protocol nmap -sO -P0 -T4 -n -v TARGETIP
- nmap xmas nmap -sX -T4 -n -v TARGETIP
- nmap ack nmap -sA -P0 -p 80,443 -T4 -n -v TARGETIP
- nmap fin nmap -sF -P0 -p 80,443 -T4 -n -v TARGETIP
- nmap frag nmap -sS -P0 -f -F -T4 -n -v TARGETIP
- nmap pushy nmap -sS --scanflags URGPSH -P0 -F -T4 -n -v TARGETIP
- nmap packettrace nmap -sS -P0 -F -n -v TARGETIP --packet_trace
- nmap maimon nmap -sM -P0 -F -n -v TARGETIP
- nmap window nmap -sW -P0 -F -n -v TARGETIP
- nmap rst from ftp nmap -sS --scanflags RST -P0 -g 21 -F -n -v TARGETIP
- nmap fin/ack nmap --scanflags ACKFIN -P0 -F -n -v TARGETIP
- nmap full nmap -sS -sR -sV -A -O -PI -PP -PM -PT80 -PS80 -PU53 -n -v -d -e eth0 TARGETIP
- nmap spoofed tcp nmap -A -P0 -p- -T4 -n -v -S SPOOFIP TARGETIP
- nmap spoofed udp nmap -sU -A -P0 -p- -T4 -n -v -S SPOOFIP TARGETIP
- nmap spoofed port udp nmap -sU -P0 -p- -g 53 -T4 -n -v TARGETIP
- nmap udp bad checksum nmap -sU -P0 -p- -T4 -n -v --badsum TARGETIP
- nmap syn 1024 nmap -sS -P0 -p 443 --data-length 980 TARGETIP --packet_trace
- nmap syn nmap -A -P0 -p- -T4 -n -v -oM nmap-tcp TARGETIP
- nmap udp full nmap -sU -A -P0 -p- -T4 -n -v -oM nmap-udp TARGETIP
- nmap udp basic nmap -sU -A -P0 -F -T4 -n -v -oM nmap-udp TARGETIP
- nwrap oprp perl nwrap.pl '-P0 -nv -p- IP' (http://www.isecom.info/mirror/oprp.zip)
- unicornscan tcp unicornscan -i eth0 -mT TARGETIP/32:a -Ir 50
- unicornscan udp unicornscan -i eth0 -mU TARGETIP/32:a -Ir 50
- unicornscan ack dns unicornscan -mTsA -v TARGETIP/32:q -B 53 -Ir 50
- unicornscan fin unicornscan -mTsF -v TARGETNET/24:q -Ir 50
- xprobe2 xprobe2 -v TARGETIP
- amap tcp amap -AbqvH -c 1 -i nmap-tcp
- amap udp amap -AbqvHu -c 1 -i nmap-udp
- nikto port 80 nikto -D V -host TARGETIP
- nikto port 443 ssl nikto -D V -port 443 -ssl -host TARGETIP
- netcraft echo "`lynx -dump -crawl http://www.netcraft.com/whats/?host=IP | egrep -A1 "is running"`"
- http get 80 echo -e "GET HTTP/1.0\n\n" | nc -vv TARGETIP 80
- http get 443 echo -e "GET HTTP/1.0\n\n" | openssl s_client -quiet -connect TARGETIP:443
- http methods echo -e "OPTIONS * HTTP/1.0\n\n\n" | nc TARGETIP 80
- http head echo -e "HEAD / HTTP/1.0\n\n\n" | nc TARGETIP 80
- screamcobra perl screamingCobra.pl -v TARGETIP
- scanudp scanudp -t 10 -b512 -v TARGETIP
- rpcinfo rpcinfo -p TARGETIP
- showmount showmount -a TARGETIP
- showmount exports showmount -e TARGETIP
- dcetest dcetest TARGETIP
- nbtscan nbtscan -v -h TARGETIP
- smb list smbclient -L TARGETIP
- snmpwalk v1 snmpwalk -c public -v1 TARGETIP
- snmpwalk v2c snmpwalk -c public -v2c TARGETIP
- snmpwalk v3 snmpwalk -c public -v3 TARGETIP
- snmpwalk v1 port snmpwalk -c public -v1 TARGETIP:PORT
- scandns echo TARGETIP | scandns.pl -
- ldap whoami ldapwhoami -x -D "cn=Manager,dc=example,dc=com" -W -H TARGETIP
- ldap search ldapsearch -LLL "(sn=*)" cn sn * -H TARGETIP
- nemesis icmp netmask nemesis icmp -qM TARGETIP
- nemesis icmp tstamp nemesis icmp -qT TARGETIP
- nemesis icmp nemesis -i 17 -c 00 TARGETIP
- ike-scan ike-scan -v TARGETIP
- ike-scan showbackoff ike-scan -v --showbackoff TARGETIP
- ike-scan aggressive ike-scan -v -A TARGETIP
- ike-scan auth cisco ike-scan -v --auth=1 TARGETIP
- ike-scan auth rsa ike-scan -v --auth=3 TARGETIP
- ike-scan auth checkpoint ike-scan -v --auth=64221 TARGETIP
- ike-scan auth windows ike-scan -v --auth=65001 TARGETIP
- ike-probe wine ikeprobe.exe TARGETIP
- scanrand scanrand -b512K TARGETIP:all
- paratrace paratrace -b100k -t 5 TARGETIP
- lsrscan lsrscan -p PORT TARGETIP
- lsrtunnel lsrtunnel -i EMPTYIP -t TARGETIP -f SPOOFIP
- firewalk tcp firewalk -n -P1-8 -pTCP -s 20 -S 1-1023 -t 1 -d 33434 -T 100 TARGETIP METRICIP
- firewalk udp firewalk -n -P1-8 -pUDP -s 53 -S 1-1023 -t 1 -d 33434 -T 100 TARGETIP METRICIP
- oracle version tnscmd version -h TARGETIP -p 1521
- oracle status tnscmd status -h TARGETIP -p 1521 --indent
- Nessus NASL /opt/nessus/bin/nasl -t TARGETIP osstmm_afd.nasl
- Nessus CMD-Line NessusClient -q -V -x -c nessusrc -T nbe -q localhost 1241 user pass targets.txt FILE.nbe
- Nessus Merge cat *.nbe > fullnessus.nbe
- Nessus HTML-Graph NessusClient -T html_graph -i fullnessus.nbe -o fullnessus
- AFD afd --config /path/to/osstmm-afd.cfg -P HTTP -p 80 -t TARGETIP -! -v
- http-ips-detect.pl (valgrind) perl http-ips-detect.pl eth0 TARGETIP mode 0(or 1) 80
- hydra hydra -l administrator -p password TARGETIP SERVICE
- p0f (nat-detect) p0f -M -A -T 10
- gwhois gwhois TARGETIP
- virtual hosting ping http://www.xyz.com && browser TARGETIP
- virtual hosting echo -e "GET / HTTP/1.0\nHOST: http://www.xyz.com\n\n\n" | nc TARGETIP 80
- download speed time wget http://www.xyz.com/large.pdf
- Other Stuff
- ===========
- print date+ as filename: log=`date +%Y%m%d_%k%M`_$1.log
- redirect output + tee: TOOL 2>&1 | tee -a $log
- script start: script FILENAME.txt
- log ip: ifconfig eth0 > file.txt
- log route: route > file.txt
- tcpdump host: tcpdump -i ethX -n -vvv -s0 -XX -w FILE host X.X.X.X
- tcpdump net: tcpdump -i ethX -n -vvv -s0 -XX -w FILE net X.X.X.X/24
- tcpdump grep: tcpdump -i ethX -n -vvv host TARGETIP | grep ">"
- nmap protocols: cat /usr/share/nmap/nmap-protocols
- nmap services: cat /usr/share/nmap/nmap-services
- Links (online research)
- =====
- exploits http://cve.mitre.org/cve
- virtual hosting http://live.search.com -> ip:X.X.X.X
- dns checker http://www.dnscheck.se
- internet tools http://www.demon.net/external/
- network tools http://network-tools.com/
- netcraft http://searchdns.netcraft.com/
- traceroute http://www.traceroute.org
- dns north america http://www.arin.net
- dns asia http://www.apnic.net
- dns europe/africa http://www.ripe.net
- ripe whois http://www.db.ripe.net/fcgi-bin/whois
- ripe free search http://www.db.ripe.net/db/whois-free.html
- Ports
- =====
- ICMP T00:C00,T05:C00,T04:C00,T05:C01,T08:C00,T11:C00,T13:C00,T15:C00,T17:C00,T30:C00
- TCP 0,1,7,8,11,15,19,20,21,22,23,25,42,43,53,79,80,88,98,109,110,111,113,119,135,137,138,139,143,
- 179,264,389,443,445,464,465,512,513,514,515,540,554,593,631,636,706,873,993,994,995,1080,1352,
- 1433,1434,1494,1521,1526,1541,1701,1720,1723,1999,2301,2401,2433,2638,3128,3286,3269,3306,3372,
- 3389,4110,4321,4480,5000,5432,5631,5632,5800,5900,6000,6103,6112,6588,6667,7100,8080,8890,9100,
- 10001,12001,33333,65535
- 100 7,9,13,21-23,25-26,37,53,79-81,88,106,110-111,113,119,135,139,143-144,179,199,389,427,443-445,
- 465,513-515,543-544,548,554,587,631,646,873,990,993,995,1025-1029,1110,1433,1720,1723,1755,1900,
- 2000-2001,2049,2121,2717,3000,3128,3306,3389,3986,4899,5000,5009,5051,5060,5101,5190,5357,5432,
- 5631,5666,5800,5900,6000-6001,6646,7070,8000,8008-8009,8080-8081,8443,8888,9100,9999-10000,32768,
- 49152-49157
- UDP 0,1,7,8,11,15,19,53,67,68,69,111,123,135,137,138,161,445,500,513,514,520,1434,1900,2049,4045,
- 5020,10001,12001,33333,65535
- 100 7,9,17,19,49,53,67-69,80,88,111,120,123,135-139,158,161-162,177,427,443,445,497,500,514-515,518,
- 520,593,623,626,631,996-999,1022-1023,1025-1030,1433-1434,1645-1646,1701,1718-1719,1812-1813,1900,
- 2000,2048-2049,2222-2223,3283,3456,3703,4444,4500,5000,5060,5353,5632,9200,10000,17185,20031,30718,
- 31337,32768-32769,32771,32815,33281,49152-49154,49156,49181-49182,49185-49186,49188,49190-49194,
- 49200-49201,65024
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.