First Contact

This section should contain the preliminary things to do as soon as you are in.

  • Run netdiscover in passive mode in another console:
netdiscover -p
  • Get msfconsole up and running:
service postgresql start && msfdb init && msfconsole
  • Within msfconsole, create a new workspace:
workspace -a NEW_WORKSPACE
workspace NEW_WORKSPACE
  • Use msfconsole nmap wrapper:
db_nmap -n -p T:80,443 -T4 -Pn -sS -sV xxx.xxx.xxx.xxx
db_nmap -n -p T:25,135,137,139,445,1433,3306,5432,U:137,161,162,1434 -T4 -Pn -sS -sV xxx.xxx.xxx.xxx
db_nmap -n -p T:23,21,22,110,111,2049,3389,8080,U:500,5060 -T4 -Pn -sS -sV xxx.xxx.xxx.xxx
db_nmap -n -p T:0-20,24,26-79,81-109,112-134,136,138,140-442,444,446-1432,1434 -T4 -Pn -sS -sV xxx.xxx.xxx.xxx
db_nmap -n -p T:2050-3305,3307-3388 -T4 -Pn -sS -sV xxx.xxx.xxx.xxx
db_nmap -n -p T:3390-5431 -T4 -Pn -sS -sV xxx.xxx.xxx.xxx
db_nmap -n -p T:5433-8079 -T4 -Pn -sS -sV xxx.xxx.xxx.xxx
db_nmap -n -p T:8081-15999 -T4 -Pn -sS -sV xxx.xxx.xxx.xxx
db_nmap -n -p T:16000-25999 -T4 -Pn -sS -sV xxx.xxx.xxx.xxx 
db_nmap -n -p T:26000-29999 -T4 -Pn -sS -sV xxx.xxx.xxx.xxx
db_nmap -n -p T:30000-65535 -T4 -Pn -sS -sV xxx.xxx.xxx.xxx
db_nmap -sU -n --top-ports 10000 -T4 -Pn -sV xxx.xxx.xxx.xxx