Skip to content

Commit 7a8735e

Browse files
committed
port to python 3
1 parent 6f014b0 commit 7a8735e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Fern-Wifi-Cracker/core/toolbox/bruteforce_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def login_http(self,username,password):
4444
req = request.Request(self.target_url)
4545
base64string = base64.encodestring('%s:%s' % (username, password)).replace('\n', '')
4646
req.add_header("Authorization", "Basic %s" % base64string)
47-
result = request.urlopen(request)
47+
result = request.urlopen(req)
4848

4949

5050

0 commit comments

Comments
 (0)