Sample Structure Of A Virus
Code:
Virus() {
infectExecutable();
if (triggered()) {
doDamage();
}
jump to main of infected program;
} void infectExecutable() {
file = choose an uninfected executable file;
prepend V to file;
} void doDamage() { ... }
int triggered() { return (some test? 1 : 0); } Disclaimer: Please note. The above information is for educational purposes only. Any misuse of the above information is not caused due to the author of this article. Also, while those who have some idea of programming may understand the above structure, there are others who may be left clueless of what this is. If you are one of the people who have been left clueless, please ignore this part of the thread and proceed further.