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
Error responses from web attack crash program #32
Comments
Good catch. I am rewriting the web request handling as part of issue 31. I On Saturday, January 16, 2016, Darin Rogers notifications@github.com
|
@tcstool any update here? |
Project has a new maintainer now, this should be fixed shortly. |
Hi @darinrogers @odinn1984, as @tcstool mentioned I came on board yesterday. At the moment I'm looking for a design pattern that makes sense as well as doing some minor refactoring to learn my way around every part of the project. As a part of that I will be re-writing the HTTP module and I'll touch base in this thread as that work lands. Shouldn't be much longer! |
Closed with #61 |
If a call returns an error status code (e.g. 422, which is a valid response in my app as it tells the browser that the call didn't succeed and to show an error to the user), the program crashes. The stack trace looks like this:
Sending random parameter value...
Traceback (most recent call last):
File "/usr/local/bin/NoSQLMap", line 9, in
load_entry_point('NoSQLMap==0.5', 'console_scripts', 'NoSQLMap')()
File "/usr/local/lib/python2.7/dist-packages/NoSQLMap-0.5-py2.7.egg/EGG-INFO/scripts/nosqlmap.py", line 60, in main
File "/usr/local/lib/python2.7/dist-packages/NoSQLMap-0.5-py2.7.egg/EGG-INFO/scripts/nosqlmap.py", line 115, in mainMenu
File "/usr/local/lib/python2.7/dist-packages/NoSQLMap-0.5-py2.7.egg/EGG-INFO/scripts/nosqlmap.py", line 534, in postApps
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 422: Unprocessable Entity
The text was updated successfully, but these errors were encountered: