ComputerCraft Forums

ComputerCraft => Programs => Topic started by: Hecker on Oct 22, 2023, 07:03 PM

Title: Global Antivirus
Post by: Hecker on Oct 22, 2023, 07:03 PM
Global. Antivirus : https://pastebin.com/YASSjjmp

Currently this antivirus will only run when you run it, I am working on a background launcher for global av.
It can detect speficif patterns of code within files, if there is more then 2 it is flagged. all flagged programs are deleted and a log is created `.avlog` stating the family type of malware, quill/ransomware. This currently will not stop others from planting viruses, it stops you from executing them.
Title: Global Antivirus
Post by: QuickMuffin8782 on Nov 01, 2023, 01:40 AM
Quote from: Hecker on Oct 22, 2023, 07:03 PM-snip-

This is a good attempt for an antivirus, however you can add a database of it, maybe try using Gitlab or some other platform. I'll see to get this in the OS I am making at the moment.
Title: Global Antivirus
Post by: Hecker on Nov 13, 2023, 03:11 PM
Quote from: QuickMuffin8782 on Nov 01, 2023, 01:40 AMhowever you can add a database of it, maybe try using Gitlab or some other platform.

Hi,

How would I be able to use Gitlab as a database for my current antivirus?
I've only made things locally ( as in storing via file ) so far.



Title: Global Antivirus
Post by: QuickMuffin8782 on Nov 16, 2023, 12:57 AM
Quote from: Hecker on Nov 13, 2023, 03:11 PM
Quote from: QuickMuffin8782 on Nov 01, 2023, 01:40 AMhowever you can add a database of it, maybe try using Gitlab or some other platform.
Hi,

How would I be able to use Gitlab as a database for my current antivirus?
I've only made things locally ( as in storing via file ) so far.

If you look at the API documentation, you might as well be able to use the http API feature. Here are some links you can do to set up a a database. However I do recommend you to store the information in the computer's file system in case the http service is offline.

Github API: https://docs.github.com/en/rest
\_> Note that the docs mention "REST". REST APIs are basically APIs you can use with the http API feature, so you don't need to worry as long as it works with WEB APIs
Gitlab API: https://docs.gitlab.com/ee/api/rest/
\_> Note that the docs mention "REST". REST APIs are basically APIs you can use with the http API feature, so you don't need to worry as long as it works with WEB APIs