Module Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias If CompareEq NameLoad Str body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Num If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body ImportFrom alias Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad Call NameLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Expr Call NameLoad Num Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Num
N/A N/A sys argparse RawDescriptionHelpFormatter ArgumentParser stoq.core Stoq stoq.shell StoqShell stoq.logo print_logo N/A N/A __name__ __main__ N/A N/A stoq N/A Stoq argv N/A sys argv N/A parser N/A ArgumentParser formatter_class RawDescriptionHelpFormatter description N/A print_logo usage 
    %(prog)s [command] [<args>]

    Available Commands:
        help    Display help message
        shell   Launch an interactive shell
        list    List available plugins
        worker  Load specified worker plugin
        install Install a stoQ plugin
     epilog 
    Examples:

        - Scan a file with yara:

        $ %(prog)s yara -F mybadfile.exe

        - Monitor a directory for newly created files in the new_files
          directory, send them to workers, and archive the file into MongoDB:

        $ %(prog)s publisher -I dirmon -F new_files/ -w yara -w trid -w exif -A mongodb 

        - Start workers, ingest from RabbitMQ, and save results to file:

        $ %(prog)s yara -C file -I rabbitmq &
        $ %(prog)s trid -C file -I rabbitmq &
        $ %(prog)s exif -C file -I rabbitmq &

        - Install a plugin from a directory

        $ %(prog)s install path/to/plugin_directory

     N/A N/A N/A parser add_argument command help Subcommand to be run N/A options N/A N/A parser parse_args N/A N/A stoq argv N/A 1 2 N/A N/A N/A N/A options command N/A N/A options command help N/A N/A N/A N/A parser print_help N/A N/A N/A N/A options command list N/A N/A N/A N/A stoq list_plugins N/A N/A N/A N/A options command install N/A stoq.plugins StoqPluginInstaller N/A installer N/A StoqPluginInstaller stoq N/A N/A N/A installer install N/A N/A N/A N/A options command shell N/A N/A N/A N/A N/A StoqShell stoq cmdloop N/A N/A worker N/A N/A stoq load_plugin N/A options command worker N/A N/A worker N/A N/A N/A exit -1 N/A N/A N/A worker run N/A N/A exit 0