ctfsolver.cli.subcli.ctf

Attributes

Functions

folders()

Create the folder structure as specified by the global configuration.

create([category, site, name, checker, download, verbose])

Create a new CTF challenge structure.

automove([checker, verbose])

Automatically move downloaded CTF files to their respective challenge folders.

show([category, site])

Navigate CTF categories/sites and list subdirectories.

link()

Link CTF folders (implementation TBD).

find_usage([directory])

Find usage of a specific import statement in project files.

init_challenge()

Initialize challenge configuration in the current directory.

Module Contents

ctf_app[source]
manager_error[source]
manager_file[source]
challenge_config[source]
folders()[source]

Create the folder structure as specified by the global configuration.

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.

Parameters:
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.

Parameters:
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.

Parameters:

Link CTF folders (implementation TBD).

find_usage(directory=typer.Option(None, help='Directory for the operation'))[source]

Find usage of a specific import statement in project files.

Parameters:

directory (str)

init_challenge()[source]

Initialize challenge configuration in the current directory.