DedSecInside / TorBot

Dark Web OSINT Tool
Other
2.88k stars 526 forks source link

Allow using direct connection instead of SOCKS #175

Closed fepitre closed 4 years ago

fepitre commented 4 years ago

When TorBot is used in a VM with all its traffic going through Tor, like a Whonix Gateway (see https://www.qubes-os.org/doc/whonix/ and https://www.whonix.org/wiki/Qubes), there is no need to initialize a connection to Tor. In this case, allow to by-pass it from CLI. Please tell me if I overlooked it and missed something.

KingAkeem commented 4 years ago

Check CodeFactor

fepitre commented 4 years ago

Check CodeFactor

Yes. I put the check of 'no_socks' into 'connect' function. Thank you.