mirror of https://github.com/Kkevsterrr/geneva
curl silently
This commit is contained in:
parent
ee8c3a14f5
commit
18e454728e
|
@ -32,14 +32,14 @@ def test_engine_sleep():
|
|||
|
||||
# Create the engine in debug mode
|
||||
with engine.Engine(port, strategy, log_level="info") as eng:
|
||||
os.system("curl http://example.com?q=ultrasurf")
|
||||
os.system("curl -s http://example.com")
|
||||
|
||||
# Strategy to use in opposite direction
|
||||
strategy = "\/ [TCP:flags:SA]-sleep{1}-|"
|
||||
|
||||
# Create the engine in debug mode
|
||||
with engine.Engine(port, strategy, log_level="debug") as eng:
|
||||
os.system("curl http://example.com?q=ultrasurf")
|
||||
os.system("curl -s http://example.com")
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue