Jump to content
Sign in to follow this  
MHz

McAfee Command Line Scanner Gui

Recommended Posts

A friend did up a Gui code for McAfee Commandline scanner. I was asked to make action code for it. Well, I optimized alittle and made some working code. So, for any McAfee lovers, this is for you. :)

Requirements: Download SuperDat file from http://www.mcafeesecurity.com/us/downloads...es/superdat.asp for scanning operation.

McAfee_Gui_v1.1.zip

Edit: v1.1 - Added Ahmedmb's AutoExtract code.

Edit: Updated to follow new line continuation methods.

Edited by MHz

Share this post


Link to post
Share on other sites

Edit : Auto Extract Sdat

#Region - Startup Checks

    $search = FileFindFirstFile("sdat*.*")  
    If $search = -1 Then
        If Not FileExists(@ScriptDir & '\Files') Then
            MsgBox(0, "Error", "Download SuperDat file from " @CRLF "http://www.mcafeesecurity.com/us/downloads/updates/superdat.asp " @CRLF " in folder: " & @ScriptDir)
            Exit
        EndIf
    Else
        $file = FileFindNextFile($search) 
        If Not FileExists(@ScriptDir & '\Files') Then DirCreate(@ScriptDir & '\Files')
        FileCopy($file,@ScriptDir & '\Files')
        RunWait(@ScriptDir & '\Files\' & $file & ' /e') 
        FileDelete(@ScriptDir & '\Files\' & $file)
    EndIf

If Not FileExists(@ScriptDir & '\Files\Scan.exe') Then
    MsgBox(262160, 'McAfee Command Line Scanner', 'Scan.exe not found in Files folder')
    Exit
EndIf
#EndRegion

:)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...