Package lib :: Package cuckoo :: Package core :: Module guest :: Class GuestManager
[hide private]
[frames] | no frames]

Class GuestManager

source code

object --+
         |
        GuestManager

This class represents the new Guest Manager. It operates on the new Cuckoo Agent which features a more abstract but more feature-rich API.

Instance Methods [hide private]
 
__init__(self, vmid, ipaddr, platform, task_id, analysis_manager)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
aux(self) source code
 
get(self, method, *args, **kwargs)
Simple wrapper around requests.get().
source code
 
post(self, method, *args, **kwargs)
Simple wrapper around requests.post().
source code
 
wait_available(self)
Wait until the Virtual Machine is available for usage.
source code
 
query_environ(self)
Query the environment of the Agent in the Virtual Machine.
source code
 
determine_analyzer_path(self)
Determine the path of the analyzer.
source code
 
upload_analyzer(self, monitor)
Upload the analyzer to the Virtual Machine.
source code
 
add_config(self, options)
Upload the analysis.conf for this task to the Virtual Machine.
source code
 
start_analysis(self, options, monitor)
Start the analysis by uploading all required files.
source code
 
wait_for_completion(self) source code
 
server(self)
Currently the Physical machine manager is using GuestManager in an incorrect way.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, vmid, ipaddr, platform, task_id, analysis_manager)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

aux(self)

source code 
Decorators:
  • @property

determine_analyzer_path(self)

source code 

Determine the path of the analyzer. Basically creating a temporary directory in the systemdrive, i.e., C:\.

start_analysis(self, options, monitor)

source code 

Start the analysis by uploading all required files.

Parameters:
  • options - the task options
  • monitor - identifier of the monitor to be used.

server(self)

source code 

Currently the Physical machine manager is using GuestManager in an incorrect way. This should be fixed up later but for now this workaround will do.

Decorators:
  • @property