-
-
Notifications
You must be signed in to change notification settings - Fork 112
AVZ: Scan for vulnerabilities
Stanislav Polshyn edited this page Jul 18, 2020
·
6 revisions
Run the script in AVZ while the Internet is connected:
var
LogPath : string;
ScriptPath : string;
begin
LogPath := GetAVZDirectory + 'log\avz_log.txt';
if FileExists(LogPath) Then DeleteFile(LogPath);
ScriptPath := GetAVZDirectory +'ScanVuln.txt';
if DownloadFile('http://dataforce.ru/~kad/ScanVuln.txt', ScriptPath, 1) then ExecuteScript(ScriptPath) else begin
if DownloadFile('http://dataforce.ru/~kad/ScanVuln.txt', ScriptPath, 0) then ExecuteScript(ScriptPath) else begin
ShowMessage('It is impossible to download AVZ script for finding vulnerability!');
exit;
end;
end;
if FileExists(LogPath) Then ExecuteFile('notepad.exe', LogPath, 1, 0, false)
end.
After script ends and if it finds vulnerabilities, avz_log.txt file will be open in the Notepad and contains download links.
First of all, it depends on browsers, Java, Adobe Acrobat/Reader, and Adobe Flash Player.
You must download and install needful programs if they exist in avz_log.txt.
Reboot your PC. Run the script again to ensure that all vulnerabilities are gone.
Have a nice day, your HJT team.