source: trollforge/dsp-trollforge/IRC/Haxcs.py @ 41

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 
1import operator 
2import 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." 
7print "HaxCS by dj28 loaded."
8 
9
10def 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
19xchat.hook_server("307", hex_send) 
Note: See TracBrowser for help on using the repository browser.