hackingtool/tools/anonsurf.py

60 lines
1.8 KiB
Python
Raw Permalink Normal View History

import os
from core import HackingTool, HackingToolsCollection, console
2025-10-14 06:02:18 +00:00
class AnonymouslySurf(HackingTool):
TITLE = "Anonymously Surf"
2025-10-14 06:02:18 +00:00
DESCRIPTION = (
"It automatically overwrites the RAM when the system shuts down\n"
"and also changes your IP address."
2025-10-14 06:02:18 +00:00
)
# Bug 28 fix: was "cd kali-anonsurf && ./installer.sh && cd .. && sudo rm -r kali-anonsurf"
# Deleting the source on install means there is no retry if install fails.
# Now kept in a separate step so failure does not destroy the source.
INSTALL_COMMANDS = [
"git clone https://github.com/Und3rf10w/kali-anonsurf.git",
"cd kali-anonsurf && sudo ./installer.sh",
]
RUN_COMMANDS = ["sudo anonsurf start"]
PROJECT_URL = "https://github.com/Und3rf10w/kali-anonsurf"
SUPPORTED_OS = ["linux"]
def __init__(self):
super().__init__([("Stop", self.stop)])
def stop(self):
import subprocess
console.print("[bold magenta]Stopping Anonsurf...[/bold magenta]")
subprocess.run(["sudo", "anonsurf", "stop"])
class Multitor(HackingTool):
TITLE = "Multitor"
DESCRIPTION = "How to stay in multi places at the same time."
INSTALL_COMMANDS = [
"git clone https://github.com/trimstray/multitor.git",
"cd multitor && sudo bash setup.sh install",
2025-10-14 06:02:18 +00:00
]
RUN_COMMANDS = [
"multitor --init 2 --user debian-tor --socks-port 9000 --control-port 9900 --proxy privoxy --haproxy"
]
PROJECT_URL = "https://github.com/trimstray/multitor"
SUPPORTED_OS = ["linux"]
def __init__(self):
super().__init__(runnable=False)
class AnonSurfTools(HackingToolsCollection):
TITLE = "Anonymously Hiding Tools"
TOOLS = [
AnonymouslySurf(),
2025-10-14 06:02:18 +00:00
Multitor(),
]
2025-10-14 06:02:18 +00:00
if __name__ == "__main__":
tools = AnonSurfTools()
tools.show_options()