07-28-2025, 09:44 PM
Hello forum members,
PoC By: @Inexorable_Baer
This is a safety-net I use for my tools and has saved my ass multiple times. For this to work, you need a VPN and Tor. The idea is for the code to check if you have your VPN up and then check if Tor is enabled. I use this to protect myself since I can't afford a VPS. The example payload is just sending a request to Google, but you can use your imagination to send any payloads.
PoC By: @Inexorable_Baer
This is a safety-net I use for my tools and has saved my ass multiple times. For this to work, you need a VPN and Tor. The idea is for the code to check if you have your VPN up and then check if Tor is enabled. I use this to protect myself since I can't afford a VPS. The example payload is just sending a request to Google, but you can use your imagination to send any payloads.
import requests
import json
class Safetynet:
def __init__(self):
self.homeIP = ""# enter your home IP here
self.VPNIP = ""
self.TorIP = ""
self.tor = requests.Session()
self.tor.proxies = {"https":"socks5h://127.0.0.1:9050"}
self.__setup()
def __setup(self):
"""Check the connection is setup proporly"""
r = requests.get("https://ip.me").text.strip()
if r != self.homeIP:
self.VPNIP = r
else: raise Exception("VPN not On!")
r = self.tor.get("https://ip.me").text.strip()
if r != self.VPNIP:
self.TorIP = r
else: raise Exception("Tor not On!")
def payload(self, website: str):
req = self.tor.get(website)
print(req.text)
Exploite = Safetynet()
Exploite.payload("https://www.google.com")