07.01.2013 Views

Cortana Tutorial - Armitage

Cortana Tutorial - Armitage

Cortana Tutorial - Armitage

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

heartbeat_30s A thirty second timer<br />

heartbeat_5m A five minute timer<br />

heartbeat_5s A five second timer<br />

heartbeat_60m A sixty minute timer<br />

host_add $1 = address a new host appears<br />

host_delete $1 = address a hosts disappears<br />

hosts $1 = an array of<br />

dictionaries containing<br />

host information<br />

<strong>Cortana</strong> refreshes its host information<br />

item_selected "button label", Called when an item is chosen via the<br />

$item,<br />

&prompt_list dialog. The button label is<br />

@row<br />

provided, as well as the first column of the<br />

selected row, and the contents of the selected<br />

row.<br />

locked_name Fired when this script obtains the specified<br />

lock. Passes the extra arguments from &lock<br />

when called.<br />

loot_add $1 = a dictionary<br />

containing the loot<br />

info<br />

a loot is added to the database.<br />

loots $1 = an array of all<br />

known loots<br />

loots have changed in some way.<br />

meterpreter $sid,<br />

a meterpreter command issued by this script<br />

"command + args",<br />

"output"<br />

completes.<br />

meterpreter_command $sid,<br />

"command + args",<br />

"output"<br />

the specified command finished executing.<br />

meterpreter_timeout $sid,<br />

a meterpreter command issued by this script<br />

"command + args" timed out.<br />

ready <strong>Cortana</strong>'s data is now synchronized with<br />

Metasploit. Called once per script<br />

route_add $1 = A Route object a new pivot route appears<br />

route_delete $1 = A Route object a pivot route disappears<br />

routes $1 = an array of Route <strong>Cortana</strong> refreshes its route information (for<br />

objects<br />

pivots)<br />

service_add $1 = address<br />

$2 = port<br />

a new service appears<br />

service_add_### $1 = address<br />

a particular port shows up. ### is an arbitrary<br />

$2 = port<br />

port number.<br />

service_delete $1 = address<br />

$2 = port<br />

a service disappears<br />

services $1 = an array of<br />

dictionaries<br />

representing each<br />

known service<br />

<strong>Cortana</strong> refreshes its service information<br />

session_close $1 = session id<br />

$2 = session data<br />

a session closes<br />

session_open $1 = session id a new session opens<br />

39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!