Sign in to follow this  
Followers 0
MHz

McAfee Command Line Scanner Gui

9 posts in this topic

#1 ·  Posted (edited)

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
1 person likes this

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

Nice idea Ahmedmb. Thanks.

AutoExtract code, has been added to v1.1.

:)

Share this post


Link to post
Share on other sites

Haha is this free McAfee?

Share this post


Link to post
Share on other sites

Haha is this free McAfee?

<{POST_SNAPBACK}>

Yes, it is free. :)

Share this post


Link to post
Share on other sites

!!! 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  
Followers 0