Field description

The type of return value can be set by defining TaskResType in cna to set the type of data that will be returned by the dynamic library or executable file that is loaded and run. Specify the number or name.

     $ taskResType = "portscan";
     $ taskResType = "120001";

120001-info-Information returned normally

120002-portscan-port scan results

120003-credentials-password credentials result

120004-keystrokes-keylogger results

120005-screenshot-screenshot

120006-beaconNode-used to communicate with ExtC2 or other custom C2

120007-netModule-Network module

120008-sshBeacon-ssh connection management

Multipart results are obtained through regular matching, such as credentials:

(.*?):\d+:.*?:(.*?):::

ex: root:0:aaaaa:bbbbbb:::

results matching ""

    No results matching ""