This article contains the following aspects:
1.Metasploit Port Scan:
2. use other modules
3.metasploit SMB Get System Information
4.Metsploit Service Identification
5.ftp Identification:
6.metasploit Password Sniffing
8.metasploit SMB Login Check
9.metasploit VNC Identity Verification
10.metasploit WMAP Web Scan
1.Metasploit Port Scan:
Enter Msfconsole in the terminal or select Metasploit directly from the application
Enter Msf>nmap-v-SV 192.168.126.128 the same as Nmap results
With MSF module, MSF>:
Search Portscan
Use Auxiliary/scanner/portscan/syn
Show options
Set INTERFACE etho0 setting NIC
Set port 445 setting scan port
Set RHOSTS 192.168.126.0/24 IP address
Set THREADS 100 Setting thread
Run
The results
Exit exits
Quit quit the previous step
2. use other modules
Use Auxiliary/scanner/portscan/tcp
Show options
Set ...
Run
3.metasploit SMB Get System Information
Use Auxiliary/scanner/smb/smb_version
Set RHOSTS IP or segment
Run
The results
4.Metsploit Service Identification
SSH Service Identification:
Use Auxiliary/scanner/ssh/ssh_version
Show options
Set RHOSTS ip1 ip2
Run
The results
5.ftp Identification:
Use Auxiliary/scanner/ftp/ftp_version
Show options
Set RHOSTS IP setting destination IP address
Run
The results
6.metasploit Password Sniffing
Use Auxiliary/sniffer/psnuffle
Show options
Run
As long as the FTP login will find
7.metasploit SNMP scanning and enumeration
Simple Network Management Protocol (SNMP)
Search SNMP
Scanning:
Use Auxiliary/scanner/snmp/snmp_login
Set options
Set RHOSTS IP or segment
Set THREADS 10
Run
Enumeration:
Use Auxiliary/scanner/snmp/snmp_enum
Set RHOSTS IP
SET THREADS 10
Run
8.metasploit SMB Login Check
SMB is a computer protocol that is used to share files, printers, serial ports, etc. between computers.
Use Auxiliary/scanner/smb/smb_login
Show options
Set RHOSTS IP
Set Smbuser Administrator
Set THREADS 10
Run
9.metasploit VNC Identity Verification
VNC (Virtual network console) is the abbreviation for the virtualization console. It is an excellent remote control tool software
Use Auxiliary/scanner/vnc/vnc_none_auth
Show options
Set RHOSTS IP or segment
Set THREADS 50
Run
10.metasploit WMAP Web Scan
Start Msfconsole
Start Load WMAP
Wmap_sites Viewing options
Wmap_sites-a http://www.0day.co Add URL
wmap_sites-l Display Information IP
Wmap_targets-h Help
Wmap_targets-t HTTP://IP
Wmap_run-h
Metasploit Application Examples