Skip to content

Instantly share code, notes, and snippets.

@powerexploit
Last active March 11, 2021 05:35
Show Gist options
  • Save powerexploit/1540b3e81bf5284c7a72971ddc4f0ddb to your computer and use it in GitHub Desktop.
Save powerexploit/1540b3e81bf5284c7a72971ddc4f0ddb to your computer and use it in GitHub Desktop.

Revisions

  1. powerexploit revised this gist Sep 20, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Oniono.py
    Original file line number Diff line number Diff line change
    @@ -27,5 +27,6 @@ def oni(address):
    > I am BACK for good cause, aka Powerexploit
    ''')
    if args.address:
    print(Fore.BLUE + "[+] Saving onion site html page in Onion_site.html file.....")
    oni(args.address)
    exit()
  2. powerexploit created this gist Sep 20, 2020.
    31 changes: 31 additions & 0 deletions Oniono.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,31 @@
    import requests
    import argparse
    from colorama import Fore
    def oni(address):
    proxies = {
    'http': 'socks5h://127.0.0.1:9050',
    'https': 'socks5h://127.0.0.1:9050'
    }
    r = requests.get("http://%s" %(address), proxies=proxies).text
    with open('Onion_site.html', 'w') as f:
    f.write(r)

    if __name__ == '__main__':
    parser = argparse.ArgumentParser()
    parser.add_argument('--address',help='onion address')
    args = parser.parse_args()
    print(Fore.RED + '''
    )
    ( /(
    )\()) (
    ((_)\ ( )\ ( ( (
    ((_) )\ |(_) )\ )\ ) )\
    / _ \ _(_/((_)((_)_(_/( ((_)
    | (_) | ' \)) / _ \ ' \)) _ \
    \___/|_||_||_\___/_||_|\___/
    > I am BACK for good cause, aka Powerexploit
    ''')
    if args.address:
    oni(args.address)
    exit()