Cortana Tutorial - Armitage
Cortana Tutorial - Armitage
Cortana Tutorial - Armitage
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Appendix B. <strong>Cortana</strong> Filters<br />
Filter Name Arguments Called When...<br />
console_style "style data" This filter allows you to modify a style<br />
sheet before it is assigned to a normal<br />
console.<br />
event_style "style data" This filter allows you to modify a style<br />
sheet before it is assigned to an event log<br />
exploit $1 = module<br />
$2 = target<br />
$3 = %options<br />
host_describe "description",<br />
%host_data<br />
host_image @images,<br />
%host_data<br />
menu_item $parent,<br />
"title",<br />
'accelerator'<br />
&closure<br />
menu_parent $parent,<br />
"title",<br />
module_execute<br />
module_compatible_payloads<br />
...<br />
'accelerator'<br />
user_launch "type",<br />
"module",<br />
%options<br />
console.<br />
Fired when a user launches a remote<br />
exploit.<br />
A filter to rewrite the description of a host<br />
in the table and graph display. Return a<br />
description.<br />
A filter to modify how host icons are<br />
displayed. Add a path to your image to the<br />
end of @images to display. Your image<br />
should be 1000x766px. <strong>Armitage</strong> will<br />
cache and resize your image for you.<br />
Every menu item added passes through<br />
this filter. Replace $2 with your own title<br />
and $4 with your own closure to replace a<br />
built-‐in menu.<br />
...<br />
.... Any call to Metasploit's RPC server may<br />
be intercepted with a filter. Simply<br />
replace periods in the name with an<br />
underscore. So module.execute is<br />
module_execute. The arguments to the<br />
RPC server are passed directly.<br />
A filter to modify a module and its<br />
parameters (launched by a user action)<br />
before it launches.<br />
42