war-and-code / jawfish

Tool for breaking into web applications.
MIT License
88 stars 19 forks source link

urllib.urlopen fails with python3 #4 #4

Open DimopoulosElias opened 8 years ago

DimopoulosElias commented 8 years ago

With python 3 i have problems with urllib.urlopen. File jf-web.py line 107 Code: try: BASE_RESPONSE = urllib.urlopen('http://%s/%s' % (TARGET, ADDR), timeout=10) Doesn't work. Did you write it for python2? There are changes in python 3: https://docs.python.org/3.5/library/urllib.html

gingeleski commented 8 years ago

Originally yes. We'll have to migrate.

This might also explain issues with the Brython library, as that might be targeted for Python 3. On Sep 19, 2015 12:45 PM, "DimopoulosElias" notifications@github.com wrote:

With python 3 i have problems with urllib.urlopen. File jf-web.py line 107 Code: try: BASE_RESPONSE = urllib.urlopen('http://%s/%s' % (TARGET, ADDR), timeout=10) Doesn't work. Did you write it for python2? There are changes in python 3: https://docs.python.org/3.5/library/urllib.html

— Reply to this email directly or view it on GitHub https://github.com/gingeleski/jawfish/issues/4.