shadowbrokers-exploits/windows/Resources/Ep/Scripts/echo.eps
2017-04-14 11:45:07 +02:00

20 lines
No EOL
324 B
PostScript

bool $showUsage=false;
if ($argc <= 1) {
$showUsage = true;
} else if ($argv[1] == "?") {
$showUsage = true;
} else {
int $i=1;
while ($i < $argc) {
echo "$argv[$i]";
$i++;
}
}
if ($showUsage) {
echo "Usage: $argv[0] <text to echo>";
echo " echo text to the screen";
}
return true;