andresriancho / w3af

w3af: web application attack and audit framework, the open source web vulnerability scanner.
http://w3af.org/
4.59k stars 1.22k forks source link

Ctrl-c causes permanent issues. #185

Closed dniz0 closed 11 years ago

dniz0 commented 11 years ago

Good Afternoon,

I;ve reproduced this on various o/s's and w3af installs. When hitting ctrl-c in the middle of a scan it throws an exception and even though i uninstall the w3af app and redownlaod it from git i seem to have the same exception error messages.

Is there a cache i need to clear or something ?

Scan finished in 4 seconds. xUrllib found too much consecutive errors. The remote webserver doesn't seem to be reachable anymore. <urlopen error BadStatusLine("''",)> [] <urlopen error BadStatusLine("''",)> [] <urlopen error BadStatusLine("''",)> [] <urlopen error BadStatusLine("''",)> [] <urlopen error BadStatusLine("''",)> [] <urlopen error BadStatusLine("''",)> [] <urlopen error BadStatusLine("''",)> [] <urlopen error BadStatusLine("''",)> [] <urlopen error BadStatusLine("''",)> [] <urlopen error BadStatusLine("''",)> [] Exception in thread Thread-5: Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 530, in __bootstrap_inner self.run() File "/Users/humbertocabrera/w3af/core/controllers/threads/threadpool.py", line 108, in run self.resultQueue.put( (request, request.callable(_request.args, _request.kwds)) ) File "/Users/humbertocabrera/w3af/plugins/discovery/webSpider.py", line 275, in _verify_reference headers=headers, follow_redir=False) File "/Users/humbertocabrera/w3af/core/controllers/basePlugin/basePlugin.py", line 233, in meth return attr(_args, _kwargs) File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 309, in GET return self._send(req, cache=cache, grep=grep) File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 487, in _send self._callBeforeSend() File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 111, in _callBeforeSend self._sleepIfPausedDieIfStopped() File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 140, in _sleepIfPausedDieIfStopped raise KeyboardInterrupt KeyboardInterrupt

Exception in thread Thread-1: Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 530, in __bootstrap_inner self.run() File "/Users/humbertocabrera/w3af/core/controllers/threads/threadpool.py", line 108, in run self.resultQueue.put( (request, request.callable(_request.args, _request.kwds)) ) File "/Users/humbertocabrera/w3af/plugins/discovery/webSpider.py", line 275, in _verify_reference headers=headers, follow_redir=False) File "/Users/humbertocabrera/w3af/core/controllers/basePlugin/basePlugin.py", line 233, in meth return attr(_args, _kwargs) File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 309, in GET return self._send(req, cache=cache, grep=grep) File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 487, in _send self._callBeforeSend() File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 111, in _callBeforeSend self._sleepIfPausedDieIfStopped() File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 140, in _sleepIfPausedDieIfStopped raise KeyboardInterrupt KeyboardInterrupt

Exception in thread Thread-4: Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 530, in __bootstrap_inner self.run() File "/Users/humbertocabrera/w3af/core/controllers/threads/threadpool.py", line 108, in run self.resultQueue.put( (request, request.callable(_request.args, _request.kwds)) ) File "/Users/humbertocabrera/w3af/plugins/discovery/webSpider.py", line 275, in _verify_reference headers=headers, follow_redir=False) File "/Users/humbertocabrera/w3af/core/controllers/basePlugin/basePlugin.py", line 233, in meth return attr(_args, _kwargs) File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 309, in GET return self._send(req, cache=cache, grep=grep) File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 487, in _send self._callBeforeSend() File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 111, in _callBeforeSend self._sleepIfPausedDieIfStopped() File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 140, in _sleepIfPausedDieIfStopped raise KeyboardInterrupt KeyboardInterrupt

Exception in thread Thread-2: Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 530, in __bootstrap_inner self.run() File "/Users/humbertocabrera/w3af/core/controllers/threads/threadpool.py", line 108, in run self.resultQueue.put( (request, request.callable(_request.args, _request.kwds)) ) File "/Users/humbertocabrera/w3af/plugins/discovery/webSpider.py", line 275, in _verify_reference headers=headers, follow_redir=False) File "/Users/humbertocabrera/w3af/core/controllers/basePlugin/basePlugin.py", line 233, in meth return attr(_args, _kwargs) File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 309, in GET return self._send(req, cache=cache, grep=grep) File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 487, in _send self._callBeforeSend() File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 111, in _callBeforeSend self._sleepIfPausedDieIfStopped() File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 140, in _sleepIfPausedDieIfStopped raise KeyboardInterrupt KeyboardInterrupt

Exception in thread Thread-3: Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 530, in __bootstrap_inner self.run() File "/Users/humbertocabrera/w3af/core/controllers/threads/threadpool.py", line 108, in run self.resultQueue.put( (request, request.callable(_request.args, _request.kwds)) ) File "/Users/humbertocabrera/w3af/plugins/discovery/webSpider.py", line 275, in _verify_reference headers=headers, follow_redir=False) File "/Users/humbertocabrera/w3af/core/controllers/basePlugin/basePlugin.py", line 233, in meth return attr(_args, _kwargs) File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 309, in GET return self._send(req, cache=cache, grep=grep) File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 487, in _send self._callBeforeSend() File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 111, in _callBeforeSend self._sleepIfPausedDieIfStopped() File "/Users/humbertocabrera/w3af/core/data/url/xUrllib.py", line 140, in _sleepIfPausedDieIfStopped raise KeyboardInterrupt KeyboardInterrupt

any advice would be greatly appreciated

andresriancho commented 11 years ago

It looks like you don't have the latest version. Could you please test the same thing with it? Please follow these steps http://w3af.org/beta-testers-wanted and if it's still an issue open a new issue.