covertutils.payloads.generic package

Submodules

covertutils.payloads.generic.control module

covertutils.payloads.generic.control.init(storage)[source]
covertutils.payloads.generic.control.work(storage, message)[source]

covertutils.payloads.generic.echo module

covertutils.payloads.generic.echo.work(storage, message)[source]

covertutils.payloads.generic.example module

This code isn’t really useful and it is meant to be a guide for making custom stages using the covertutils API

covertutils.payloads.generic.example.init(storage)[source]
Parameters:storage (dict) – The storage object is the only persistent object between runs of both init() and work(). It is treated as a “Local Storage” for the stage.
Returns:This function must always return True if the initialization is succesfull. If False values are returned the stage doesn’t start and work() is never called.
covertutils.payloads.generic.example.work(storage, message)[source]
Parameters:
  • storage (dict) – The storage object is the only persistent object between runs of both init() and work(). It is treated as a “Local Storage” for the stage.
  • message (str) – The data sent from the Handler to that stage.
Return type:

str

Returns:

The response to message that arrived. This exact response will reach the Handler in the other side.

covertutils.payloads.generic.file module

covertutils.payloads.generic.file.work(storage, message)[source]

covertutils.payloads.generic.info module

covertutils.payloads.generic.pythonapi module

covertutils.payloads.generic.pythonapi.work(storage, message)[source]

covertutils.payloads.generic.shell module

covertutils.payloads.generic.shell.work(storage, message)[source]

covertutils.payloads.generic.shellprocess module

covertutils.payloads.generic.shellprocess.init(storage)[source]
covertutils.payloads.generic.shellprocess.work(storage, message)[source]

Module contents