Answer the question
In order to leave comments, you need to log in
Is it possible to write an antivirus in python?
Good afternoon, I'm interested in antiviruses.
Running around the expanses of the Toaster, I didn’t really find anything, is it possible to create an antivirus in python.
Since I am learning python and maybe it will become my main language, I want to know if it is possible to make an
antivirus in python? And in general, is it worth climbing into the field of information security with the python language?
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
1. Theoretically, you can write an antivirus. But for a more or less sane antivirus, you need performance and access to lower-level things than Python allows out of the box.
Many Python libraries are wrappers for C/C++ libraries. And in C / C ++ code, assembler inserts can generally be used. In this sense, in Python you can throw in a call to any low-level code.
Everything that is necessary for writing an antivirus should have a free implementation in C / C ++ long ago and be in the public domain. A lot of things can already have wrappers or bindings for Python, and what doesn't have - so with knowledge of C / C ++ they can be done.
The final Python program can rely entirely on compiled C code, so the performance is not much lower, but the possibilities are the same.
The main disadvantages of developing desktop programs in Python are:
An information security specialist must know low-level languages \u200b\u200b- assembler and C.
In addition, it is useful to know:
possible
but not very justified: you need to open / scan a bunch of files, the same Go will do it much faster
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question