Sinisterly
Batch tut VERY SIMPLE "virus" - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: Batch tut VERY SIMPLE "virus" (/Thread-Batch-tut-VERY-SIMPLE-virus)



Batch tut VERY SIMPLE "virus" - sante60 - 11-18-2011

This is SO SIMPLE that im going to just show the code:

@echo off
:top
start notepad.exe
goto top


Batch tut VERY SIMPLE "virus" - sante60 - 11-18-2011

This is SO SIMPLE that im going to just show the code:

@echo off
:top
start notepad.exe
goto top


RE: Batch tut VERY SIMPLE "virus" - 1234hotmaster - 11-18-2011

You SERIOUSLY call this a virus?


RE: Batch tut VERY SIMPLE "virus" - sante60 - 11-19-2011

(11-18-2011, 10:17 PM)1234Darkmaster Wrote: You SERIOUSLY call this a virus?

Well not really Tongue


RE: Batch tut VERY SIMPLE "virus" - SPG.WoLF_TSC - 11-19-2011

I was able to write this, when I was 5 years old. Then the knowledge disappeared and I learned Batch again (more than before). That is NOT a virus, the name of the thread must be changed. And it should be also in the Batch/Shell scripting forum, I think.


RE: Batch tut VERY SIMPLE "virus" - dropzon3 - 04-30-2014

1. A virus needs to replicate itself by injecting itself into other files/processes. So this is just kinda malware.

2. This is kinda a forkbomb...you can do this much more effectively with the batch code:

Code:
%0|%0

Which attempts to execute itself twice(each process then tries to execute itself twice...)) leading to resource exhaustion.


RE: Batch tut VERY SIMPLE "virus" - Deque - 04-30-2014

Thread is three years old. -closed-