Skip to content

Commit

Permalink
Update sublist3r.py
Browse files Browse the repository at this point in the history
  Importing Compatiablity
  • Loading branch information
gloomy-ghost committed Oct 27, 2016
1 parent 6cf5d70 commit 2b4f42e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions sublist3r.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
import os
import argparse
import time
import urlparse
import urllib
import hashlib
import random
import multiprocessing
Expand All @@ -24,6 +22,16 @@
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
Expand Down

0 comments on commit 2b4f42e

Please sign in to comment.