This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-02-01 15:28:19

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Making a batch file.

This batch file.... well... look at the code for yourself.

20GOTO10.bat

Code:

@echo off
start 20GOTO10.bat
:10
echo GIMMEADOLLAR
start 20GOTO10.bat
:20
echo NEVERRRRRRRR
goto 10

I AM NOT RESPONSIBLE FOR ANY LOST DATA OR MENTAL SCARRING.

First person to see what this is and say it gets an e-cookie.  big_smile

Last edited by waveOSBeta (2012-02-01 15:29:02)


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#2 2012-02-01 15:32:56

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Making a batch file.

It's an infinite program, it'll run forever and probably eventually crash your computer.

infinite.bat

Code:

:10
start infinite.bat
goto 10

It'll just keep starting a new program indefinitely.

Offline

 

#3 2012-02-01 15:36:18

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: Making a batch file.

Magnie wrote:

It's an infinite program, it'll run forever and probably eventually crash your computer.

infinite.bat

Code:

:10
start infinite.bat
goto 10

It'll just keep starting a new program indefinitely.

yikes

Simplified! xD

And, it did crash my comp. I made an antidote, though.  tongue

Antidote.bat

Code:

@echo off
ren 20GOTO10.bat 314GOTO42.bat
timeout /t 2 /NOBREAK
ren 314GOTO42.bat 20GOTO10.bat

http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#4 2012-02-01 15:54:24

poopo
Scratcher
Registered: 2009-09-20
Posts: 1000+

Re: Making a batch file.

What is the point of this?


http://i45.tinypic.com/28rnqki.jpg

Offline

 

#5 2012-02-01 16:39:06

fire219
Scratcher
Registered: 2008-02-07
Posts: 1000+

Re: Making a batch file.

poopo wrote:

What is the point of this?

It is a "fork bomb" (A program that keeps opening itself). If you open it, it will open itself, again and again, and the copies of itself open itself too, and so on. It will eventually crash the computer it is run on.


http://bluetetrarpg.x10.mx/usercard/img.php?name=fire219

Offline

 

#6 2012-02-01 16:47:38

rabbit1131
Scratcher
Registered: 2009-10-16
Posts: 1000+

Re: Making a batch file.

For the noobs sake...
Post a warning in the OP


The Intergalactic Adventures of Revesilia! I hope you will partake in this gigantic undertaking, to build the sequel to the hit map The Adventures of Revesilia! The Intergalactic Adventures of Revesilia Map Builders Application thread! http://internetometer.com/image/35004.png

Offline

 

#7 2012-02-01 16:55:42

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: Making a batch file.

rabbit1131 wrote:

For the noobs sake...
Post a warning in the OP

I did! XD


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#8 2012-02-01 17:01:11

poopo
Scratcher
Registered: 2009-09-20
Posts: 1000+

Re: Making a batch file.

Why not just write a real virus.  tongue


http://i45.tinypic.com/28rnqki.jpg

Offline

 

#9 2012-02-01 17:10:36

fire219
Scratcher
Registered: 2008-02-07
Posts: 1000+

Re: Making a batch file.

poopo wrote:

Why not just write a real virus.  tongue

