Added notification message if CAPTCHAs are received
parent
3afa76d67e
commit
5ef5b9df81
|
@ -112,7 +112,7 @@ Search for available domains with search term of "dog" and max results of 100
|
|||
|
||||
- Domain: Target Domain
|
||||
- Birth: First seen on Archive.org
|
||||
- Entries:
|
||||
- Entries: Number of entries in Archive.org
|
||||
- TLDs Available: Top level top available
|
||||
- Bluecoat Categorization: Bluecoat category
|
||||
- IBM-xForce Categorization: IBM-xForce category
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
## good candidates for phishing and C2 domain names
|
||||
|
||||
# To-do:
|
||||
# Python 3 support
|
||||
# Add reputation categorizations to identify desireable vs undesireable domains
|
||||
# Code cleanup/optimization
|
||||
# Read in list of desired domain names
|
||||
# Add Authenticated "Members-Only" option to download CSV/txt (https://member.expireddomains.net/domains/expiredcom/)
|
||||
|
||||
import time
|
||||
|
@ -37,6 +37,11 @@ def checkBluecoat(domain):
|
|||
soupA = BeautifulSoup(responseJson['categorization'], 'lxml')
|
||||
a = soupA.find("a").text
|
||||
|
||||
# Print notice if CAPTCHAs are blocking accurate results
|
||||
if a == 'captcha':
|
||||
print('[-] Error: Blue Coat CAPTCHA received. Change your IP or manually solve a CAPTCHA at "https://sitereview.bluecoat.com/sitereview.jsp"')
|
||||
#raw_input('[*] Press Enter to continue...')
|
||||
|
||||
return a
|
||||
except:
|
||||
print('[-] Error retrieving Bluecoat reputation!')
|
||||
|
@ -272,7 +277,7 @@ If you plan to use this content for illegal purpose, don't. Have a nice day :)'
|
|||
domains = [line.rstrip('\r\n') for line in open(inputfile, "r")]
|
||||
|
||||
except IOError:
|
||||
print '[-] Error: {} does not appear to exist.'.format(inputfile)
|
||||
print '[-] Error: "{}" does not appear to exist.'.format(inputfile)
|
||||
exit()
|
||||
|
||||
print('[*] Domains loaded: {}').format(len(domains))
|
||||
|
|
Loading…
Reference in New Issue