Jump to content

FriendlyFiendAV v0.1


LVAC
 Share

Recommended Posts

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...