| Revision 41,
538 bytes
checked in by sam, 8 years ago
(diff) |
- DSP's trollforge snapshot.
|
-
Property svn:executable set to
*
-
Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 | import operator |
|---|
| 2 | import xchat |
|---|
| 3 | |
|---|
| 4 | __module_name__ = "HaxCS" |
|---|
| 5 | __module_version__ = "1.0" |
|---|
| 6 | __module_description__ = "Chatspace java client emulator. Logon to Chatspace servers that require only java clients." |
|---|
| 7 | print "HaxCS by dj28 loaded." |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | def hex_send(word, word_eol, userdata): |
|---|
| 11 | print "Captured 307 numeric. Sending string..." |
|---|
| 12 | av1 = 967288342 |
|---|
| 13 | av2 = 6389267 |
|---|
| 14 | output = hex((operator.xor(int(word[5]), av1))+av2) |
|---|
| 15 | xchat.command("JAVAAUTH %s " %output[2:]) |
|---|
| 16 | |
|---|
| 17 | return xchat.EAT_ALL |
|---|
| 18 | |
|---|
| 19 | xchat.hook_server("307", hex_send) |
|---|
Note: See
TracBrowser
for help on using the repository browser.