mirror of
https://github.com/Kkevsterrr/geneva
synced 2024-12-22 01:29:33 +01:00
d0fd49800c
Initial commit of Geneva
18 lines
491 B
Python
18 lines
491 B
Python
import os
|
|
import sys
|
|
|
|
# Add the path to the engine so we can import it
|
|
BASEPATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
sys.path.append(BASEPATH)
|
|
|
|
import engine
|
|
|
|
# Port to run the engine on
|
|
port = 80
|
|
# Strategy to use
|
|
strategy = "[TCP:flags:A]-duplicate(tamper{TCP:flags:replace:R}(tamper{TCP:chksum:corrupt},),)-| \/"
|
|
|
|
# Create the engine in debug mode
|
|
with engine.Engine(port, strategy, log_level="debug") as eng:
|
|
os.system("curl http://example.com?q=ultrasurf")
|