Jump to content
Sign in to follow this  
MHz

McAfee Command Line Scanner Gui

Recommended Posts

MHz

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
  • Like 1

Share this post


Link to post
Share on other sites
Ahmedmb

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
MHz

Nice idea Ahmedmb. Thanks.

AutoExtract code, has been added to v1.1.

:)

Share this post


Link to post
Share on other sites
killaz219

Haha is this free McAfee?

Share this post


Link to post
Share on other sites
MHz

Haha is this free McAfee?

<{POST_SNAPBACK}>

Yes, it is free. :)

Share this post


Link to post
Share on other sites
Ahmedmb

!!! thete error not ocare with me

i test it in 2 PC

??!!

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.