Spaces:
Runtime error
Runtime error
Fix port mismatch
Browse files- env/attacker.py +1 -2
- env/env.py +1 -1
env/attacker.py
CHANGED
|
@@ -2,8 +2,7 @@ import requests
|
|
| 2 |
import requests
|
| 3 |
import time
|
| 4 |
|
| 5 |
-
TARGET = "http://127.0.0.1:
|
| 6 |
-
|
| 7 |
|
| 8 |
def brute_force():
|
| 9 |
|
|
|
|
| 2 |
import requests
|
| 3 |
import time
|
| 4 |
|
| 5 |
+
TARGET = "http://127.0.0.1:7860"
|
|
|
|
| 6 |
|
| 7 |
def brute_force():
|
| 8 |
|
env/env.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import requests
|
| 2 |
from env.deception import deploy_honeypot, fake_database, block_attacker
|
| 3 |
|
| 4 |
-
SERVER = "http://127.0.0.1:
|
| 5 |
|
| 6 |
class DeceptionEnv:
|
| 7 |
|
|
|
|
| 1 |
import requests
|
| 2 |
from env.deception import deploy_honeypot, fake_database, block_attacker
|
| 3 |
|
| 4 |
+
SERVER = "http://127.0.0.1:7860"
|
| 5 |
|
| 6 |
class DeceptionEnv:
|
| 7 |
|