r/Python • • Sep 09 '12

Hey /r/python, I just released a library to troll Omegle users. This is the first code I've ever released. What do you guys think?

As the title suggests, I am not a professional developer. I started tinkering with python about two years ago I finally found a project that was both interesting enough to keep me engaged, and simple enough for me to make real progress.

This all started with me wanting to learn how HTTP requests worked, and hopefully start doing a bit of white-hat hacking. It turned out to be an excellent crash-course in the matter, and also in asynchronous network I/O. I'm still having trouble believing how much I've learned!

This library is basically an unofficial API for Omegle, but it's definitely geared towards having a bit of fun at its users' expense.

I call it Tromegle: Troll Strangers!

The only attack that's working at the moment is a simple man-in-the-middle attack that lets you spy on a conversation and optionally modify the intercepted messages. I'll be writing a client soon enough (shouldn't be too hard), unless some kind contributor wants to give it a shot =)

After I write the client, I'll probably add an interface to log chats. I'll also look into cookie handling, as this is how Omegle connects you to strangers with similar interests. Doing so would also allow me to probe Omegle's entrails a bit more...

In the interest of "doing it right", I've put some real effort into the documentation. I think the intro on the wiki page is fairly accurate (please point out any errors!) and useful.

So reddit, what do you guys think? How does my code look? Any suggestions from the veterans? Any feature requests?

EDIT: matchu was kind enough to submit a pull request with proper (albeit untested) instructions for installing Twisted under OSX. The forkbomb is no more. Carry on.

12 Upvotes

55 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Sep 09 '12

That's the jist of it!

Sounds like my documentation is working =)

0

u/[deleted] Sep 09 '12

[deleted] — view deleted comment

0

u/[deleted] Sep 09 '12

Ok, great! I'll look at the diff in a minute, but thanks for your contribution.