diff --git a/modules/pagereader.py b/modules/pagereader.py index bf49d4ce..99e04bc7 100644 --- a/modules/pagereader.py +++ b/modules/pagereader.py @@ -9,12 +9,11 @@ def connection_msg(site): def read_first_page(site): - headers = {'User-Agent': 'TorBot - Onion crawler | www.github.com/DedSecInside/TorBot'} + headers = {'User-Agent': 'XXXX-XXXXX-XXXX'} attempts_left = 3 err = " " while attempts_left: if attempts_left == 3: - print(next(connection_msg(site))) response = get_url_status(site, headers) if response != 0: page = BeautifulSoup(response.text, 'html.parser') diff --git a/modules/updater.py b/modules/updater.py index 2b662e8d..fb6974d0 100644 --- a/modules/updater.py +++ b/modules/updater.py @@ -23,7 +23,7 @@ def updateTor(): stdout=subprocess.PIPE, stderr=subprocess.STDOUT) update_out = update.stdout.read() - if update_out[90:109].decode("utf-8") == 'Already up-to-date.': + if update_out[90:109].decode("utf-8") == 'Already up to date.': print("TorBot is already up-to-date.") else: print("TorBot has succesfully updated to latest stable version.") @@ -42,7 +42,7 @@ def updateTor(): stdout=subprocess.PIPE, stderr=subprocess.STDOUT) update_out = update.stdout.read() - if update_out[90:109].decode("utf-8") == 'Already up-to-date.': + if update_out[90:109].decode("utf-8") == 'Already up to date.': print("TorBot is already up-to-date.") else: print("TorBot has succesfully updated to latest stable version.") diff --git a/torBot.py b/torBot.py index 8a4e66c7..c7edbc52 100644 --- a/torBot.py +++ b/torBot.py @@ -65,13 +65,13 @@ def header(): / __/ / / / /_/ / __ \/ __ \/ / / /_/ /_/ / _, _/ /_/ / /_/ / / \__/\____/_/ |_/_____/\____/_/ V{VERSION} - {FAIL} + {On_Black} + {FAIL} {On_Black} ####################################################### - # TorBot - A python Tor Crawler # + # TorBot - An OSINT Tool for Deep Web # # GitHub : https://github.com/DedsecInside/TorBot # # Help : use -h for help text # ####################################################### - {FAIL} + "LICENSE: GNU Public License" + {END}""".format( + {FAIL} LICENSE: GNU Public License {END}""".format( D3DSEC=D3DSEC, INS1DE=INS1DE, FAIL=b_color.FAIL, BOLD=b_color.BOLD, VERSION=__VERSION, END=b_color.ENDC, On_Black=b_color.On_Black, WHITE=b_color.WHITE @@ -91,9 +91,9 @@ def get_args(): action="store_true") parser.add_argument("-u", "--url", help="Specifiy a website link to crawl") - parser.add_argument("--ip", help="Change ip address for tor") + parser.add_argument("--ip", help="Change default ip of tor") parser.add_argument("-p", "--port", - help="Change port number for tor") + help="Change default port of tor") parser.add_argument("-s", "--save", action="store_true", help="Save results in a file")