semvec/pypi-packages huggingface dataset:
flag-bearer 0.2
CDC IScorE Flag Utility
License: MIT

Flag Bearer
===========
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.
git-del-br 1.0.6
Git delete merged branches
License: MIT

git-del-br
==========

|GitHub issues| |GitHub stars| |GitHub license| |PyPI|

Deleting Merged Branches

Usage:
======

::

            usage: git-del-br [-h] [-ls] [-r] [-l] [-a] [-t time] [-br branch]
                                 [-pre prefix] [-suf suffix]
            
            Tool for deleting remote and local merged branches from Git
            
            optional arguments:
              -h, --help            show this help message and exit
              -ls, --list           Lists the branches (not delete)
              -r, --remote          remove merged branches
              -l, --local           Remove local branches
              -a, --all             Removes both local and remote merged branches
              -t time, --time time  All branches after t-time which the branch is merged
                                    (in days) default = -1 means infinite days
              -br branch, --branch branch
                                    Branch from which other branches will be analysed
                                    (default = current_branch)
              -pre prefix, --prefix prefix
                                    Filter branches based on prefix
              -suf suffix, --suffix suffix
                                    Filter branches based on suffix

You can find more details about the project `here`_.

Examples:
=========

-  For listing remote merged branches which haven’t been touched since
   past 3 months (last commit was 3 months ago)

   ::

           git-del-br -ls -r -t=90

For deleting those branches

::

            git-del-br -r -t=90

-  For listing local branches which start with ``dev`` prefix

   ::

           git-del-br -ls -l -pre='dev'

For deleting those branches

::

            git-del-br -l -pre='dev'

INSTALL:
========

You can install this from pip using ``pip install git-del-br``.

CONTRIBUTION:
=============

Fork the project. Create a branch from ``master`` or ``gh-pages`` and
submit a PR to the same.

LICENSE:
========

The mighty MIT license. Please check ``LICENSE`` for more details.

.. _here: http://tusharmakkar08.github.io/git-del-br

.. |GitHub issues| image:: https://img.shields.io/github/issues/tusharmakkar08/git-del-br.svg
   :target: https://github.com/tusharmakkar08/git-del-br/issues
.. |GitHub stars| image:: https://img.shields.io/github/stars/tusharmakkar08/git-del-br.svg
   :target: https://github.com/tusharmakkar08/git-del-br/stargazers
.. |GitHub license| image:: https://img.shields.io/badge/license-MIT-blue.svg
   :target: https://raw.githubusercontent.com/tusharmakkar08/git-del-br/master/LICENSE
.. |PyPI| image:: https://img.shields.io/pypi/v/git-del-br.svg?maxAge=2592000
   :target: https://pypi.python.org/pypi/git-del-br