spidey121 commited on
Commit
afefc3b
·
1 Parent(s): 12bf372

Add public status endpoints

Browse files
Files changed (1) hide show
  1. env/fake_server.py +16 -0
env/fake_server.py CHANGED
@@ -78,3 +78,19 @@ def backup():
78
  })
79
  return "Forbidden", 403
80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  })
79
  return "Forbidden", 403
80
 
81
+ @app.route("/")
82
+ def home():
83
+ return "AI Cyber Deception Environment Running - Multi Attack Simulation Active"
84
+
85
+
86
+ @app.route("/status")
87
+ def status():
88
+ return {
89
+ "environment": "AI Cyber Deception",
90
+ "attacks": [
91
+ "brute_force",
92
+ "port_scan",
93
+ "credential_stuffing"
94
+ ],
95
+ "status": "running"
96
+ }