News for hackers. Stuff that matters.
Re:My weekend project: anonymous, realtime message board wit... by opendomain on Sunday May 20, 2012 @06:38PM (#4000335)
Do NOT go to this service! It does not filter JavaScript and so is succeptble to XSS and other hacks. I sent on and clicked on a chat named 'Natalie portman' and it can up with an alert box that said 'no chance bro' and kept on popping up and I had to shut down my browser. Other than that - pretty kewl! Is the code open source?
Re:My weekend project: anonymous, realtime message board wit... by ecto on Sunday May 20, 2012 @06:43PM (#4000348)
I actually got tricked by that too haha. I went into the database and deleted that, and pushed a fix to production.
Re:My weekend project: anonymous, realtime message board wit... by mkramlich on Sunday May 20, 2012 @09:01PM (#4000795)
You are now totally qualified to start a Bitcoin bank.
Re:My weekend project: anonymous, realtime message board wit... by nicoviarnes on Sunday May 20, 2012 @09:58PM (#4000922)
I laughed a bit.
Re:My weekend project: anonymous, realtime message board wit... by chrisbroadfoot on Sunday May 20, 2012 @10:52PM (#4001041)
Who cares if it's open to XSS? Does the site have a cookie you care about?

If it's truly anonymous, then it doesn't matter if someone forges your cookie.

Re:My weekend project: anonymous, realtime message board wit... by nsmartt on Sunday May 20, 2012 @11:08PM (#4001074)
Let me start by saying that the notion that XSS can only be used to harvest cookies is a very common misconception. The truth is that, with XSS, any action a user may do on the vulnerable site (that doesn't require a password) can be mimicked.

With an XSS vector in the board title (meaning the JavaScript would be injected into the page listing all boards) it would be possible to force all visitors to participate in a DDoS attack against this site. If I'm not mistaken, it would be possible to force the participation in a DDoS against ANY site. I'm fairly certain that cross-site ajax works fine in modern browsers, but without cookies to prevent abuse- cookies are not necessary for DDoS.

Edit/Note: This does mean that any site could force visitors to participate in a DDoS attack. What prevents this from becoming common is the number of visitors required for a DDoS attack to succeed.

This would probably not work on this site because the number of users is only ~6000. I don't know how many users would actually be required to dent a typical site. I do know that "Anonymous" recently used a client side DDoS tool on a large number of users.

Edit 2: In light of http://news.ycombinator.com/item?id=4000301, I'll point out that XSS could result in the forced posting of illegal content, as well.

Re:My weekend project: anonymous, realtime message board wit... by joshryandavis on Sunday May 20, 2012 @07:07PM (#4000447)
It is a fun little site, I really enjoyed playing with it. You really need to add some spam prevention, title & comment length limits, fix exploits, etc.

I wanted to play around with it some more, but it's just pure spam now.

Re:My weekend project: anonymous, realtime message board wit... by ecto on Sunday May 20, 2012 @07:36PM (#4000540)
Thanks! I really hate spammers :\
Re:My weekend project: anonymous, realtime message board wit... by ecto on Sunday May 20, 2012 @06:25PM (#4000301)
This is just on a small Joyent server, running one process. I started it Friday night so there's still a few holes.
Re:My weekend project: anonymous, realtime message board wit... by sudonim on Sunday May 20, 2012 @06:45PM (#4000353)
Yeah, like it's not anonymous. Someone figured out that you can see all ip addresses (tied to comments) when you open up firebug.
Re:My weekend project: anonymous, realtime message board wit... by ecto on Sunday May 20, 2012 @06:49PM (#4000370)
I fixed that actually. You can still get around my fix but I will fix the fix later.
Re:My weekend project: anonymous, realtime message board wit... by nsmartt on Sunday May 20, 2012 @11:41PM (#4001161)
So it's totally anonymous except you store the IP addresses, huh?
Re:My weekend project: anonymous, realtime message board wit... by ecto on Monday May 21, 2012 @02:56AM (#4001666)
Correct.
Re:My weekend project: anonymous, realtime message board wit... by nsmartt on Monday May 21, 2012 @03:35AM (#4001750)
Pretty misleading.

The whole point of your experiment was to see how people would act if completely anonymous, right? They aren't. So your experiment is flawed.

Re:My weekend project: anonymous, realtime message board wit... by nsmartt on Monday May 21, 2012 @03:53AM (#4001806)
I can't reply to you so I'm replying to myself.

I honestly thought you were going for full anonymity. In fact, my first thought was that you were taking it a step further than 4chan and that it would be interesting to watch.

Re:My weekend project: anonymous, realtime message board wit... by ecto on Monday May 21, 2012 @03:48AM (#4001788)
They're anonymous in the context of the conversation. Anytime you visit a website, you know your IP is being logged.
Re:My weekend project: anonymous, realtime message board wit... by voxx on Monday May 21, 2012 @05:55AM (#4002072)
Seeing as how there aren't terms of service maybe YOUR flawed. It's a web app that never guaranteed your privacy.
Re:My weekend project: anonymous, realtime message board wit... by nsmartt on Monday May 21, 2012 @11:36AM (#4003316)
"oak is an experiment. what will people act like if they are truly anonymous?" His words.

Note that I'm not "mad." I only pointed out that it was misleading.

Re:My weekend project: anonymous, realtime message board wit... by shousper on Sunday May 20, 2012 @11:02PM (#4001059)
It's like real-time reddit.. its be fun, but probably hard to make constructive, lol

I like it, and envy the fact you could just create this on a whim over a weekend. I wish I had that kind of discipline when it comes to some of my spontaneous ideas!

Re:My weekend project: anonymous, realtime message board wit... by DigitalSea on Sunday May 20, 2012 @06:41PM (#4000343)
This is actually a lot of fun man, kudos.
Re:My weekend project: anonymous, realtime message board wit... by ecto on Sunday May 20, 2012 @06:42PM (#4000345)
Thanks! I had a lot of fun writing it!
Re:My weekend project: anonymous, realtime message board wit... by DigitalSea on Sunday May 20, 2012 @06:47PM (#4000362)
Are you planning on open sourcing the code via Github or something? I haven't built a Node app myself just yet, would be interesting to see how you did it.
Re:My weekend project: anonymous, realtime message board wit... by ecto on Sunday May 20, 2012 @06:50PM (#4000373)
I think I might! The code is still kind of gnarly right now but I'll clean it up this week and decide then.
Re:My weekend project: anonymous, realtime message board wit... by bromagosa on Sunday May 20, 2012 @06:56PM (#4000387)
Cool one!

It'd probably be a good idea to crop titles and contents if they exceed a particular length.

Re:My weekend project: anonymous, realtime message board wit... by ecto on Sunday May 20, 2012 @06:58PM (#4000404)
Doing this right now!
Re:My weekend project: anonymous, realtime message board wit... by ecto on Sunday May 20, 2012 @07:02PM (#4000418)
Pushed a limit of 200 chars
Re:My weekend project: anonymous, realtime message board wit... by zxcvb on Sunday May 20, 2012 @07:04PM (#4000432)
Might want to stop same IP from posting over and over again...
Re:My weekend project: anonymous, realtime message board wit... by ecto on Sunday May 20, 2012 @07:19PM (#4000486)
I added a limit of 15 posts per minute for now
Re:My weekend project: anonymous, realtime message board wit... by galetoquantico on Sunday May 20, 2012 @07:45PM (#4000575)
What if you try 1 post per 30 seconds ?
Re:My weekend project: anonymous, realtime message board wit... by zxcvb on Sunday May 20, 2012 @07:02PM (#4000417)
I guess he's NOT GOING TO GET BANNED....
Re:My weekend project: anonymous, realtime message board wit... by ecto on Sunday May 20, 2012 @07:09PM (#4000457)
I just added a basic spam detector and truncated title lengths :|
Re:My weekend project: anonymous, realtime message board wit... by ecto on Sunday May 20, 2012 @07:10PM (#4000459)
Also I had to upgrade my RAM pretty fast haha. Should be better now.
Re:My weekend project: anonymous, realtime message board wit... by brettbergeron on Sunday May 20, 2012 @06:57PM (#4000396)
Nice work dude! This is like 4chan, but real-time :D
Re:My weekend project: anonymous, realtime message board wit... by ecto on Sunday May 20, 2012 @06:58PM (#4000406)
I'll take that as a compliment haha.
Re:My weekend project: anonymous, realtime message board wit... by vics on Sunday May 20, 2012 @10:48PM (#4001035)
Nice MVP with critical mass reached.
Re:My weekend project: anonymous, realtime message board wit... by ma2xd on Monday May 21, 2012 @03:10AM (#4001696)
What kind of server do you use?
Re:My weekend project: anonymous, realtime message board wit... by ecto on Monday May 21, 2012 @03:24AM (#4001730)
This is just a single process on a Joyent SmartMachine. It's the first time I've used them and I've been pleased!
Re:My weekend project: anonymous, realtime message board wit... by biwuchen on Sunday May 20, 2012 @07:07PM (#4000444)
nice
Re:My weekend project: anonymous, realtime message board wit... by biwuchen on Sunday May 20, 2012 @07:07PM (#4000443)
cool
Re:My weekend project: anonymous, realtime message board wit... by pcopley on Monday May 21, 2012 @07:57AM (#4002406)
So you built 4chan without the user base.
Re:My weekend project: anonymous, realtime message board wit... by voxx on Sunday May 20, 2012 @06:57PM (#4000398)
lol the xss possibilities on this thing are making me drool a bit

and that guy is not going to get banned

Re:My weekend project: anonymous, realtime message board wit... by ecto on Sunday May 20, 2012 @07:35PM (#4000533)
I patched up the ones that were apparent, but I'm sure there's still some open.
Re:My weekend project: anonymous, realtime message board wit... by voxx on Monday May 21, 2012 @05:52AM (#4002062)
oh trust me, there are still plenty. depending on how you handle the spamming and stuff, I might even contribute the ones I find myself.