aboutsummaryrefslogtreecommitdiff
path: root/client.py
diff options
context:
space:
mode:
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()