Decompiled otp.launcher.LauncherBase.scanForHacks
This commit is contained in:
parent
dca0a7480a
commit
500a80df50
4 changed files with 75 additions and 878 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
|||
#If you really need these you can extract them from tt.exe yourself
|
||||
*.pyc
|
||||
*.fzn
|
||||
*.fzn
|
||||
*.dll
|
||||
pandac/
|
0
otp/__init__.py
Normal file
0
otp/__init__.py
Normal file
|
@ -1852,880 +1852,75 @@ Syntax error at or near `POP_BLOCK' token at offset 159
|
|||
del self.httpChannel
|
||||
del self.http
|
||||
|
||||
def scanForHacks--- This code section failed: ---
|
||||
|
||||
0 LOAD_FAST 'self'
|
||||
3 LOAD_ATTR 'WIN32'
|
||||
6 JUMP_IF_TRUE '16'
|
||||
|
||||
9 LOAD_CONST None
|
||||
12 RETURN_VALUE None
|
||||
13 JUMP_FORWARD '16'
|
||||
16_0 COME_FROM '13'
|
||||
|
||||
16 LOAD_CONST None
|
||||
19 IMPORT_NAME '_winreg'
|
||||
22 STORE_FAST '_winreg'
|
||||
|
||||
25 BUILD_MAP None
|
||||
28 STORE_FAST 'hacksInstalled'
|
||||
|
||||
31 BUILD_MAP None
|
||||
34 STORE_FAST 'hacksRunning'
|
||||
|
||||
37 LOAD_CONST '!xSpeed.net'
|
||||
40 LOAD_CONST 'A Speeder'
|
||||
43 LOAD_CONST 'Speed Gear'
|
||||
46 BUILD_LIST_3 None
|
||||
49 STORE_FAST 'hackName'
|
||||
|
||||
52 BUILD_MAP None
|
||||
55 DUP_TOP None
|
||||
56 LOAD_FAST 'hackName'
|
||||
59 LOAD_CONST 0
|
||||
62 BINARY_SUBSCR None
|
||||
63 LOAD_FAST '_winreg'
|
||||
66 LOAD_ATTR 'HKEY_LOCAL_MACHINE'
|
||||
69 LOAD_CONST 'Software\\Microsoft\\Windows\\CurrentVersion\\Run\\!xSpeed'
|
||||
72 BUILD_LIST_2 None
|
||||
75 LOAD_FAST '_winreg'
|
||||
78 LOAD_ATTR 'HKEY_CURRENT_USER'
|
||||
81 LOAD_CONST 'Software\\!xSpeednethy'
|
||||
84 BUILD_LIST_2 None
|
||||
87 LOAD_FAST '_winreg'
|
||||
90 LOAD_ATTR 'HKEY_CURRENT_USER'
|
||||
93 LOAD_CONST 'Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\MenuOrder\\Start Menu\\Programs\\!xSpeednet'
|
||||
96 BUILD_LIST_2 None
|
||||
99 LOAD_FAST '_winreg'
|
||||
102 LOAD_ATTR 'HKEY_LOCAL_MACHINE'
|
||||
105 LOAD_CONST 'Software\\Gentee\\Paths\\!xSpeednet'
|
||||
108 BUILD_LIST_2 None
|
||||
111 LOAD_FAST '_winreg'
|
||||
114 LOAD_ATTR 'HKEY_LOCAL_MACHINE'
|
||||
117 LOAD_CONST 'Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\!xSpeed.net 2.0'
|
||||
120 BUILD_LIST_2 None
|
||||
123 BUILD_LIST_5 None
|
||||
126 ROT_THREE None
|
||||
127 STORE_SUBSCR None
|
||||
128 DUP_TOP None
|
||||
129 LOAD_FAST 'hackName'
|
||||
132 LOAD_CONST 1
|
||||
135 BINARY_SUBSCR None
|
||||
136 LOAD_FAST '_winreg'
|
||||
139 LOAD_ATTR 'HKEY_CURRENT_USER'
|
||||
142 LOAD_CONST 'Software\\aspeeder'
|
||||
145 BUILD_LIST_2 None
|
||||
148 LOAD_FAST '_winreg'
|
||||
151 LOAD_ATTR 'HKEY_LOCAL_MACHINE'
|
||||
154 LOAD_CONST 'Software\\aspeeder'
|
||||
157 BUILD_LIST_2 None
|
||||
160 LOAD_FAST '_winreg'
|
||||
163 LOAD_ATTR 'HKEY_LOCAL_MACHINE'
|
||||
166 LOAD_CONST 'Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\aspeeder'
|
||||
169 BUILD_LIST_2 None
|
||||
172 BUILD_LIST_3 None
|
||||
175 ROT_THREE None
|
||||
176 STORE_SUBSCR None
|
||||
177 STORE_FAST 'knownHacksRegistryKeys'
|
||||
|
||||
180 SETUP_EXCEPT '295'
|
||||
|
||||
183 SETUP_LOOP '291'
|
||||
186 LOAD_FAST 'knownHacksRegistryKeys'
|
||||
189 LOAD_ATTR 'keys'
|
||||
192 CALL_FUNCTION_0 None
|
||||
195 GET_ITER None
|
||||
196 FOR_ITER '290'
|
||||
199 STORE_FAST 'prog'
|
||||
|
||||
202 SETUP_LOOP '287'
|
||||
205 LOAD_FAST 'knownHacksRegistryKeys'
|
||||
208 LOAD_FAST 'prog'
|
||||
211 BINARY_SUBSCR None
|
||||
212 GET_ITER None
|
||||
213 FOR_ITER '286'
|
||||
216 STORE_FAST 'key'
|
||||
|
||||
219 SETUP_EXCEPT '276'
|
||||
|
||||
222 LOAD_FAST '_winreg'
|
||||
225 LOAD_ATTR 'OpenKey'
|
||||
228 LOAD_FAST 'key'
|
||||
231 LOAD_CONST 0
|
||||
234 BINARY_SUBSCR None
|
||||
235 LOAD_FAST 'key'
|
||||
238 LOAD_CONST 1
|
||||
241 BINARY_SUBSCR None
|
||||
242 CALL_FUNCTION_2 None
|
||||
245 STORE_FAST 'h'
|
||||
|
||||
248 LOAD_CONST 1
|
||||
251 LOAD_FAST 'hacksInstalled'
|
||||
254 LOAD_FAST 'prog'
|
||||
257 STORE_SUBSCR None
|
||||
|
||||
258 LOAD_FAST '_winreg'
|
||||
261 LOAD_ATTR 'CloseKey'
|
||||
264 LOAD_FAST 'h'
|
||||
267 CALL_FUNCTION_1 None
|
||||
270 POP_TOP None
|
||||
|
||||
271 BREAK_LOOP None
|
||||
272 POP_BLOCK None
|
||||
273 JUMP_BACK '213'
|
||||
276_0 COME_FROM '219'
|
||||
|
||||
276 POP_TOP None
|
||||
277 POP_TOP None
|
||||
278 POP_TOP None
|
||||
|
||||
279 JUMP_BACK '213'
|
||||
282 END_FINALLY None
|
||||
283_0 COME_FROM '282'
|
||||
283 JUMP_BACK '213'
|
||||
286 POP_BLOCK None
|
||||
287_0 COME_FROM '202'
|
||||
287 JUMP_BACK '196'
|
||||
290 POP_BLOCK None
|
||||
291_0 COME_FROM '183'
|
||||
291 POP_BLOCK None
|
||||
292 JUMP_FORWARD '302'
|
||||
295_0 COME_FROM '180'
|
||||
|
||||
295 POP_TOP None
|
||||
296 POP_TOP None
|
||||
297 POP_TOP None
|
||||
|
||||
298 JUMP_FORWARD '302'
|
||||
301 END_FINALLY None
|
||||
302_0 COME_FROM '292'
|
||||
302_1 COME_FROM '301'
|
||||
|
||||
302 BUILD_MAP None
|
||||
305 DUP_TOP None
|
||||
306 LOAD_CONST '!xspeednet'
|
||||
309 LOAD_FAST 'hackName'
|
||||
312 LOAD_CONST 0
|
||||
315 BINARY_SUBSCR None
|
||||
316 ROT_THREE None
|
||||
317 STORE_SUBSCR None
|
||||
318 DUP_TOP None
|
||||
319 LOAD_CONST 'aspeeder'
|
||||
322 LOAD_FAST 'hackName'
|
||||
325 LOAD_CONST 1
|
||||
328 BINARY_SUBSCR None
|
||||
329 ROT_THREE None
|
||||
330 STORE_SUBSCR None
|
||||
331 DUP_TOP None
|
||||
332 LOAD_CONST 'speed gear'
|
||||
335 LOAD_FAST 'hackName'
|
||||
338 LOAD_CONST 2
|
||||
341 BINARY_SUBSCR None
|
||||
342 ROT_THREE None
|
||||
343 STORE_SUBSCR None
|
||||
344 STORE_FAST 'knownHacksMUI'
|
||||
|
||||
347 LOAD_CONST 0
|
||||
350 STORE_FAST 'i'
|
||||
|
||||
353 SETUP_EXCEPT '521'
|
||||
|
||||
356 LOAD_FAST '_winreg'
|
||||
359 LOAD_ATTR 'OpenKey'
|
||||
362 LOAD_FAST '_winreg'
|
||||
365 LOAD_ATTR 'HKEY_CURRENT_USER'
|
||||
368 LOAD_CONST 'Software\\Microsoft\\Windows\\ShellNoRoam\\MUICache'
|
||||
371 CALL_FUNCTION_2 None
|
||||
374 STORE_FAST 'rh'
|
||||
|
||||
377 SETUP_LOOP '504'
|
||||
|
||||
380 LOAD_FAST '_winreg'
|
||||
383 LOAD_ATTR 'EnumValue'
|
||||
386 LOAD_FAST 'rh'
|
||||
389 LOAD_FAST 'i'
|
||||
392 CALL_FUNCTION_2 None
|
||||
395 UNPACK_SEQUENCE_3 None
|
||||
398 STORE_FAST 'name'
|
||||
401 STORE_FAST 'value'
|
||||
404 STORE_FAST 'type'
|
||||
|
||||
407 LOAD_FAST 'i'
|
||||
410 LOAD_CONST 1
|
||||
413 INPLACE_ADD None
|
||||
414 STORE_FAST 'i'
|
||||
|
||||
417 LOAD_FAST 'type'
|
||||
420 LOAD_CONST 1
|
||||
423 COMPARE_OP '=='
|
||||
426 JUMP_IF_FALSE '500'
|
||||
|
||||
429 LOAD_FAST 'value'
|
||||
432 LOAD_ATTR 'lower'
|
||||
435 CALL_FUNCTION_0 None
|
||||
438 STORE_FAST 'val'
|
||||
|
||||
441 SETUP_LOOP '500'
|
||||
444 LOAD_FAST 'knownHacksMUI'
|
||||
447 GET_ITER None
|
||||
448 FOR_ITER '496'
|
||||
451 STORE_FAST 'hackprog'
|
||||
|
||||
454 LOAD_FAST 'val'
|
||||
457 LOAD_ATTR 'find'
|
||||
460 LOAD_FAST 'hackprog'
|
||||
463 CALL_FUNCTION_1 None
|
||||
466 LOAD_CONST -1
|
||||
469 COMPARE_OP '!='
|
||||
472 JUMP_IF_FALSE '493'
|
||||
|
||||
475 LOAD_CONST 1
|
||||
478 LOAD_FAST 'hacksInstalled'
|
||||
481 LOAD_FAST 'knownHacksMUI'
|
||||
484 LOAD_FAST 'hackprog'
|
||||
487 BINARY_SUBSCR None
|
||||
488 STORE_SUBSCR None
|
||||
|
||||
489 BREAK_LOOP None
|
||||
490 JUMP_BACK '448'
|
||||
493 JUMP_BACK '448'
|
||||
496 POP_BLOCK None
|
||||
497_0 COME_FROM '441'
|
||||
497 JUMP_BACK '380'
|
||||
500 JUMP_BACK '380'
|
||||
503 POP_BLOCK None
|
||||
504_0 COME_FROM '377'
|
||||
|
||||
504 LOAD_FAST '_winreg'
|
||||
507 LOAD_ATTR 'CloseKey'
|
||||
510 LOAD_FAST 'rh'
|
||||
513 CALL_FUNCTION_1 None
|
||||
516 POP_TOP None
|
||||
517 POP_BLOCK None
|
||||
518 JUMP_FORWARD '528'
|
||||
521_0 COME_FROM '353'
|
||||
|
||||
521 POP_TOP None
|
||||
522 POP_TOP None
|
||||
523 POP_TOP None
|
||||
|
||||
524 JUMP_FORWARD '528'
|
||||
527 END_FINALLY None
|
||||
528_0 COME_FROM '518'
|
||||
528_1 COME_FROM '527'
|
||||
|
||||
528 SETUP_EXCEPT '544'
|
||||
|
||||
531 LOAD_CONST None
|
||||
534 IMPORT_NAME 'otp.launcher.procapi'
|
||||
537 STORE_FAST 'otp'
|
||||
540 POP_BLOCK None
|
||||
541 JUMP_FORWARD '551'
|
||||
544_0 COME_FROM '528'
|
||||
|
||||
544 POP_TOP None
|
||||
545 POP_TOP None
|
||||
546 POP_TOP None
|
||||
|
||||
547 JUMP_FORWARD '674'
|
||||
550 END_FINALLY None
|
||||
551_0 COME_FROM '541'
|
||||
|
||||
551 BUILD_MAP None
|
||||
554 DUP_TOP None
|
||||
555 LOAD_CONST '!xspeednet.exe'
|
||||
558 LOAD_FAST 'hackName'
|
||||
561 LOAD_CONST 0
|
||||
564 BINARY_SUBSCR None
|
||||
565 ROT_THREE None
|
||||
566 STORE_SUBSCR None
|
||||
567 DUP_TOP None
|
||||
568 LOAD_CONST 'aspeeder.exe'
|
||||
571 LOAD_FAST 'hackName'
|
||||
574 LOAD_CONST 1
|
||||
577 BINARY_SUBSCR None
|
||||
578 ROT_THREE None
|
||||
579 STORE_SUBSCR None
|
||||
580 DUP_TOP None
|
||||
581 LOAD_CONST 'speedgear.exe'
|
||||
584 LOAD_FAST 'hackName'
|
||||
587 LOAD_CONST 2
|
||||
590 BINARY_SUBSCR None
|
||||
591 ROT_THREE None
|
||||
592 STORE_SUBSCR None
|
||||
593 STORE_FAST 'knownHacksExe'
|
||||
|
||||
596 SETUP_EXCEPT '667'
|
||||
|
||||
599 SETUP_LOOP '663'
|
||||
602 LOAD_GLOBAL 'procapi'
|
||||
605 LOAD_ATTR 'getProcessList'
|
||||
608 CALL_FUNCTION_0 None
|
||||
611 GET_ITER None
|
||||
612 FOR_ITER '662'
|
||||
615 STORE_FAST 'p'
|
||||
|
||||
618 LOAD_FAST 'p'
|
||||
621 LOAD_ATTR 'name'
|
||||
624 STORE_FAST 'pname'
|
||||
|
||||
627 LOAD_FAST 'knownHacksExe'
|
||||
630 LOAD_ATTR 'has_key'
|
||||
633 LOAD_FAST 'pname'
|
||||
636 CALL_FUNCTION_1 None
|
||||
639 JUMP_IF_FALSE '659'
|
||||
|
||||
642 LOAD_CONST 1
|
||||
645 LOAD_FAST 'hacksRunning'
|
||||
648 LOAD_FAST 'knownHacksExe'
|
||||
651 LOAD_FAST 'pname'
|
||||
654 BINARY_SUBSCR None
|
||||
655 STORE_SUBSCR None
|
||||
656 JUMP_BACK '612'
|
||||
659 JUMP_BACK '612'
|
||||
662 POP_BLOCK None
|
||||
663_0 COME_FROM '599'
|
||||
663 POP_BLOCK None
|
||||
664 JUMP_FORWARD '674'
|
||||
667_0 COME_FROM '596'
|
||||
|
||||
667 POP_TOP None
|
||||
668 POP_TOP None
|
||||
669 POP_TOP None
|
||||
|
||||
670 JUMP_FORWARD '674'
|
||||
673 END_FINALLY None
|
||||
674_0 COME_FROM '550'
|
||||
674_1 COME_FROM '664'
|
||||
674_2 COME_FROM '673'
|
||||
|
||||
674 LOAD_GLOBAL 'len'
|
||||
677 LOAD_FAST 'hacksInstalled'
|
||||
680 CALL_FUNCTION_1 None
|
||||
683 LOAD_CONST 0
|
||||
686 COMPARE_OP '>'
|
||||
689 JUMP_IF_FALSE '750'
|
||||
|
||||
692 LOAD_FAST
|
||||
# Can't uncompyle C:\Users\Maverick\Documents\Visual Studio 2010\Projects\Unfreezer\py2\otp\launcher\LauncherBase.pyc
|
||||
Traceback (most recent call last):
|
||||
File "C:\python27\lib\uncompyle2\__init__.py", line 206, in main
|
||||
uncompyle_file(infile, outstream, showasm, showast)
|
||||
File "C:\python27\lib\uncompyle2\__init__.py", line 143, in uncompyle_file
|
||||
uncompyle(version, co, outstream, showasm, showast)
|
||||
File "C:\python27\lib\uncompyle2\__init__.py", line 132, in uncompyle
|
||||
raise walk.ERROR
|
||||
ParserError: --- This code section failed: ---
|
||||
|
||||
0 LOAD_FAST 'self'
|
||||
3 LOAD_ATTR 'WIN32'
|
||||
6 JUMP_IF_TRUE '16'
|
||||
|
||||
9 LOAD_CONST None
|
||||
12 RETURN_VALUE None
|
||||
13 JUMP_FORWARD '16'
|
||||
16_0 COME_FROM '13'
|
||||
|
||||
16 LOAD_CONST None
|
||||
19 IMPORT_NAME '_winreg'
|
||||
22 STORE_FAST '_winreg'
|
||||
|
||||
25 BUILD_MAP None
|
||||
28 STORE_FAST 'hacksInstalled'
|
||||
|
||||
31 BUILD_MAP None
|
||||
34 STORE_FAST 'hacksRunning'
|
||||
|
||||
37 LOAD_CONST '!xSpeed.net'
|
||||
40 LOAD_CONST 'A Speeder'
|
||||
43 LOAD_CONST 'Speed Gear'
|
||||
46 BUILD_LIST_3 None
|
||||
49 STORE_FAST 'hackName'
|
||||
|
||||
52 BUILD_MAP None
|
||||
55 DUP_TOP None
|
||||
56 LOAD_FAST 'hackName'
|
||||
59 LOAD_CONST 0
|
||||
62 BINARY_SUBSCR None
|
||||
63 LOAD_FAST '_winreg'
|
||||
66 LOAD_ATTR 'HKEY_LOCAL_MACHINE'
|
||||
69 LOAD_CONST 'Software\\Microsoft\\Windows\\CurrentVersion\\Run\\!xSpeed'
|
||||
72 BUILD_LIST_2 None
|
||||
75 LOAD_FAST '_winreg'
|
||||
78 LOAD_ATTR 'HKEY_CURRENT_USER'
|
||||
81 LOAD_CONST 'Software\\!xSpeednethy'
|
||||
84 BUILD_LIST_2 None
|
||||
87 LOAD_FAST '_winreg'
|
||||
90 LOAD_ATTR 'HKEY_CURRENT_USER'
|
||||
93 LOAD_CONST 'Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\MenuOrder\\Start Menu\\Programs\\!xSpeednet'
|
||||
96 BUILD_LIST_2 None
|
||||
99 LOAD_FAST '_winreg'
|
||||
102 LOAD_ATTR 'HKEY_LOCAL_MACHINE'
|
||||
105 LOAD_CONST 'Software\\Gentee\\Paths\\!xSpeednet'
|
||||
108 BUILD_LIST_2 None
|
||||
111 LOAD_FAST '_winreg'
|
||||
114 LOAD_ATTR 'HKEY_LOCAL_MACHINE'
|
||||
117 LOAD_CONST 'Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\!xSpeed.net 2.0'
|
||||
120 BUILD_LIST_2 None
|
||||
123 BUILD_LIST_5 None
|
||||
126 ROT_THREE None
|
||||
127 STORE_SUBSCR None
|
||||
128 DUP_TOP None
|
||||
129 LOAD_FAST 'hackName'
|
||||
132 LOAD_CONST 1
|
||||
135 BINARY_SUBSCR None
|
||||
136 LOAD_FAST '_winreg'
|
||||
139 LOAD_ATTR 'HKEY_CURRENT_USER'
|
||||
142 LOAD_CONST 'Software\\aspeeder'
|
||||
145 BUILD_LIST_2 None
|
||||
148 LOAD_FAST '_winreg'
|
||||
151 LOAD_ATTR 'HKEY_LOCAL_MACHINE'
|
||||
154 LOAD_CONST 'Software\\aspeeder'
|
||||
157 BUILD_LIST_2 None
|
||||
160 LOAD_FAST '_winreg'
|
||||
163 LOAD_ATTR 'HKEY_LOCAL_MACHINE'
|
||||
166 LOAD_CONST 'Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\aspeeder'
|
||||
169 BUILD_LIST_2 None
|
||||
172 BUILD_LIST_3 None
|
||||
175 ROT_THREE None
|
||||
176 STORE_SUBSCR None
|
||||
177 STORE_FAST 'knownHacksRegistryKeys'
|
||||
|
||||
180 SETUP_EXCEPT '295'
|
||||
|
||||
183 SETUP_LOOP '291'
|
||||
186 LOAD_FAST 'knownHacksRegistryKeys'
|
||||
189 LOAD_ATTR 'keys'
|
||||
192 CALL_FUNCTION_0 None
|
||||
195 GET_ITER None
|
||||
196 FOR_ITER '290'
|
||||
199 STORE_FAST 'prog'
|
||||
|
||||
202 SETUP_LOOP '287'
|
||||
205 LOAD_FAST 'knownHacksRegistryKeys'
|
||||
208 LOAD_FAST 'prog'
|
||||
211 BINARY_SUBSCR None
|
||||
212 GET_ITER None
|
||||
213 FOR_ITER '286'
|
||||
216 STORE_FAST 'key'
|
||||
|
||||
219 SETUP_EXCEPT '276'
|
||||
|
||||
222 LOAD_FAST '_winreg'
|
||||
225 LOAD_ATTR 'OpenKey'
|
||||
228 LOAD_FAST 'key'
|
||||
231 LOAD_CONST 0
|
||||
234 BINARY_SUBSCR None
|
||||
235 LOAD_FAST 'key'
|
||||
238 LOAD_CONST 1
|
||||
241 BINARY_SUBSCR None
|
||||
242 CALL_FUNCTION_2 None
|
||||
245 STORE_FAST 'h'
|
||||
|
||||
248 LOAD_CONST 1
|
||||
251 LOAD_FAST 'hacksInstalled'
|
||||
254 LOAD_FAST 'prog'
|
||||
257 STORE_SUBSCR None
|
||||
|
||||
258 LOAD_FAST '_winreg'
|
||||
261 LOAD_ATTR 'CloseKey'
|
||||
264 LOAD_FAST 'h'
|
||||
267 CALL_FUNCTION_1 None
|
||||
270 POP_TOP None
|
||||
|
||||
271 BREAK_LOOP None
|
||||
272 POP_BLOCK None
|
||||
273 JUMP_BACK '213'
|
||||
276_0 COME_FROM '219'
|
||||
|
||||
276 POP_TOP None
|
||||
277 POP_TOP None
|
||||
278 POP_TOP None
|
||||
|
||||
279 JUMP_BACK '213'
|
||||
282 END_FINALLY None
|
||||
283_0 COME_FROM '282'
|
||||
283 JUMP_BACK '213'
|
||||
286 POP_BLOCK None
|
||||
287_0 COME_FROM '202'
|
||||
287 JUMP_BACK '196'
|
||||
290 POP_BLOCK None
|
||||
291_0 COME_FROM '183'
|
||||
291 POP_BLOCK None
|
||||
292 JUMP_FORWARD '302'
|
||||
295_0 COME_FROM '180'
|
||||
|
||||
295 POP_TOP None
|
||||
296 POP_TOP None
|
||||
297 POP_TOP None
|
||||
|
||||
298 JUMP_FORWARD '302'
|
||||
301 END_FINALLY None
|
||||
302_0 COME_FROM '292'
|
||||
302_1 COME_FROM '301'
|
||||
|
||||
302 BUILD_MAP None
|
||||
305 DUP_TOP None
|
||||
306 LOAD_CONST '!xspeednet'
|
||||
309 LOAD_FAST 'hackName'
|
||||
312 LOAD_CONST 0
|
||||
315 BINARY_SUBSCR None
|
||||
316 ROT_THREE None
|
||||
317 STORE_SUBSCR None
|
||||
318 DUP_TOP None
|
||||
319 LOAD_CONST 'aspeeder'
|
||||
322 LOAD_FAST 'hackName'
|
||||
325 LOAD_CONST 1
|
||||
328 BINARY_SUBSCR None
|
||||
329 ROT_THREE None
|
||||
330 STORE_SUBSCR None
|
||||
331 DUP_TOP None
|
||||
332 LOAD_CONST 'speed gear'
|
||||
335 LOAD_FAST 'hackName'
|
||||
338 LOAD_CONST 2
|
||||
341 BINARY_SUBSCR None
|
||||
342 ROT_THREE None
|
||||
343 STORE_SUBSCR None
|
||||
344 STORE_FAST 'knownHacksMUI'
|
||||
|
||||
347 LOAD_CONST 0
|
||||
350 STORE_FAST 'i'
|
||||
|
||||
353 SETUP_EXCEPT '521'
|
||||
|
||||
356 LOAD_FAST '_winreg'
|
||||
359 LOAD_ATTR 'OpenKey'
|
||||
362 LOAD_FAST '_winreg'
|
||||
365 LOAD_ATTR 'HKEY_CURRENT_USER'
|
||||
368 LOAD_CONST 'Software\\Microsoft\\Windows\\ShellNoRoam\\MUICache'
|
||||
371 CALL_FUNCTION_2 None
|
||||
374 STORE_FAST 'rh'
|
||||
|
||||
377 SETUP_LOOP '504'
|
||||
|
||||
380 LOAD_FAST '_winreg'
|
||||
383 LOAD_ATTR 'EnumValue'
|
||||
386 LOAD_FAST 'rh'
|
||||
389 LOAD_FAST 'i'
|
||||
392 CALL_FUNCTION_2 None
|
||||
395 UNPACK_SEQUENCE_3 None
|
||||
398 STORE_FAST 'name'
|
||||
401 STORE_FAST 'value'
|
||||
404 STORE_FAST 'type'
|
||||
|
||||
407 LOAD_FAST 'i'
|
||||
410 LOAD_CONST 1
|
||||
413 INPLACE_ADD None
|
||||
414 STORE_FAST 'i'
|
||||
|
||||
417 LOAD_FAST 'type'
|
||||
420 LOAD_CONST 1
|
||||
423 COMPARE_OP '=='
|
||||
426 JUMP_IF_FALSE '500'
|
||||
|
||||
429 LOAD_FAST 'value'
|
||||
432 LOAD_ATTR 'lower'
|
||||
435 CALL_FUNCTION_0 None
|
||||
438 STORE_FAST 'val'
|
||||
|
||||
441 SETUP_LOOP '500'
|
||||
444 LOAD_FAST 'knownHacksMUI'
|
||||
447 GET_ITER None
|
||||
448 FOR_ITER '496'
|
||||
451 STORE_FAST 'hackprog'
|
||||
|
||||
454 LOAD_FAST 'val'
|
||||
457 LOAD_ATTR 'find'
|
||||
460 LOAD_FAST 'hackprog'
|
||||
463 CALL_FUNCTION_1 None
|
||||
466 LOAD_CONST -1
|
||||
469 COMPARE_OP '!='
|
||||
472 JUMP_IF_FALSE '493'
|
||||
|
||||
475 LOAD_CONST 1
|
||||
478 LOAD_FAST 'hacksInstalled'
|
||||
481 LOAD_FAST 'knownHacksMUI'
|
||||
484 LOAD_FAST 'hackprog'
|
||||
487 BINARY_SUBSCR None
|
||||
488 STORE_SUBSCR None
|
||||
|
||||
489 BREAK_LOOP None
|
||||
490 JUMP_BACK '448'
|
||||
493 JUMP_BACK '448'
|
||||
496 POP_BLOCK None
|
||||
497_0 COME_FROM '441'
|
||||
497 JUMP_BACK '380'
|
||||
500 JUMP_BACK '380'
|
||||
503 POP_BLOCK None
|
||||
504_0 COME_FROM '377'
|
||||
|
||||
504 LOAD_FAST '_winreg'
|
||||
507 LOAD_ATTR 'CloseKey'
|
||||
510 LOAD_FAST 'rh'
|
||||
513 CALL_FUNCTION_1 None
|
||||
516 POP_TOP None
|
||||
517 POP_BLOCK None
|
||||
518 JUMP_FORWARD '528'
|
||||
521_0 COME_FROM '353'
|
||||
|
||||
521 POP_TOP None
|
||||
522 POP_TOP None
|
||||
523 POP_TOP None
|
||||
|
||||
524 JUMP_FORWARD '528'
|
||||
527 END_FINALLY None
|
||||
528_0 COME_FROM '518'
|
||||
528_1 COME_FROM '527'
|
||||
|
||||
528 SETUP_EXCEPT '544'
|
||||
|
||||
531 LOAD_CONST None
|
||||
534 IMPORT_NAME 'otp.launcher.procapi'
|
||||
537 STORE_FAST 'otp'
|
||||
540 POP_BLOCK None
|
||||
541 JUMP_FORWARD '551'
|
||||
544_0 COME_FROM '528'
|
||||
|
||||
544 POP_TOP None
|
||||
545 POP_TOP None
|
||||
546 POP_TOP None
|
||||
|
||||
547 JUMP_FORWARD '674'
|
||||
550 END_FINALLY None
|
||||
551_0 COME_FROM '541'
|
||||
|
||||
551 BUILD_MAP None
|
||||
554 DUP_TOP None
|
||||
555 LOAD_CONST '!xspeednet.exe'
|
||||
558 LOAD_FAST 'hackName'
|
||||
561 LOAD_CONST 0
|
||||
564 BINARY_SUBSCR None
|
||||
565 ROT_THREE None
|
||||
566 STORE_SUBSCR No 'self'
|
||||
695 LOAD_ATTR 'notify'
|
||||
698 LOAD_ATTR 'info'
|
||||
701 LOAD_CONST 'Third party programs installed:'
|
||||
704 CALL_FUNCTION_1 None
|
||||
707 POP_TOP None
|
||||
|
||||
708 SETUP_LOOP '750'
|
||||
711 LOAD_FAST 'hacksInstalled'
|
||||
714 LOAD_ATTR 'keys'
|
||||
717 CALL_FUNCTION_0 None
|
||||
720 GET_ITER None
|
||||
721 FOR_ITER '746'
|
||||
724 STORE_FAST 'hack'
|
||||
|
||||
727 LOAD_FAST 'self'
|
||||
730 LOAD_ATTR 'notify'
|
||||
733 LOAD_ATTR 'info'
|
||||
736 LOAD_FAST 'hack'
|
||||
739 CALL_FUNCTION_1 None
|
||||
742 POP_TOP None
|
||||
743 JUMP_BACK '721'
|
||||
746 POP_BLOCK None
|
||||
747_0 COME_FROM '708'
|
||||
747 JUMP_FORWARD '750'
|
||||
750_0 COME_FROM '747'
|
||||
|
||||
750 LOAD_GLOBAL 'len'
|
||||
753 LOAD_FAST 'hacksRunning'
|
||||
756 CALL_FUNCTION_1 None
|
||||
759 LOAD_CONST 0
|
||||
762 COMPARE_OP '>'
|
||||
765 JUMP_IF_FALSE '849'
|
||||
|
||||
768 LOAD_FAST 'self'
|
||||
771 LOAD_ATTR 'notify'
|
||||
774 LOAD_ATTR 'info'
|
||||
777 LOAD_CONST 'Third party programs running:'
|
||||
780 CALL_FUNCTION_1 None
|
||||
783 POP_TOP None
|
||||
|
||||
784 SETUP_LOOP '823'
|
||||
787 LOAD_FAST 'hacksRunning'
|
||||
790 LOAD_ATTR 'keys'
|
||||
793 CALL_FUNCTION_0 None
|
||||
796 GET_ITER None
|
||||
797 FOR_ITER '822'
|
||||
800 STORE_FAST 'hack'
|
||||
|
||||
803 LOAD_FAST 'self'
|
||||
806 LOAD_ATTR 'notify'
|
||||
809 LOAD_ATTR 'info'
|
||||
812 LOAD_FAST 'hack'
|
||||
815 CALL_FUNCTION_1 None
|
||||
818 POP_TOP None
|
||||
819 JUMP_BACK '797'
|
||||
822 POP_BLOCK None
|
||||
823_0 COME_FROM '784'
|
||||
|
||||
823 LOAD_FAST 'self'
|
||||
826 LOAD_ATTR 'setPandaErrorCode'
|
||||
829 LOAD_CONST 8
|
||||
832 CALL_FUNCTION_1 None
|
||||
835 POP_TOP None
|
||||
|
||||
836 LOAD_GLOBAL 'sys'
|
||||
839 LOAD_ATTR 'exit'
|
||||
842 CALL_FUNCTION_0 None
|
||||
845 POP_TOP None
|
||||
846 JUMP_FORWARD '849'
|
||||
849_0 COME_FROM '846'
|
||||
|
||||
Syntax error at or near `POP_BLOCK' token at offset 503
|
||||
|
||||
def getBlue(self):
|
||||
return None
|
||||
|
||||
def getPlayToken(self):
|
||||
return None
|
||||
|
||||
def getDISLToken(self):
|
||||
DISLToken = self.getValue(self.DISLTokenKey)
|
||||
self.setValue(self.DISLTokenKey, '')
|
||||
if DISLToken == 'NO DISLTOKEN':
|
||||
DISLToken = None
|
||||
return DISLToken
|
||||
ne
|
||||
567 DUP_TOP None
|
||||
568 LOAD_CONST 'aspeeder.exe'
|
||||
571 LOAD_FAST 'hackName'
|
||||
574 LOAD_CONST 1
|
||||
577 BINARY_SUBSCR None
|
||||
578 ROT_THREE None
|
||||
579 STORE_SUBSCR None
|
||||
580 DUP_TOP None
|
||||
581 LOAD_CONST 'speedgear.exe'
|
||||
584 LOAD_FAST 'hackName'
|
||||
587 LOAD_CONST 2
|
||||
590 BINARY_SUBSCR None
|
||||
591 ROT_THREE None
|
||||
592 STORE_SUBSCR None
|
||||
593 STORE_FAST 'knownHacksExe'
|
||||
|
||||
596 SETUP_EXCEPT '667'
|
||||
|
||||
599 SETUP_LOOP '663'
|
||||
602 LOAD_GLOBAL 'procapi'
|
||||
605 LOAD_ATTR 'getProcessList'
|
||||
608 CALL_FUNCTION_0 None
|
||||
611 GET_ITER None
|
||||
612 FOR_ITER '662'
|
||||
615 STORE_FAST 'p'
|
||||
|
||||
618 LOAD_FAST 'p'
|
||||
621 LOAD_ATTR 'name'
|
||||
624 STORE_FAST 'pname'
|
||||
|
||||
627 LOAD_FAST 'knownHacksExe'
|
||||
630 LOAD_ATTR 'has_key'
|
||||
633 LOAD_FAST 'pname'
|
||||
636 CALL_FUNCTION_1 None
|
||||
639 JUMP_IF_FALSE '659'
|
||||
|
||||
642 LOAD_CONST 1
|
||||
645 LOAD_FAST 'hacksRunning'
|
||||
648 LOAD_FAST 'knownHacksExe'
|
||||
651 LOAD_FAST 'pname'
|
||||
654 BINARY_SUBSCR None
|
||||
655 STORE_SUBSCR None
|
||||
656 JUMP_BACK '612'
|
||||
659 JUMP_BACK '612'
|
||||
662 POP_BLOCK None
|
||||
663_0 COME_FROM '599'
|
||||
663 POP_BLOCK None
|
||||
664 JUMP_FORWARD '674'
|
||||
667_0 COME_FROM '596'
|
||||
|
||||
667 POP_TOP None
|
||||
668 POP_TOP None
|
||||
669 POP_TOP None
|
||||
|
||||
670 JUMP_FORWARD '674'
|
||||
673 END_FINALLY None
|
||||
674_0 COME_FROM '550'
|
||||
674_1 COME_FROM '664'
|
||||
674_2 COME_FROM '673'
|
||||
|
||||
674 LOAD_GLOBAL 'len'
|
||||
677 LOAD_FAST 'hacksInstalled'
|
||||
680 CALL_FUNCTION_1 None
|
||||
683 LOAD_CONST 0
|
||||
686 COMPARE_OP '>'
|
||||
689 JUMP_IF_FALSE '750'
|
||||
|
||||
692 LOAD_FAST 'self'
|
||||
695 LOAD_ATTR 'notify'
|
||||
698 LOAD_ATTR 'info'
|
||||
701 LOAD_CONST 'Third party programs installed:'
|
||||
704 CALL_FUNCTION_1 None
|
||||
707 POP_TOP None
|
||||
|
||||
708 SETUP_LOOP '750'
|
||||
711 LOAD_FAST 'hacksInstalled'
|
||||
714 LOAD_ATTR 'keys'
|
||||
717 CALL_FUNCTION_0 None
|
||||
720 GET_ITER None
|
||||
721 FOR_ITER '746'
|
||||
724 STORE_FAST 'hack'
|
||||
|
||||
727 LOAD_FAST 'self'
|
||||
730 LOAD_ATTR 'notify'
|
||||
733 LOAD_ATTR 'info'
|
||||
736 LOAD_FAST 'hack'
|
||||
739 CALL_FUNCTION_1 None
|
||||
742 POP_TOP None
|
||||
743 JUMP_BACK '721'
|
||||
746 POP_BLOCK None
|
||||
747_0 COME_FROM '708'
|
||||
747 JUMP_FORWARD '750'
|
||||
750_0 COME_FROM '747'
|
||||
|
||||
750 LOAD_GLOBAL 'len'
|
||||
753 LOAD_FAST 'hacksRunning'
|
||||
756 CALL_FUNCTION_1 None
|
||||
759 LOAD_CONST 0
|
||||
762 COMPARE_OP '>'
|
||||
765 JUMP_IF_FALSE '849'
|
||||
|
||||
768 LOAD_FAST 'self'
|
||||
771 LOAD_ATTR 'notify'
|
||||
774 LOAD_ATTR 'info'
|
||||
777 LOAD_CONST 'Third party programs running:'
|
||||
780 CALL_FUNCTION_1 None
|
||||
783 POP_TOP None
|
||||
|
||||
784 SETUP_LOOP '823'
|
||||
787 LOAD_FAST 'hacksRunning'
|
||||
790 LOAD_ATTR 'keys'
|
||||
793 CALL_FUNCTION_0 None
|
||||
796 GET_ITER None
|
||||
797 FOR_ITER '822'
|
||||
800 STORE_FAST 'hack'
|
||||
|
||||
803 LOAD_FAST 'self'
|
||||
806 LOAD_ATTR 'notify'
|
||||
809 LOAD_ATTR 'info'
|
||||
812 LOAD_FAST 'hack'
|
||||
815 CALL_FUNCTION_1 None
|
||||
818 POP_TOP None
|
||||
819 JUMP_BACK '797'
|
||||
822 POP_BLOCK None
|
||||
823_0 COME_FROM '784'
|
||||
|
||||
823 LOAD_FAST 'self'
|
||||
826 LOAD_ATTR 'setPandaErrorCode'
|
||||
829 LOAD_CONST 8
|
||||
832 CALL_FUNCTION_1 None
|
||||
835 POP_TOP None
|
||||
|
||||
836 LOAD_GLOBAL 'sys'
|
||||
839 LOAD_ATTR 'exit'
|
||||
842 CALL_FUNCTION_0 None
|
||||
845 POP_TOP None
|
||||
846 JUMP_FORWARD '849'
|
||||
849_0 COME_FROM '846'
|
||||
|
||||
Syntax error at or near `POP_BLOCK' token at offset 503
|
||||
|
||||
def scanForHacks(self):
|
||||
if not self.WIN32:
|
||||
return
|
||||
import _winreg
|
||||
hacksInstalled = {}
|
||||
hacksRunning = {}
|
||||
hackName = ['!xSpeed.net', 'A Speeder', 'Speed Gear']
|
||||
knownHacksRegistryKeys = {
|
||||
hackName[0] : [
|
||||
[_winreg.HKEY_LOCAL_MACHINE, 'Software\\Microsoft\\Windows\\CurrentVersion\\Run\\!xSpeed'],
|
||||
[_winreg.HKEY_CURRENT_USER, 'Software\\!xSpeednethy'],
|
||||
[_winreg.HKEY_CURRENT_USER, 'Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\MenuOrder\\Start Menu\\Programs\\!xSpeednet'],
|
||||
[_winreg.HKEY_LOCAL_MACHINE, 'Software\\Gentee\\Paths\\!xSpeednet'],
|
||||
[_winreg.HKEY_LOCAL_MACHINE, 'Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\!xSpeed.net 2.0']],
|
||||
hackName[1] : [
|
||||
[_winreg.HKEY_CURRENT_USER, 'Software\\aspeeder'],
|
||||
[_winreg.HKEY_LOCAL_MACHINE, 'Software\\aspeeder'],
|
||||
[_winreg.HKEY_LOCAL_MACHINE, 'Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\aspeeder']]
|
||||
}
|
||||
try:
|
||||
for prog in knownHacksRegistryKeys:
|
||||
for key in knownHacksRegistryKeys[prog]:
|
||||
try:
|
||||
h = _winreg.OpenKey(key[0], key[1])
|
||||
hacksInstalled[prog] = 1
|
||||
_winreg.CloseKey(h)
|
||||
finally:
|
||||
pass
|
||||
finally:
|
||||
pass
|
||||
knownHacksMUI = {'!xspeednet' : hackName[0], 'aspeeder' : hackName[1], 'speed gear' : hackName[2]}
|
||||
i = 0
|
||||
try:
|
||||
rh = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER, 'Software\\Microsoft\\Windows\\ShellNoRoam\\MUICache')
|
||||
while True:
|
||||
name, value, type = _winreg.EnumValue(rh, i)
|
||||
i = i + 1
|
||||
if type == 1:
|
||||
val = value.lower()
|
||||
for hackprog in knownHacksMUI:
|
||||
if val.find(hackprog) != -1:
|
||||
hacksInstalled[knownHacksMUI[hackprog]] = 1
|
||||
break
|
||||
_winreg.CloseKey(rh)
|
||||
finally:
|
||||
pass
|
||||
|
||||
try:
|
||||
import otp.launcher.procapi
|
||||
finally:
|
||||
pass
|
||||
|
||||
knownHacksExe = {hackName[0] : '!xspeednet.exe', hackName[1] : 'aspeeder.exe', hackName[2] : 'speedgear.exe'}
|
||||
try:
|
||||
for p in procapi.getProcessList():
|
||||
pname = p.name
|
||||
if knownHacksExe.has_key(pname):
|
||||
hacksRunning[knownHacksExe[pname]] = 1
|
||||
finally:
|
||||
pass
|
||||
|
||||
if len(hacksInstalled) > 0:
|
||||
self.notify.info("Third party programs installed:")
|
||||
for hack in hacksInstalled.keys():
|
||||
self.notify.info(hack)
|
||||
|
||||
if len(hacksRunning) > 0:
|
||||
self.notify.info("Third party programs running")
|
||||
for(hack in hacksRunning.keys():
|
||||
self.notify.info(hack)
|
||||
self.setPandaErrorCode(8)
|
||||
sys.exit()
|
||||
|
|
0
otp/launcher/__init__.py
Normal file
0
otp/launcher/__init__.py
Normal file
Loading…
Reference in a new issue