$ git clone https://github.com/k4m4/onioff
Result:
Cloning into 'onioff'...
remote: Counting objects: 57, done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 57 (delta 30), reused 52 (delta 25), pack-reused 0
Unpacking objects: 100% (57/57), done.
Command:
$ cd onioff
$ ls
Result:
CHANGES.rst README.rst onioff.py requirements.txt
LICENSE VERSION reports termcolor.py
Command:
$ cat requirements.txt
Result:
requests
pysocks
Command:
Result:
Collecting requests (from -r requirements.txt (line 1))
Downloading requests-2.11.1-py2.py3-none-any.whl (514kB)
100% |████████████████████████████████| 522kB 1.5MB/s
Collecting pysocks (from -r requirements.txt (line 2))
Downloading PySocks-1.5.7.tar.gz
Collecting beautifulsoup4 (from -r requirements.txt (line 3))
Downloading beautifulsoup4-4.5.1-py2-none-any.whl (83kB)
100% |████████████████████████████████| 92kB 4.1MB/s
Building wheels for collected packages: pysocks
Running setup.py bdist_wheel for pysocks ... done
Stored in directory: /Users/USERNAME/Library/Caches/pip/wheels/cf/81/67/77884514e566867d5223e5530e27ce9b9433b78c766a400313
Successfully built pysocks
Installing collected packages: requests, pysocks, beautifulsoup4
Successfully installed beautifulsoup4-4.5.1 pysocks-1.5.7 requests-2.11.1
Command:
$ python onioff.py -h
Result:
██████╗ ███╗ ██╗██╗ ██████╗ ███████╗███████╗
██╔═══██╗████╗ ██║██║██╔═══██╗██╔════╝██╔════╝
██║ ██║██╔██╗ ██║██║██║ ██║█████╗ █████╗
██║ ██║██║╚██╗██║██║██║ ██║██╔══╝ ██╔══╝
╚██████╔╝██║ ╚████║██║╚██████╔╝██║ ██║
╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═════╝ ╚═╝ ╚═╝ v0.1
Onion URL Inspector (ONIOFF)
Made With <3 by: Nikolaos Kamarinakis (k4m4)
Version: 0.1
Usage: python onioff.py {onion} [options]
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-f FILE, --file=FILE onion filename
-o OUTPUT_FILE, --output=OUTPUT_FILE
output filename
Examples:
python onioff.py http://xmh57jrzrnw6insl.onion/
python onioff.py -f ~/onions.txt -o ~/report.txt
python onioff.py https://facebookcorewwwi.onion/ -o ~/report.txt
Command:
$ python onioff.py -f ~/onions.txt -o ~/report.txt
Result:
██████╗ ███╗ ██╗██╗ ██████╗ ███████╗███████╗
██╔═══██╗████╗ ██║██║██╔═══██╗██╔════╝██╔════╝
██║ ██║██╔██╗ ██║██║██║ ██║█████╗ █████╗
██║ ██║██║╚██╗██║██║██║ ██║██╔══╝ ██╔══╝
╚██████╔╝██║ ╚████║██║╚██████╔╝██║ ██║
╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═════╝ ╚═╝ ╚═╝ v0.1
Onion URL Inspector (ONIOFF)
Made With <3 by: Nikolaos Kamarinakis (k4m4)
Version: 0.1
[+] Commencing Onion Inspection
[-] Tor Offline --> Please Make Sure Tor Is Running
[-] System Exit