metasploit是否可以在localhost上使用?

时间:2019-04-14 09:20:24

标签: mysql localhost metasploit

我在本地计算机上安装了Metasploit社区版,并尝试使用auxiliary/admin/mysql/mysql_sql模块来利用自己的本地主机。

我还提供了mysql凭据,当我run辅助程序出现超时错误时。

msf5 auxiliary(admin/mysql/mysql_sql) > show options

Module options (auxiliary/admin/mysql/mysql_sql):

   Name      Current Setting   Required  Description
   ----      ---------------   --------  -----------
   PASSWORD  password          no        The password for the specified username
   RHOSTS    127.0.0.1         yes       The target address range or CIDR identifier
   RPORT     3306              yes       The target port (TCP)
   SQL       select version()  yes       The SQL to execute.
   USERNAME  developer         no        The username to authenticate as

msf5 auxiliary(admin/mysql/mysql_sql) > run
[*] Running module against 127.0.0.1

[-] 127.0.0.1:3306 - Connection timedout
[*] Auxiliary module execution completed
msf5 auxiliary(admin/mysql/mysql_sql) >
  1. Metasploit是否允许利用自己的主机?
  2. 如果是,Connection timed out的原因是什么?

谢谢!

0 个答案:

没有答案