Skip to content

Commit

Permalink
Fix checkConnection
Browse files Browse the repository at this point in the history
  • Loading branch information
A1S0N authored Oct 13, 2021
1 parent 33f160e commit 51ca0b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions evilurl.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ def gen(url, tld, checkConnection=False, output=False, aval=False):
name.append(u[chr])
newurl = newurl.replace(w, chr)
makeEvil(chars, unicd, name, newurl+tld, url, output)
if checkConnection: printParser(check_url(newurl+tld), output)
if aval:
if checkAval(newurl+tld) is None:
printParser('{0}[{1}*{0}]{1} Avaliable domain'.format(GREEN, END), output)
Expand Down Expand Up @@ -208,7 +209,7 @@ def parseHandler():
printParser(check_EVIL(domain), output)
elif filepath:
urls_list(filepath, checkConnection, output)
if checkConnection and not filepath:
if checkConnection and not filepath and not generate:
printParser(check_url(domain), output)
if output:
print('\n{1}[{2}*{1}]{2} Logs stored to {0}'.format(output, GREEN, END))
Expand All @@ -218,4 +219,4 @@ def parseHandler():
message()
parseHandler()
except KeyboardInterrupt:
exit()
exit()

0 comments on commit 51ca0b9

Please sign in to comment.