Skip to main content

CDC IScorE Flag Utility

Project description

A small utility to help with planting IScorE flags.

Installation

The recommending way to install flag bearer is through pip:

pip install flag-bearer

You may optionally install from source by cloning the repository and running

python setup.py install

Usage

The main purpose of flag bearer is to make planting blue and red flags easier. To plant flag, start by running the following command:

flag-bearer plant

You will then be asked for your API token, you can either paste in your API token or press enter to use your credentials instead.

Flag Bearer v0.1 Enter your IScorE API Token (leave blank to use your credentials) >

If you are on red team, you will be prompted for which team you are trying to plant a flag for.

Both Red and Blue teamers will be presented with a list of flags available to place.

Pick the flag to place 0. WWW /etc/ 1. Shell /etc/ 2. DB /etc/ > 1

Enter the number next to the flag you want to plant.

At this point, if you are a Blue Teamer, or you have passed the –save flag, you will be asked what directory you wish to place the flag. NOTE: The current user must have permission to write to the specified directory. For Red Teamers, the default functionality is to print out the contents of the flag to make it easier to copy and paste.

### Download All Flags You can also download all flags for your team (Red Team: any team) using the following command:

flag-bearer download

This will create a zip file in your current directory containing the flags, the same as if you had downloaded them directly from IScorE.

### Remote You can remotely plant flags using the remote subcommand. You will need to install the remote extras: pip install flag-bearer[remote]. You can then plant a flag with the following command:

flag-beareer remote plant -H www.team11.isucdc.com -u root -P cdc -l /root/

After running this command you will be prompted just like a local plant. The command will attempt to verify that the flag has been planted by reading the flag and comparing the actual flag data.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flag-bearer-0.2.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flag_bearer-0.2-py2.py3-none-any.whl (10.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file flag-bearer-0.2.tar.gz.

File metadata

  • Download URL: flag-bearer-0.2.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flag-bearer-0.2.tar.gz
Algorithm Hash digest
SHA256 59dd06dbf25ca5d612c2a842c33b0536695a423a81505fd80a4072236ff4d037
MD5 df3f7f9a3cbc114902b10020a83326f1
BLAKE2b-256 66df0ee13d4f30b018a3bf986c8ef61f5d6fee5cab63f2ca88a8342980087bbb

See more details on using hashes here.

File details

Details for the file flag_bearer-0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for flag_bearer-0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f40a3bad436c2d46a10766ac8fc47c35a0a8caf7ea19bab1e586999b3f7483d7
MD5 dfeb17ab64f6a32ed285f992914639cf
BLAKE2b-256 4c5f94ef5c11664800ac949d67607c5a916c09de5c6ffc7267f1510386cd5ee9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page