TuoniJob

class tuoni.TuoniJob(conf, c2)[source]

A class that provides data and functionality for a job.

job_id

The unique identifier of the job.

Type:

int

name

Name of the job.

Type:

str

status

Status of the job.

Type:

str

source

Source for the job.

Type:

dict

supportedActions

What actions are allowed on the job.

Type:

list

openResources

What resources are open related to this job.

Type:

list

messages

Messages related to job.

Type:

list

createEvent

Event about job creation.

Type:

TuoniEvent

lastUpdateEvent

Event about last job update.

Type:

TuoniEvent

pause()[source]

Run pause operation on the job.

reload()[source]

Reload the command data from the C2 server.

restart()[source]

Run restart operation on the job.

resume()[source]

Run resume operation on the job.