what is viruses in python
Answers
Answer:
The virus infection seeks package installers on the system, and tries to infect them. It should do this only to packages which are not under source control, to avoid detection. Infecting a python code is pretty simple.
Viruses need to be agile, nimble… and high level languages like Python cannot provide the calisthenics a virus needs to move itself from one part of memory to the other. This is because high level languages do a lot of abstraction to make programming much easier.
If you want to write a virus you’ll need to learn Assembly language. Take the following piece of assembly code
mov [0xDEADBEEF], 0x0B00B1E5
That’s assembly language. We write a particular doubleword-sized value (0xB00B1E5) to a particular address (which we choose and therefore know). This is the kind of fine-grained control that viruses require but which high level languages do not provide...