Update sublist3r.py

Importing Compatiablity
This commit is contained in:
gloomy-ghost 2016-10-16 08:38:05 +00:00
parent 6cf5d70f5c
commit 2b4f42e072
1 changed files with 10 additions and 2 deletions

View File

@ -9,8 +9,6 @@ import sys
import os
import argparse
import time
import urlparse
import urllib
import hashlib
import random
import multiprocessing
@ -24,6 +22,16 @@ from subbrute import subbrute
import dns.resolver
import requests
#Python 2.x and 3.x compatiablity
if sys.version > '3':
from queue import Queue
import urllib.parse as urlparse
import urllib.parse as urllib
else:
from Queue import Queue
import urlparse
import urllib
#In case you cannot install some of the required development packages, there's also an option to disable the SSL warning:
try:
import requests.packages.urllib3