- Nov 18, 2004
- 44
- 0
- 0
I have this code however I have no idea where to put the varibles.
Could somone explain to me where to put the varibles?
this is the top of the script.
if ($argv[2]){
$url = $argv[1];
$jj = $argv[2];
}
else {
echo "Usage: ".$argv[0]." <URL> <jj> [topic id] [man]\n\n";
echo "\tURL\t URL to site (ex: http://127.0.0.1/html)\n";
echo "\tjj\t jj to run\n";
echo "\ttop_id\t top id\n";
echo "\tman\t man\n";
exit;
}
if ($argv[3])
$top = $argv[3];
if ($argv[4])
$man = $argv[4];
---
If you are looking for help scripting an malicious exploit, look elsewhere.
AnandTech Moderator
Could somone explain to me where to put the varibles?
this is the top of the script.
if ($argv[2]){
$url = $argv[1];
$jj = $argv[2];
}
else {
echo "Usage: ".$argv[0]." <URL> <jj> [topic id] [man]\n\n";
echo "\tURL\t URL to site (ex: http://127.0.0.1/html)\n";
echo "\tjj\t jj to run\n";
echo "\ttop_id\t top id\n";
echo "\tman\t man\n";
exit;
}
if ($argv[3])
$top = $argv[3];
if ($argv[4])
$man = $argv[4];
---
If you are looking for help scripting an malicious exploit, look elsewhere.
AnandTech Moderator
