app.contacts namespace¶
Submodules¶
app.contacts.contact_gist module¶
-
class
app.contacts.contact_gist.
Contact
(services)¶ Bases:
app.utility.base_world.BaseWorld
-
class
GistUpload
(upload_id, filename, num_chunks)¶ Bases:
object
-
add_chunk
(chunk_index, contents)¶
-
export_contents
()¶
-
is_complete
()¶
-
-
async
get_beacons
()¶ Retrieve all GIST beacons for a particular api key :return: the beacons
-
async
get_results
()¶ Retrieve all GIST posted results for a this C2’s api key :return:
-
async
get_uploads
()¶ Retrieve all GIST posted file uploads for this C2’s api key :return: list of (raw content, gist description, gist filename) tuples for upload GISTs
-
async
gist_operation_loop
()¶
-
async
handle_beacons
(beacons)¶ Handles various beacons types (beacon and results)
-
async
handle_uploads
(upload_gist_info)¶
-
retrieve_config
()¶
-
async
start
()¶
-
async
valid_config
()¶
-
class
-
app.contacts.contact_gist.
api_access
(func)¶
app.contacts.contact_html module¶
-
class
app.contacts.contact_html.
Contact
(services)¶ Bases:
app.utility.base_world.BaseWorld
-
async
start
()¶
-
async
app.contacts.contact_http module¶
-
class
app.contacts.contact_http.
Contact
(services)¶ Bases:
app.utility.base_world.BaseWorld
-
async
start
()¶
-
async
app.contacts.contact_tcp module¶
-
class
app.contacts.contact_tcp.
Contact
(services)¶ Bases:
app.utility.base_world.BaseWorld
-
async
operation_loop
()¶
-
async
start
()¶
-
async
-
class
app.contacts.contact_tcp.
TcpSessionHandler
(services, log)¶ Bases:
app.utility.base_world.BaseWorld
-
async
accept
(reader, writer)¶
-
async
refresh
()¶
-
async
send
(session_id, cmd)¶
-
async
app.contacts.contact_udp module¶
-
class
app.contacts.contact_udp.
Contact
(services)¶ Bases:
app.utility.base_world.BaseWorld
-
async
start
()¶
-
async