Skip to content

Commit

Permalink
Fixing "valid domain" problem
Browse files Browse the repository at this point in the history
  • Loading branch information
mrh0wl committed Apr 20, 2021
1 parent 032751f commit 0f42ede
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cloudmare.py
Expand Up @@ -32,7 +32,7 @@
output = "data/output/subdomains-from-" + (args.domain).split('.')[0] + ".txt" if args.outSub == None else False

http = 'http://' if 'http://' in args.domain else 'https://'
args.domain = args.domain.replace(http, '').split('/')[0].split(".", 1)[1]
args.domain = args.domain.replace(http, '').split('/')[0].split(".", 1)[1] if args.domain.count(".") >= 2 else args.domain.replace(http, '').split('/')[0]



Expand Down Expand Up @@ -89,4 +89,4 @@
except KeyboardInterrupt:
question = input('\n' + info + 'Do you want to clear the screen? y/n: ') if sys.version_info[0] == 3 else raw_input(info + '[INFO] Do you want to clear the screen? y/n: ')
if question in ["yes", "y", "Y", "ye"]:
osclear(unknown= bad + " " +" Sorry, but I cannot clear this OS")
osclear(unknown= bad + " " +" Sorry, but I cannot clear this OS")

0 comments on commit 0f42ede

Please sign in to comment.