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

33 lines
612 B
PostScript

#--------------------------------------------------------
# File: VerifyRunning.eps
#
# Wrapper script to verify BehavePeking tools are running
#
# Modifications:
# 29 Aug 2005 Created.
#--------------------------------------------------------
@include "_DriverIncludes.epm";
@echo off;
if ($argc != 2) {
echo "Usage: $argv[0] <driverName>";
return false;
}
string $driver = $argv[1];
bool $valid = true;
# check for driver
ifnot (_DriverVerifyRunning($driver)) {
$valid = false;
}
# check for exe
ifnot (`dp_running`) {
$valid = false;
}
return $valid;