This is a virus code of clone virus in c/c++ language. virus clones itself.
You can convert it into java by making small changes that any java programmer can make out.
Before you use this virus you need to compile .
-Just select the complie option in your c compiler. DONT RUN IT OR SELECT THE RUN OPTION, I repeat dont run it.
-Now exit the compiler .
-Find the size of the .exe file generated in bytes. Replace the value of "X" with is value(in bytes).
-Now recompile it and exit.
What this virus does is it makes all the files in the current directory a virus. You need to find out the header files for yourself "FIY"as this only for educational purpose . Just remember to run this virus inside a new folder that contains no important exe and normal files . This virus will make them too as virus.
-Now recompile it and exit.
What this virus does is it makes all the files in the current directory a virus. You need to find out the header files for yourself "FIY"as this only for educational purpose . Just remember to run this virus inside a new folder that contains no important exe and normal files . This virus will make them too as virus.
Note: this code is for c/c++ programmers only, im not responsible for any of your further action. :)