Return Entire Thread First 100 Posts Prev 100 Next 100 Last 50 Posts Report Thread Style: Yotsuba, Pseud0ch, Terminal

Pages: 1-40 41-80 81-120 121-160 161-

imgboard . php

1

So I was browsing /b/ when it crashed, and a download popped up for imgboard.php

http://pastebin.com/m2c2883d7

Haven't gotten a chance to look through it yet. Is this win?

2

looks like im retarded, i guess it was always available here:

http://dat.4chan.org/b/imgboard.php

3

hey thats pretty l33t man maybe i will let u join my private hacking clan if u payme enough ;)

4

sage for lack of anus haxing

5

A page break had been inserted between the malicious script and the legitimate script, making it less obvious.

6

extract($_POST);
extract($_GET);
extract($_COOKIE);


Is this really from 4chan?

7

if(PARTY==1) {
    $dat .= "<img src='http://img.4chan.org/xmashat.gif' style='position:absolute;margin-top:-100px;left:0px;'>";
}

8

Lines 1947-2005 are particularly intriguing, and also prove that the mods hack the board to enlarge their e-penises.
Also, holy sheepshit the whole damn thing is one file, and mostly one function.

11

I remember when this happening way back too, some guy made a thread about which got pretty instantly removed but I had the time to go through the code. You could find this cute little sequence of preg_replaces which Snacks used to do his wordfilters with.

12

:getprophet:

14

function make_american($com) {
    if (stripos($com, "america")!==FALSE) return $com; //already american
   
    $com = rtrim($com);
    $end = '!';
   
    if ($com == "") return $com;

    if (preg_match("/([.!?])$/", $com, $matches)) {$end = $matches[1]; $com = substr($com, 0, -1);}
   
    $com .= " IN AMERICA".$end;
   
    return $com;
}

lolwut

16

>>14
You'd recognize what that code does if you'd lurked /b/ back in the day IN AMERICA!

17

>>16
By back in the day I assume you mean after 2006.

18

This is pretty much all of 4chan we are looking at

19

oh god this is terrible!

mixing HTML, CSS, PHP, and SQL like that should be a crime.

20


switch ($size[2]) {
      case 1 : $ext=".gif";break;
      case 2 : $ext=".jpg";break;
      case 3 : $ext=".png";break;
      case 4 : $ext=".swf";error(S_UPFAIL,$dest);break;
      case 5 : $ext=".psd";error(S_UPFAIL,$dest);break;

      case 6 : $ext=".bmp";error(S_UPFAIL,$dest);break;
      case 7 : $ext=".tiff";error(S_UPFAIL,$dest);break;
      case 8 : $ext=".tiff";error(S_UPFAIL,$dest);break;
      case 9 : $ext=".jpc";error(S_UPFAIL,$dest);break;
      case 10 : $ext=".jp2";error(S_UPFAIL,$dest);break;
      case 11 : $ext=".jpx";error(S_UPFAIL,$dest);break;

      case 13 : $ext=".swf";error(S_UPFAIL,$dest);break;
      default : $ext=".xxx";error(S_UPFAIL,$dest);break;
    }

so they specifically disallow perfectly useful image types

21

Oh no. m00tles has a crush on RM Randall Munroe[1].

__________
[1]http://pastebin.com/m2c2883d7. Line 1993.

22

>>21
Doesn't everyone?

23

>>21
Well, yeah, they basically co-operated together in making /r9k/... Which you would have known if you watched the panel of internet cult icons at MIT's ROFLCON 2008[1]


[1]http://feeds.rapidfeeds.com/11105/

24


Your Fortune: Godly Luck

>>21
did it work roflXD?

25

>>2

Updating index...

That's all it says when I click that link.

26

>>25
Back to /b/, please.

27

>>26
Oh please, do fuck off with your faggotry.

28

>>27 Here, like I said in >>25 that's all I see when I click on the link that >>2 provided.

P.S. >>26 can go suck FrozenVoid's tiny penis.

29

>>27
>>28
。・゚・(ノД`)・゚・。

30

>>29
Bump, just to piss this faggot off.

31

>>30
I believe you mean ``age."

32

>>29
>>31
Age, just to piss this faggot off.

33

>>32
(☞゚∀゚)☞

34

>>33
Age, just to piss this faggot off.

35

Leaked imageboard source code? On my /prog/?

36

>>25
| I don't understand how web transactions normally work.

37

>>36

I don't understand how to quote properly.

38

>>36
EXPERT QUOTING

39

age

40

ITT butthurt /b/tard doesn't realize that aging only makes his stupidity last longer.


Newer Posts

Name: Email:
177
Entire Thread Last 50 Posts First 100 Posts Thread List Report Thread