Metasploit-framework: Exploit aborted due to failure: no-target: No matching target

Created on 8 Nov 2019  路  10Comments  路  Source: rapid7/metasploit-framework

====================================================
Exploit completed, but no session was created.

Exploit aborted due to failure: no-target: No matching target

Hello.
After I put the IP of the site to make an attack appears this result in exploit linux / ftp / proftp_telnet_iac).
The IP is right, but the exploit says it's aimless, help me

question

All 10 comments

Automatic target detection failed.

msf5 > use exploit/linux/ftp/proftp_telnet_iac 
msf5 exploit(linux/ftp/proftp_telnet_iac) > show targets

Exploit targets:

   Id  Name
   --  ----
   0   Automatic Targeting
   1   Debug
   2   ProFTPD 1.3.3a Server (Debian) - Squeeze Beta1
   3   ProFTPD 1_3_3a Server (Debian) - Squeeze Beta1 (Debug)
   4   ProFTPD 1.3.2c Server (Ubuntu 10.04)


msf5 exploit(linux/ftp/proftp_telnet_iac) > 

You will need to manually set target #

How can I do this?

As @bcoles stated:

You will need to manually set target #

Exploit failed: A target has not been selected.

Are you literally doing set target #? It sounds like your usage is incorrect. Please post some output.

set target 2 would be a correct command.

But I put the ip of the target site, or I put the server?

set rhosts (IP target site)

No, you need to set the TARGET option, not RHOSTS. Use the set command in the same manner.

I was doing the wrong use without setting the target manually .. now it worked. thanks!

:)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bugshere picture bugshere  路  3Comments

XSecr3t picture XSecr3t  路  3Comments

handsomebeast picture handsomebeast  路  3Comments

0x27 picture 0x27  路  3Comments

fluit105 picture fluit105  路  3Comments