ctfsolver.cli.subcli.ctf¶
Attributes¶
Functions¶
|
Create the folder structure as specified by the global configuration. |
|
Create a new CTF challenge structure. |
|
Automatically move downloaded CTF files to their respective challenge folders. |
|
Navigate CTF categories/sites and list subdirectories. |
|
Link CTF folders (implementation TBD). |
|
Find usage of a specific import statement in project files. |
Initialize challenge configuration in the current directory. |
Module Contents¶
- create(category=typer.Option(..., '-c', '--category', help='Category for the operation'), site=typer.Option(..., '-s', '--site', help='Site inside the category'), name=typer.Option(..., '-n', '--name', help='Name of the CTF challenge'), checker=typer.Option(False, '-y', '--checker', help='Checker for the CTF challenge'), download=typer.Option(False, '-d', '--download', help='Auto move downloaded files'), verbose=typer.Option(False, '-v', '--verbose', help='Verbose output'))[source]¶
Create a new CTF challenge structure.
- automove(checker=typer.Option(False, '-y', '--no-check', help='No checking'), verbose=typer.Option(False, '-v', '--verbose', help='Verbose output'))[source]¶
Automatically move downloaded CTF files to their respective challenge folders.
- show(category=typer.Option(..., '-c', '--category', help='Category for the operation'), site=typer.Option(..., '-s', '--site', help='Site inside the category'))[source]¶
Navigate CTF categories/sites and list subdirectories.