Results 1 to 9 of 9

Thread: [Metasploit]The address is already in use (WAN attack)

  1. #1
    Just burned his ISO
    Join Date
    Dec 2010
    Posts
    10

    Exclamation [Metasploit]The address is already in use (WAN attack)

    Hello everybody.

    I have been using metasploit since a long time. But recently i have a problem using the exploits in WAN. If i use them on LAN there are no problem but on WAN appears a error:

    msf exploit(java_basicservice_impl) > exploit[*] Exploit running as background job.
    msf exploit(java_basicservice_impl) >
    [-] Handler failed to bind to ??.??.175.19:2003[*] Started reverse handler on 0.0.0.0:2003
    [-] Exploit exception: The address is already in use (??.??.175.19:2004).
    I used the LNK exploit on WAN without problem several months ago but now i dont know why i see this error.
    My ports 2004 and 2003 are correctly NATed and i have tried using other ports but it doesn't solve the error.

    Can someone help me please?

    Thanks

  2. #2
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default Re: [Metasploit]The address is already in use (WAN attack)

    Well it says that it's already in use, do you have something running on those ports ? Also the reverse handler should be set to your internal IP.
    Back|track giving machine guns to monkeys since 2007 !

    Do not read the Wiki, most your questions will not be answered there !
    Do not take a look at the: Forum Rules !

  3. #3
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default Re: [Metasploit]The address is already in use (WAN attack)

    If a attack is not existed cleanly the service will stay bound to the port it was using. lsof -i can list the running services and the ports. Use the pid to kill the service.

  4. #4
    Senior Member iproute's Avatar
    Join Date
    Jan 2010
    Location
    Midwest, USA
    Posts
    192

    Default Re: [Metasploit]The address is already in use (WAN attack)

    Quote Originally Posted by purehate View Post
    If a attack is not existed cleanly the service will stay bound to the port it was using. lsof -i can list the running services and the ports. Use the pid to kill the service.
    Nice. Never thought of doing it like that. Thanks

  5. #5
    My life is this forum thorin's Avatar
    Join Date
    Jan 2010
    Posts
    2,629

    Default Re: [Metasploit]The address is already in use (WAN attack)

    Quote Originally Posted by purehate View Post
    If a attack is not exited cleanly the service will stay bound to the port it was using. lsof -i can list the running services and the ports. Use the pid to kill the service.
    Or just change the port setting to use a different port.
    I'm a compulsive post editor, you might wanna wait until my post has been online for 5-10 mins before quoting it as it will likely change.

    I know I seem harsh in some of my replies. SORRY! But if you're doing something illegal or posting something that seems to be obvious BS I'm going to call you on it.

  6. #6
    Just burned his ISO
    Join Date
    Dec 2010
    Posts
    10

    Default Re: [Metasploit]The address is already in use (WAN attack)

    Quote Originally Posted by purehate View Post
    If a attack is not existed cleanly the service will stay bound to the port it was using. lsof -i can list the running services and the ports. Use the pid to kill the service.
    Lsof is a linux comand but if i am rinning metasploit on a windows OS hoy can i see the process and port that are being used and then kill them???
    thanks

  7. #7
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default Re: [Metasploit]The address is already in use (WAN attack)

    This is a Backtrack support forum I don't think it has anything to do with Windows.
    Back|track giving machine guns to monkeys since 2007 !

    Do not read the Wiki, most your questions will not be answered there !
    Do not take a look at the: Forum Rules !

  8. #8
    Just burned his ISO
    Join Date
    Dec 2010
    Posts
    10

    Default Respuesta: [Metasploit]The address is already in use (WAN attack)

    Thanks for your help

  9. #9
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default Re: Respuesta: [Metasploit]The address is already in use (WAN attack)

    Closed for the obvious.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

Similar Threads

  1. Replies: 36
    Last Post: 04-08-2011, 02:14 AM
  2. Armitage – Cyber Attack Management for Metasploit
    By Bhior in forum Tool Requests
    Replies: 10
    Last Post: 12-09-2010, 04:40 AM
  3. metasploit exploit failed: The address is already in use
    By mikehawk in forum OLD Newbie Area
    Replies: 1
    Last Post: 10-14-2009, 04:51 AM
  4. how to configure Metasploit Client-Side Attack
    By black02 in forum OLD Newbie Area
    Replies: 2
    Last Post: 04-09-2009, 08:03 PM
  5. metasploit fails to bind address/port
    By calef13 in forum OLD BT3beta Software related issues
    Replies: 3
    Last Post: 04-25-2008, 12:07 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •