Share your repls and programming experiences

← Back to all posts
Asper Antivirus
Lethdev2019 (10)

my first repl post!

really, this project is quite simple. It took me about a day to create because i have other projects on my PC that use similar code. so it sped the GUI ahead, meaning that I did not have to do much. the modules i used were aioavast, ttkthemes (Equilux theme only!), os (os.walk). as it says IT USES A ENGINE SIMILAR/ THE SAME AS AVAST. i got that via pip as an alternative to clamd/pyclamd because they would not work.

I had to research a lot while doing this to the point i've forgotten almost every site/blog I went to.

Just want to say, that i'm fine with you copying/forking it because there are no projects that are to do with antiviruses.
aioavast is classified in python, like clamd, an antivirus or an antivirus engine. I've been pretty much self-teaching myself for a year.

please note: i have not tested this with viruses because i don't want to destroy my own computer (even with a VM) mainly because it's set only to work on it's root drive. so if it's on drive C:\ it only walks drive C:!

Feedback is appreciated.

One last question...

is there any way to make it so it can quarintine files and delete them with aioavast?

Updates

current version: version 01.00.523
new :

  • Performance increase (tkinter --> pyqt gui engine)
  • Changed theme

Reported/noticed bugs :

  • Lag/slow performance when scanning drive C:\ on windows. (fixed)
  • works faster if you minimise it (fixed)

Notices :

  • 17:50 11/11/2019
    if anyone has anything to redesign or ideas, feel free to email at:
    [email protected]

please note: i do have a SPAM blocker on, so if i don't get your email, that's why.

Commentshotnewtop
JacksonCowie (13)

Very nice, I tested this with a virus and it found it perfectly, instead of putting it into quarantine a simpler way might be to just change the file extent to something useless, like a txt. That should render it harmless.

Lethdev2019 (10)

@JacksonCowie however some viruses can activate by opening a file like a txt. (code injection)

Lethdev2019 (10)

@JacksonCowie Thanks for the comment though!

Lethdev2019 (10)

@JacksonCowie

ideas

do you have a code example on using aioavast to quarantine/ put it into a harmless extension when it finds it?

sanjaykdragon (167)

@Lethdev2019 viruses can't open when a normal file is activated, unless it is an exploit. Also @JacksonCowie , changing the file extension won't work if the file is already running.

Lethdev2019 (10)

@sanjaykdragon ok, still need something to quarintine it!

Lethdev2019 (10)

@JacksonCowie
Please may you get a screenshot of the detection (on how you found that out, it might allow me to upgrade the scanner).

AdCharity (157)

@Lethdev2019 ah sorry :( I had something to do (not that I would be much of a help really... I don't really do well unless its js). I will definitely download your antivirus though!

Lethdev2019 (10)

@AdCharity js is fine by me, will you be able to help build a interactive website using js? (using multiplayer)

AdCharity (157)

@Lethdev2019 yeah I could probably help. I would probably use some html and css as well. Also I'm in Pacific Standard Time, so it might be harder to fit in a multiplayer session. Either way, I keep repl up during and after school, so I have a pretty large range of time available. I thought I would tell you the time zone cause 6 hours ago (which is when you replied to me), it was like 2 am in the morning :D
For me, I have something to do at 7:30 PT (pacific time), so anywhere from ~3:00 to 6:00 PT I'll be good. I could help during school, but I think the teachers would get pissed.

AdCharity (157)

@Lethdev2019 ah shucks I'll have to be going soon. Tell me when you're available so I can get an idea of when I need to be ready. Btw I have stuff at ~5-7 pretty much most of the days this week

Lethdev2019 (10)

@AdCharity I'm on GMT +00:00 (Greenwich meridian time), i'll try to keep multiplayer always on.

AdCharity (157)

I think you should try to make this a desktop app! Though if you haven't tested it, I can recommend: save hard drive state -> testing it -> everything fails and computer is rigged -> restore previous state on hard drive -> :) Good work though, I can't really make real world applications.

Lethdev2019 (10)

@AdCharity I have pyinstaller! meaning i can create an .exe. however it's classified as a 'trojan' to mcaffee and 5 others. I'll use cx_freeze instead!


i have made the exe and put it in the project!

AdCharity (157)

@Lethdev2019 Nice! Honestly though I'd rather use your antivirus than mcaffee - it keeps popping up random alerts on the bottom of my screen like "your free trial has expired". I got malaware bytes, and now its saying "subscribe blah blah".

Lethdev2019 (10)

@AdCharity Thanks! BTW i'm still online! :)

AdCharity (157)

@Lethdev2019 yeah repl is kinda my life in a lot of ways

Lethdev2019 (10)

@AdCharity Nothing to be ashamed of.

Lethdev2019 (10)

@AdCharity an .exe for windows is ready (cx_freeze would not install).
It's in the project. just download antivirus.exe.

note: if you look on virustotal.com, you'll get false positives.

Lethdev2019 (10)

{number} errors found in scanning tells you how many files it could not read!
the beta version makes that irrelevant!