Exploit Safety-net PoC
by Inexorable_Baer - Monday July 28, 2025 at 09:44 PM
#1
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.


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")
Reply
#2
How is this an exploit brother? and how this can save time? Just configure your VPN client to block network when tunnels are down.
Reply
#3
(Aug 02, 2025, 08:46 AM)tail Wrote: How is this an exploit brother? and how this can save time? Just configure your VPN client to block network when tunnels are down.

I never said it was an exploit; I said you should use it in conjunction with an exploit.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  New Zer0 Day Wordpress A3g00n 83 4,047 Yesterday, 08:17 PM
Last Post: j4ng0
  {SECRET} DATABASE OF EXPLOITS lulagain 441 28,082 Yesterday, 05:41 PM
Last Post: chiki
  Google Dorks for finding SQL injection vulnerabilities and other security issues 1yush 69 3,702 Yesterday, 03:55 PM
Last Post: fkmonkey
  CVE-2024-32002 RCE PoC HA_twck 2 565 Yesterday, 01:33 PM
Last Post: newxiao1
  Cisco Secure Firewall Management Center(CVE-2026-20131) DirtyEra 0 135 Yesterday, 01:40 AM
Last Post: DirtyEra

Forum Jump:


 Users browsing this forum: 1 Guest(s)