generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hello maintainers,
today I took the time and reproduced the CTF-Dojo. During this process, I've encountered some issues that I want to share:
- requirements.txt is missing
- litellm import missing in ctf_forge.py
- function validate_and_fix_dockerfile() does not exist anymore (imported and used in ctf_forge.py) > I have replaced the call with validate_dockerfile()
- in generation.py, the following functions and colors have to be imported:
from forge.ctf_forge import (
generate_adaptive_docker_setup,
generate_fallback_dockerfile,
generate_interpreter_fix_commands,
generate_library_fix_commands,
generate_shebang_fix_command,
get_binary_architecture,
get_category_specific_guidelines,
get_enhanced_file_analysis,
select_compatible_base_image,
detect_custom_interpreter_paths,
detect_node_files,
detect_problematic_shebangs,
detect_provided_libraries,
detect_python_files,
test_binary_library_configurations,
call_by_litllm
)
RED = "\033[91m"
GREEN = "\033[92m"
YELLOW = "\033[93m"
BLUE = "\033[94m"
RESET = "\033[0m"
Note that I copied ctf_forge into the forge directory and had to delete some functions due to circular imports.
- The default ctf chosen for the demo is "ptmcasino" instead of a true random ctf
Everything regarding the templates is confusing and I couldn't really figure out what that should achieve. It worked without them, but still curious.
I'll be running enigma+ and test some models, thank you for your work!
Metadata
Metadata
Assignees
Labels
No labels