HTTP&Watch Global collaboration by werty

From Hack Wars Wiki

Jump to: navigation, search
Information for the basic watch with output to global Script
Script basic watch with output to global
API Watch
Cost $255
Level 1 watch
CPU Usage 5
Description Outputs the attackers IP to a global.
Output N/A


Watch:

int main(){
string IP = getTargetIP();
setGlobal(0, IP+"");
 
}



Information for the basic HTTP with output to global Script
Script basic HTTP with output to global
API HTTP
Cost $255
Level 30 HTTP
CPU Usage 10
Description Retrieves the Global and outputs to the HTTP site.
Output "Watch last triggered by: 192.168.1.117"


HTTP.Enter:

int main(){
    replaceContent("tag", "Watch last triggered by: "+getGlobal(0)+"<br />");
}
Personal tools