|
63 | 63 | VERSION = "1.0.131" |
64 | 64 | BANNER = r""" |
65 | 65 | ` __ __ ` |
66 | | - ____ ___ ___ ____ ______ `| T T` __ __ ____ _____ |
| 66 | + ____ ___ ___ ____ ______ `| T T` __ __ ____ _____ |
67 | 67 | l j| \ / _]| \ | T`| | |`| T__T T / T| __| |
68 | 68 | | T | \ / [_ | _ Yl_j l_j`| ~ |`| | | |Y o || l_ |
69 | 69 | | | | D YY _]| | | | | `|___ |`| | | || || _| |
70 | | - j l | || [_ | | | | | `| !` \ / | | || ] |
| 70 | + j l | || [_ | | | | | `| !` \ / | | || ] |
71 | 71 | |____jl_____jl_____jl__j__j l__j `l____/ ` \_/\_/ l__j__jl__j (%s)%s""".strip("\n") % (VERSION, "\n") |
72 | 72 |
|
73 | 73 | RAW, TEXT, HTTPCODE, SERVER, TITLE, HTML, URL = xrange(7) |
@@ -338,7 +338,7 @@ def load_data(): |
338 | 338 | global WAF_RECOGNITION_REGEX |
339 | 339 |
|
340 | 340 | if os.path.isfile(DATA_JSON_FILE): |
341 | | - with codecs.open(DATA_JSON_FILE, "rb", encoding="utf8") as f: |
| 341 | + with open(DATA_JSON_FILE, "r") as f: |
342 | 342 | DATA_JSON.update(json.load(f)) |
343 | 343 |
|
344 | 344 | WAF_RECOGNITION_REGEX = "" |
@@ -371,7 +371,7 @@ def init(): |
371 | 371 | if os.path.isfile(options.proxy_file): |
372 | 372 | print(colorize("[o] loading proxy list...")) |
373 | 373 |
|
374 | | - with codecs.open(options.proxy_file, "rb", encoding="utf8") as f: |
| 374 | + with open(options.proxy_file, "r") as f: |
375 | 375 | proxies.extend(re.sub(r"\s.*", "", _.strip()) for _ in f.read().strip().split('\n') if _.startswith("http")) |
376 | 376 | random.shuffle(proxies) |
377 | 377 | else: |
|
0 commit comments