A fork bomb takes only a few lines of code in the programming language of your choice. A virus (that steals stuff) is a little harder, and take a little more time and code (except for the SQL Slammer, which was basically an DoS attack that doesn't take a botnet).


http://bluetetrarpg.x10.mx/usercard/img.php?name=fire219

Offline

 

#10 2012-02-01 17:12:02

poopo
Scratcher
Registered: 2009-09-20
Posts: 1000+

Re: Making a batch file.

fire219 wrote:

poopo wrote:

Why not just write a real virus.  tongue

A fork bomb takes only a few lines of code in the programming language of your choice. A virus (that steals stuff) is a little harder, and take a little more time and code (except for the SQL Slammer, which was basically an DoS attack that doesn't take a botnet).

What about DEL.
You could just delete startup files.


http://i45.tinypic.com/28rnqki.jpg

Offline

 

#11 2012-02-01 17:18:33

fire219
Scratcher
Registered: 2008-02-07
Posts: 1000+

Re: Making a batch file.

poopo wrote:

fire219 wrote:

poopo wrote:

Why not just write a real virus.  tongue

A fork bomb takes only a few lines of code in the programming language of your choice. A virus (that steals stuff) is a little harder, and take a little more time and code (except for the SQL Slammer, which was basically an DoS attack that doesn't take a botnet).

What about DEL.
You could just delete startup files.

Viruses are meant to steal passwords, or other stuff. Deleting system32 or anything else doesn't help you do that. That is, unless, the point of the virus is to bring down corporate networks (the point of the SQL Slammer). In that case, then there is no point to do much more than "DEL C:/Windows/System32".  tongue


http://bluetetrarpg.x10.mx/usercard/img.php?name=fire219

Offline

 

#12 2012-02-01 17:29:55

poopo
Scratcher
Registered: 2009-09-20
Posts: 1000+

Re: Making a batch file.

fire219 wrote:

poopo wrote:

fire219 wrote:


A fork bomb takes only a few lines of code in the programming language of your choice. A virus (that steals stuff) is a little harder, and take a little more time and code (except for the SQL Slammer, which was basically an DoS attack that doesn't take a botnet).

What about DEL.
You could just delete startup files.

Viruses are meant to steal passwords, or other stuff. Deleting system32 or anything else doesn't help you do that. That is, unless, the point of the virus is to bring down corporate networks (the point of the SQL Slammer). In that case, then there is no point to do much more than "DEL C:/Windows/System32".  tongue

Oh I guess I wasn't clear what a virus was.  smile


http://i45.tinypic.com/28rnqki.jpg

Offline

 

#13 2012-02-01 22:46:33

schnrfl
Scratcher
Registered: 2011-10-11
Posts: 500+

Re: Making a batch file.

once again
i present to you
the DOUBLE MOBIUS REACHAROUND VIRUS

bifurcate THIS[THIS, THIS];
import universe U1;
import universe U2;

~ATH(U1) {

    ~ATH(!U2) {

} EXECUTE(~ATH(THIS){}EXECUTE(NULL));

    } EXECUTE(~ATH(THIS){}EXECUTE(NULL));

[THIS, THIS].DIE();

and all the fancy coloring blah blah

Last edited by schnrfl (2012-02-01 22:46:43)


opposable thumbs • ubc • dvorak • help
sprach eˣius//Foresson

Offline

 

#14 2012-02-02 00:33:32

jji7skyIine
New Scratcher
Registered: 2011-06-05
Posts: 15

Re: Making a batch file.

Me? I have a mac  cool

Offline

 

#15 2012-02-02 00:48:00

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Making a batch file.

just do this lol:

Code:

:start
cmd
goto start

make sure you have saved your work otherwise your computer will run out of memory and crash... if you want to make it better, change "cmd" to "start NameOfThisFile.bat"....
even better, if your an administrator, you can put it in other peoples startup folder or make it run when they click something like Internet Explorer (or any other browser) or their Email client.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#16 2012-02-02 00:55:51

Magmawulf
New Scratcher
Registered: 2012-01-14
Posts: 80

Re: Making a batch file.

jji7skyIine wrote:

Me? I have a mac  cool

Don't worry - that's easily fixed!

Offline

 

#17 2012-02-02 01:04:13

jji7skyIine
New Scratcher
Registered: 2011-06-05
Posts: 15

Re: Making a batch file.

Magmawulf wrote:

jji7skyIine wrote:

Me? I have a mac  cool

Don't worry - that's easily fixed!

Yes, it's easier to fix than a Win  wink

Offline

 

#18 2012-02-02 01:07:58

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: Making a batch file.

Code:

@echo off
:Begin
msg * Hi
msg * How are you?
msg * I'm great, thanks.
msg * I think I know who you are.
msg * What? Oh, of course.
msg * :D
msg * TROLOLOLOL
msg * Don't be mean!
msg * LOL
msg * Yes, I know
msg * Hello
msg * Don't you like me?
msg * :)
msg * Hi!!!!
msg * Hey, stop ignoring me!
msg * OK, by now this is ridiculous.
GOTO BEGIN
@echo on

SO annoying.  tongue


http://trinary.tk/images/signature_.php

Offline

 

#19 2012-02-02 01:11:21

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Making a batch file.

trinary wrote:

Code:

@echo off
:Begin
msg * Hi
msg * How are you?
msg * I'm great, thanks.
msg * I think I know who you are.
msg * What? Oh, of course.
msg * :D
msg * TROLOLOLOL
msg * Don't be mean!
msg * LOL
msg * Yes, I know
msg * Hello
msg * Don't you like me?
msg * :)
msg * Hi!!!!
msg * Hey, stop ignoring me!
msg * OK, by now this is ridiculous.
GOTO BEGIN
@echo on

SO annoying.  tongue

lol msg isn't in windows 7 i don't think... although there are alternatives that allow text input and stuff... also i think ubuntu and some other linux os have something like that in shell scripts.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

Board footer