diff options
author | yvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd> | 2009-06-09 18:28:16 +0000 |
---|---|---|
committer | yvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd> | 2009-06-09 18:28:16 +0000 |
commit | 791c5a3c70985c309136c3fb33c992779e7cf935 (patch) | |
tree | 98c222fe405e56c4fa7b55e9108bff698457d05f | |
parent | a1ab6215edbaf492492fac5f2a1c560d16ec2978 (diff) | |
download | omegle-791c5a3c70985c309136c3fb33c992779e7cf935.tar.gz omegle-791c5a3c70985c309136c3fb33c992779e7cf935.zip |
ibla
git-svn-id: http://xapek.org/svn/common/omegle@1091 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
-rw-r--r-- | Documentation.txt | 9 | ||||
-rw-r--r-- | injector.py | 7 |
2 files changed, 12 insertions, 4 deletions
diff --git a/Documentation.txt b/Documentation.txt index 426e6d1..49ffd7c 100644 --- a/Documentation.txt +++ b/Documentation.txt @@ -15,6 +15,13 @@ injector.py - same as above = do note abuse these tools, the following information = + +==== Catch a connection: + $ touch lock + +1: $ while stat lock > /dev/null; do sleep 0.001; done; python proxy.py +2: $ while stat lock > /dev/null; do sleep 0.001; done; python proxy.py + ====== API Documentation ==== Connection URL: http://omegle.com/ @@ -98,4 +105,4 @@ METHOD: GET PARAM: {} RETURNS: 1234 - 1234 is the number of users online
\ No newline at end of file + 1234 is the number of users online diff --git a/injector.py b/injector.py index 6383804..efb3d65 100644 --- a/injector.py +++ b/injector.py @@ -119,15 +119,16 @@ class InjectorWindow(object): from omegle import OmegleChat + class Chat(OmegleChat): - def __init__(self,injector): + def __init__(self,injector,name): OmegleChat.__init__(self) self.injector = injector self.name = name def on_message(self,msg): #XXX handle linking - injector.add_message("%s %s : %s" % (1, self.name, msg) - + injector.add_message("%s %s : %s" % (1, self.name, msg)) + class Injector(InjectorWindow): def __init__(self): InjectorWindow.__init__(self) |