In the attackInjection_POST method, when the statement 'u =
urllib2.urlopen(req)' triggers a 500 error, and HTTPError exception is
thrown. This then leaves the 'u' variable unset, and causes issues later
on. Attached is a patch to resolve this issue.
Traceback (most recent call last):
File "/usr/lib64/python2.5/threading.py", line 460, in __bootstrap
self.run()
File "powerfuzzer/powerfuzzer.py", line 174, in run
self.attack()
File "powerfuzzer/powerfuzzer.py", line 258, in attack
self.attackPOST(form)
File "powerfuzzer/powerfuzzer.py", line 374, in attackPOST
if self.doInjection==1: self.attackInjection_POST(form)
File "powerfuzzer/powerfuzzer.py", line 920, in attackInjection_POST
if u.code==500:
UnboundLocalError: local variable 'u' referenced before assignment
Nobody/Anonymous
None
None
Public
|
Date: 2008-09-03 03:54
|
| Filename | Description | Download |
|---|---|---|
| powerfuzzer-HTTPError-500-take2.patch | A cleaner patch that fixes this issue everywhere. | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 291854: powerfuzzer-HTTPError-500-take2.patch | 2008-09-03 03:54 | lukemacken |
| File Deleted | 291849: | 2008-09-03 03:54 | lukemacken |
| summary | [PATCH] Fix traceback | 2008-09-03 03:30 | lukemacken |
| File Added | 291849: powerfuzzer-HTTPError-500.patch | 2008-09-03 03:28 | lukemacken |