initialized as project
This commit is contained in:
29
README.md
29
README.md
@@ -0,0 +1,29 @@
|
|||||||
|
# CTF toolchain for linux
|
||||||
|
This project is meant to be an ai-enhancing ctf toolchain to track your work and help you faster
|
||||||
|
The system keeps track of your file history, current ctf, challenge catagory, etc to make it easy to provide AI with the context to give you the right answer
|
||||||
|
The focus is on building a solid methodology to solve any problem.
|
||||||
|
|
||||||
|
|
||||||
|
# Dev flow
|
||||||
|
## initialize a competition
|
||||||
|
Take user input (eventually screenshots) and generate a new competition directory with directories for each catagory
|
||||||
|
## Initialize a challenge
|
||||||
|
Make a new challenge directory and cd into it
|
||||||
|
Review recently downloaded files, and add challenge files
|
||||||
|
## Progress tracker
|
||||||
|
Generate an active log file from command history
|
||||||
|
Accept user prompts to inform history
|
||||||
|
- finished (challenge finished)
|
||||||
|
- begin route (start a new path of exploration)
|
||||||
|
- help (prompts AI with challenge and progress to give reliable and relevant help)
|
||||||
|
- success (current path succeeded with previously run command)
|
||||||
|
- context (add context at this point in the log)
|
||||||
|
## Built in scripts and libraries
|
||||||
|
- built in rapid forensics testing and flag analysis based on context
|
||||||
|
## Write up aid
|
||||||
|
Shows all of your quickly commented notes
|
||||||
|
Creates prompt for AI to generate a write up showing your process
|
||||||
|
- feedback (generates feedback on your work flow and suggests improvements)
|
||||||
|
|
||||||
|
# Misc
|
||||||
|
the end goal is to create a methodology solid enough to build out a full AI tool chain around it while allowing tight human integration
|
||||||
|
|||||||
8
config.toml
Normal file
8
config.toml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#config
|
||||||
|
#file with global options
|
||||||
|
#key = "val"
|
||||||
|
[CTF-DATA]
|
||||||
|
current-challenge = "testChal"
|
||||||
|
current-comp = "testComp"
|
||||||
|
key-format = "SKY-aaaa-0000"
|
||||||
|
#comments ignored
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "ctf"
|
name = "ctf"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
description = "Add your description here"
|
description = "An AI enhanced CTF toolchain"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.14"
|
requires-python = ">=3.14"
|
||||||
dependencies = []
|
dependencies = []
|
||||||
|
|||||||
2
src/__init.py__
Normal file
2
src/__init.py__
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# Initialize the projcet (make a package)
|
||||||
|
# src/__init.py__
|
||||||
9
src/commands.py
Normal file
9
src/commands.py
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# functions for commands needed
|
||||||
|
# src/commands.py
|
||||||
|
import os
|
||||||
|
|
||||||
|
# Read variables
|
||||||
|
|
||||||
|
# Initialize a challenge
|
||||||
|
## Copy files into directory
|
||||||
|
## add section to log
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
# src/main.py
|
||||||
|
# Parses and calls commands
|
||||||
def main():
|
def main():
|
||||||
print("Hello from ctf!")
|
print("Hello from ctf!")
|
||||||
|
|
||||||
Reference in New Issue
Block a user