Sign in to follow this  
Followers 0
LVAC

FriendlyFiendAV v0.1

6 posts in this topic

#1 ·  Posted (edited)

This is my small Anti-Virus software, coded for fun

Edited by Jos
link removed

Share this post


Link to post
Share on other sites



Couple of questions:

- Why do you include DLL's that also come with the OS like kernel.dll?

- Why do you delete each file in the Loop after writing to the LOG file?

While 1
        $m = GUIGetMsg()
        If $m = $GUI_EVENT_CLOSE Then
            Exit
        EndIf
        $filename = FileFindNextFile($start)
        If @error Then
            ExitLoop
        EndIf
        $count += 1
        GUICtrlSetData($prog, $count / $total * 100)
        GUICtrlSetData($sta, $pth & $filename)
        If Not StringInStr(FileGetAttrib($pth & $filename), 'D') Then
            $md5 = HashMD5($pth & $filename)
        EndIf
        If StringInStr($db, $md5) Then
            For $i = 1 To $part[0]
                If $part[$i] = $md5 Then
                    $vname = $part[$i - 1]
                EndIf
            Next
            GUICtrlSetData($virus, "Threat found!")
            GUICtrlCreateListViewItem($vname & "|" & $pth & $filename, $list)
        EndIf
        FileWriteLine("scan.log", $pth & $filename)
        $del = FileDelete($pth & $filename)
        If $del = 0 Then
            $alrt = MsgBox(4 + 262144 + 16, "Virus Found!", "Location : " & $pth & $filename & @CRLF & @CRLF & "Virus name: " & $vname, "", $gui)
            If $alrt = 6 Then
                _RunDOS('DEL ' & '"' & $pth & $filename & '" /F /Q')
            EndIf
        EndIf
        If StringInStr(FileGetAttrib($pth & $filename), "D") Then
            Scan($pth & $filename)
        EndIf
    WEnd
EndFunc   ;==>Scan

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

This is my small Anti-Virus software, coded for fun

And about: MDF.DLL ?!?!?

Searching in google, I found:

This MDF.DLL Malware Research Report contains MDF.DLL findings.
MDF.DLL Malware details! Got Spyware? Remove it here and download free tools to protect your online Privacy.
www.spywaredata.com/spyware/malware/mdf.dll.php
Edited by Jos
link removed

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

no no! MDF.dll is advapi.dll (a window API dll), I renamed it for fun.

I didn't know that it is a malware's dll.

Please restore my link!

Edited by LVAC

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

no no! MDF.dll is advapi.dll (a window API dll), I renamed it for fun.

I didn't know that it is a malware's dll.

Please restore my link!

You didn't answer the questions of the jos:

- Why do you include DLL's that also come with the OS like kernel.dll?

- Why do you delete each file in the Loop after writing to the LOG file?

All installation of the Microsoft Windows includes those two DLLs!!!

Why we have to use the DLLs did you post?

This topic should be closed, I already saw several that for little thing were closed...

Edited by jscript

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

As I mentioned in the PM: This is not a project that should be shared here for the simple reason you are distributing system DLL's with your script which will cause problems on different OSes and future patches.

*click*

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0