Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All jobs responses "404 not found" all the time #5624

Closed
badbob opened this issue Jun 29, 2015 · 5 comments
Closed

All jobs responses "404 not found" all the time #5624

badbob opened this issue Jun 29, 2015 · 5 comments
Assignees

Comments

@badbob
Copy link

badbob commented Jun 29, 2015

msf > jobs -i 3
\nName: Mozilla Firefox Array.reduceRight() Integer Overflow, started at 2015-06-29 15:51:27 +0600

Module options (exploit/windows/browser/mozilla_reduceright):

   Name       Current Setting  Required  Description
   ----       ---------------  --------  -----------
   OBFUSCATE                   no        Enable JavaScript obfuscation
   SRVHOST    0.0.0.0          yes       The local host to listen on. This must be an address on the local machine or 0.0.0.0
   SRVPORT    8989             yes       The local port to listen on.
   SSL        false            no        Negotiate SSL for incoming connections
   SSLCert                     no        Path to a custom SSL certificate (default is randomly generated)
   URIPATH    685a859e         no        The URI to use for this exploit (default is random)


Payload options (windows/messagebox):

   Name      Current Setting   Required  Description
   ----      ---------------   --------  -----------
   EXITFUNC  process           yes       Exit technique (Accepted: , , seh, thread, process, none)
   ICON      NO                yes       Icon type can be NO, ERROR, INFORMATION, WARNING or QUESTION
   TEXT      Hello, from MSF!  yes       Messagebox Text (max 255 chars)
   TITLE     MessageBox        yes       Messagebox Title (max 255 chars)


Exploit target:

   Id  Name
   --  ----
   0   Automatic

$ telnet localhost 8989
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /685a859e HTTP/1.1

HTTP/1.1 404 Not Found
Content-Type: text/html
Connection: close
Server: Apache
Content-Length: 261

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache/2.2.9 (Unix) Server at  Port 8989</address>
</body></html>
Connection closed by foreign host.

I think, it configuration issue, but can't locate a problem.

@wvu wvu self-assigned this Jun 29, 2015
@wvu
Copy link
Contributor

wvu commented Jun 29, 2015

You're not sending the expected user agent with telnet. Try with curl -A or wget -U.

@wvu
Copy link
Contributor

wvu commented Jun 29, 2015

Incidentally, I found a bug while testing this.

@wvu
Copy link
Contributor

wvu commented Jun 29, 2015

@badbob: You can use either "Firefox/3.6.16" or "Firefox/3.6.17" to test. Thanks!

@badbob
Copy link
Author

badbob commented Jul 1, 2015

Thanks a lot. Sorry for noob questions. I should to inspect an exploit code before ask.

@wvu
Copy link
Contributor

wvu commented Jul 1, 2015

No problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants