aboutsummaryrefslogtreecommitdiff
path: root/client.py
diff options
context:
space:
mode:
authorJovan Jovanovic <jovanovicjovan921@gmail.com>2024-09-06 00:35:32 +0200
committerJovan Jovanovic <jovanovicjovan921@gmail.com>2024-09-06 00:35:32 +0200
commitc2dee48a41f56356d6e61e17c4b8ef370c2b53ba (patch)
treee8c5f6eed5ee5b4baa38411e6d12effd50dbe32b /client.py
Template
Diffstat (limited to 'client.py')
-rw-r--r--client.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/client.py b/client.py
new file mode 100644
index 0000000..6a17f4c
--- /dev/null
+++ b/client.py
@@ -0,0 +1,17 @@
+import sys
+from avala import Avala
+
+avl = Avala(
+ host="avala.s1.ctf.rs",
+ protocol="https",
+ port=443,
+ username="exploit",
+ password="najjaca_sifra_do_sad",
+)
+
+avl.register_directory("exploits")
+
+if len(sys.argv) == 2 and sys.argv[1] == "debug":
+ avl.workshop()
+else:
+ avl.run()