mini-tor is a proof-of-concept utility for accessing internet content and hidden service content (.onion) via tor routers. this utility is aiming for as smallest size as possible (currently ~47kb, compressed with kkrunchy ~20kb), which is achieved by using Microsoft CryptoAPI/CNG instead of embedding OpenSSL.
accessing internet content via mini-tor:
> mini-tor.exe "http://torstatus.blutmagie.de/router_detail.php?FP=847b1f850344d7876491a54892f904934e4eb85d"
accessing hidden service content via mini-tor:
> mini-tor.exe "http://duskgytldkxiuqc6.onion/fedpapers/federndx.htm"
it can even access https content:
> mini-tor.exe "https://check.torproject.org/" > mini-tor.exe "https://www.facebookcorewwwi.onion/"
add -v, -vv or -vvv for verbosity:
> mini-tor.exe -v "http://duskgytldkxiuqc6.onion/fedpapers/federndx.htm" > mini-tor.exe -vv "https://check.torproject.org/" > mini-tor.exe -vvv "https://www.facebookcorewwwi.onion/"
you can disable logging by commenting out
#define MINI_LOG_ENABLED in
mini/logger.h . this will also result in fairly reduced size of the executable.
extto get it running on older systems.
cng::dh<>will work only on win8.1+, because of usage
BCRYPT_KDF_RAW_SECRETfor fetching shared secret.
compile mini-tor using Visual Studio 2017. solution file is included. no other dependencies are required.