理解 services 命令
services命令作用是显示目标主机上可用的服务
查看命令帮助:
- msf > services -h
- Usage: services [-h] [-u] [-a] [-r <proto>] [-p <port1,port2>] [-s <name1,name2>] [-o <filename>] [addr1 addr2 ...]
- -a,--add Add the services instead of searching
- -d,--delete Delete the services instead of searching
- -c <col1,col2> Only show the given columns
- -h,--help Show this help information
- -s <name1,name2> Search for a list of service names
- -p <port1,port2> Search for a list of ports
- -r <protocol> Only show [tcp|udp] services
- -u,--up Only show services which are up
- -o <file> Send output to a file in csv format
- -O <column> Order rows by specified column number
- -R,--rhosts Set RHOSTS from the results of the search
- -S,--search Search str