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
(08-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
  Exploit Hikvision Camera cctv A3g00n 160 4,535 4 hours ago
Last Post: 0Xnulled
  Telerik Exploit report server A3g00n 1 408 04-11-2025, 04:16 AM
Last Post: dghdj
  Ivanti/Pulse VPN Client Exploit leading to a privilege escalation Loki 17 1,771 04-07-2025, 03:34 PM
Last Post: ansikkamakola
  Wordpress Elementor 3.11.6 Exploit - Full Takeover TheGoodlife 95 18,601 04-07-2025, 01:43 PM
Last Post: Escbodrum
  [EXPLOIT] SSH || DOS/MITM Vulnerability Walescaffe 35 1,562 03-28-2025, 04:49 AM
Last Post: ae4D7T7G6tNg

Forum Jump:


 Users browsing this thread: 1 Guest(s)