I. Detection weak password
1. The host of tools to mount to the virtual machine
2. Extract
3. Check the contents of the file decompression
4. Installation C C ++ Compiler
yum install gcc gcc-c++ -y
5. Compile
make linux-x84-64
6. Go to the folder will run a script john
7. execution of the script
./john /etc/passwd /etc/shadow
8. the outcome
Two .NMAP scan
1. Install nmap
yum install nmap
2. Detection
nmap -sT 127.0.0.1
3. Add httpd service
Opening function, turn off the firewall
4. Use nmap scanning