07.01.2013 Views

Cortana Tutorial - Armitage

Cortana Tutorial - Armitage

Cortana Tutorial - Armitage

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

host_add $address1,<br />

$address2,<br />

@addresses<br />

Adds all provided addresses. You may also<br />

specify an array of addresses to add.<br />

@ host_addresses Returns an array of all host addresses<br />

% host_data $address Returns a hash of all known data about the<br />

host_delete $address1,<br />

$address2,<br />

@addresses<br />

host.<br />

Removes all provided addresses. You may<br />

also specify an array of addresses to<br />

remove.<br />

host_import "/path/to/file" Imports a file.<br />

$ host_info $address<br />

Returns one of the keys from the host data<br />

"key"<br />

package<br />

$ host_os $address Return the operating system of the<br />

specified host<br />

$ host_os $address,<br />

Updates the operating system information<br />

"operating system",<br />

["flavor"]<br />

for the specified host. Returns the OS.<br />

@ host_services $address Returns an array of open ports<br />

$ host_session $address Returns the most recent session<br />

associated with the address that is ready<br />

for interaction.<br />

@ host_sessions $address Returns an array of session ids<br />

@% hosts Returns an array of hosts with host<br />

information<br />

% info "module type",<br />

Returns a dictionary containing<br />

"module name"<br />

information about a module.<br />

input $tab,<br />

Sets the input field of the specified text<br />

"input"<br />

tab.<br />

insert_menu $parent,<br />

Attaches a menu to the specified parent<br />

"*hook*",<br />

[arg1],<br />

[arg2]<br />

menu.<br />

isolate &function,<br />

$var => "value", ...<br />

...<br />

? ispivot $sid,<br />

Returns true if the specified address<br />

$address<br />

pivots through $sid<br />

? isroute $address,<br />

Returns true if the specified address is<br />

$route<br />

routed through $route<br />

@ job_ids Returns an array of job ids<br />

% job_info $jid Returns a dictionary with detailed<br />

information about the specified job id<br />

job_kill $jid kills the specified job id<br />

% jobs Returns a dictionary mapping job ids to a<br />

short string description<br />

launch "module type",<br />

"module name",<br />

%options<br />

Launches an arbitrary Metasploit module.<br />

launch_attack "module",<br />

Displays a module launch dialog<br />

@hosts<br />

configured to attack the specified hosts.<br />

46

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

Saved successfully!

Ooh no, something went wrong!