From 4ec03d4c54920098c3916aab4bca70c1e928ae28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=88=9A=28noham=29=C2=B2?= <100566912+NohamR@users.noreply.github.com> Date: Tue, 18 Feb 2025 19:35:45 +0100 Subject: [PATCH] cleaning --- .../catthefile.json.example | 0 crackmy.json.example => config/crackmy.json.example | 0 .../hackropole.json.example | 0 rootme.json.example => config/rootme.json.example | 0 .../theblackside.json.example | 0 main.py | 10 +++++----- 6 files changed, 5 insertions(+), 5 deletions(-) rename catthefile.json.example => config/catthefile.json.example (100%) rename crackmy.json.example => config/crackmy.json.example (100%) rename hackropole.json.example => config/hackropole.json.example (100%) rename rootme.json.example => config/rootme.json.example (100%) rename theblackside.json.example => config/theblackside.json.example (100%) diff --git a/catthefile.json.example b/config/catthefile.json.example similarity index 100% rename from catthefile.json.example rename to config/catthefile.json.example diff --git a/crackmy.json.example b/config/crackmy.json.example similarity index 100% rename from crackmy.json.example rename to config/crackmy.json.example diff --git a/hackropole.json.example b/config/hackropole.json.example similarity index 100% rename from hackropole.json.example rename to config/hackropole.json.example diff --git a/rootme.json.example b/config/rootme.json.example similarity index 100% rename from rootme.json.example rename to config/rootme.json.example diff --git a/theblackside.json.example b/config/theblackside.json.example similarity index 100% rename from theblackside.json.example rename to config/theblackside.json.example diff --git a/main.py b/main.py index 4d855db..1b9e1e1 100644 --- a/main.py +++ b/main.py @@ -19,7 +19,7 @@ def hackropole(): def theblackside(): challenge_url = 'https://theblackside.fr/challenges/steganographie/Meow' - platform = TheBlackSidePlatform(cookies_file="theblackside.cookies.json") + platform = TheBlackSidePlatform(cookies_file="./config/theblackside.cookies.json") generator = WriteupGenerator(platform, Path("./writeups")) generator.fetch_challenge(challenge_url=challenge_url) @@ -36,7 +36,7 @@ def crackmes(): def crackmy(): challenge_url = 'https://crackmy.app/crackmes/yet-another-packer-v1-5514' - # platform = CrackmyPlatform(config_file="crackmy.json") + # platform = CrackmyPlatform(config_file="./config/crackmy.json") platform = CrackmyPlatform() generator = WriteupGenerator(platform, Path("./writeups")) @@ -46,7 +46,7 @@ def crackmy(): def cattheflag(): challenge_url = 'https://cattheflag.org/defis/reverse2.php' - platform = CatTheFlagPlatform(config_file="catthefile.json") + platform = CatTheFlagPlatform(config_file="./config/catthefile.json") generator = WriteupGenerator(platform, Path("./writeups")) generator.fetch_challenges() # Mandatory to get every information about a specific challenge for this platform @@ -67,7 +67,7 @@ def imaginaryctf(): def rootme(): challenge_url = 'https://www.root-me.org/fr/Challenges/Cracking/ELF-x86-0-protection' - platform = RootMePlatform(config_file="rootme.json") + platform = RootMePlatform(config_file="./config/rootme.json") generator = WriteupGenerator(platform, Path("./writeups")) generator.fetch_challenge(challenge_url=challenge_url) @@ -80,4 +80,4 @@ def rootme(): # crackmy() # cattheflag() # imaginaryctf() -rootme() \ No newline at end of file +# rootme() \ No newline at end of file