Декомпиляция скриптов

FYP

Известный
Автор темы
Администратор
1,763
5,906
GVWUrNJ.png
eNo5cSj.png


Общая тема для просьб о помощи в декомпиляциии и декриптованиии скриптов, плагинов и приложений.
Запрещено просить о декомпиляции/декриптовании софта, выставленного на продажу на нашем сайте.

Рекомендации:
  1. Сначала воспользуйтесь поиском по теме и по форуму, возможно его в декомпилированном виде или с исходным кодом уже выкладывали у нас на сайте.
  2. Попытайтесь декомпилировать самостоятельно: CLEO - декриптор, декомпилятор; AHK - распаковщик .exe; LuaJIT - декомпилятор1, декомпилятор2.
  3. Просить о декомпиляции .asi, .sf, .dll, .exe почти бесполезно, часто такие просьбы остаются без ответа и вряд ли вам это что-то даст. Можете попробовать сами, IDA Pro или Ghidra к вашим услугам.
    • Это не касается .exe, которые являются скомпилированными AutoHotKey-скриптами (.ahk).
  4. Добавьте название скрипта к сообщению, если оно известно - это поможет другим пользователям найти его с помощью поиска.
  5. Сообщения по типу "спасибо, помог" по правилам форума считаются флудом и скорее всего будут удалены. Если вам помогли, вы можете нажать кнопку Мне нравится под ответом - это даст понять, что ответ верный.
 
Последнее редактирование:

.Telch

Известный
38
1
Помогите пожалуйста,буду искренне благодарен.
Там стоит hex
 

Вложения

  • dvoechka.cs
    23.5 KB · Просмотры: 5

The Spark

Известный
656
688
Поменяй кодировку, ничего же не понятно
 

Вложения

  • ARZ_AZ_hack.lua-decompiled.lua
    265.2 KB · Просмотры: 12
  • Влюблен
Реакции: YarikVL

The Spark

Известный
656
688
CLEO:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

0662: printstring "==============================================================="
0662: printstring "My VK: vk.com/id138101483"
0662: printstring "My Skype: hackes8"
0662: printstring "Group VK: vk.com/by_air"
0662: printstring "My YouTube Channel: www.youtube.com/spacebmxair"
0662: printstring "All rights reserved ©"
0662: printstring "==============================================================="

:NONAME_287
wait 0
   SAMP.Available
jf @NONAME_287
call @NONAME_3779 2 2964549 0
call @NONAME_3779 2 252846 950
1@ = 0
14@ = -1
18@ = -1
19@ = 1
0AC7: 17@ = var 19@ offset
if
call @NONAME_3850 1 17@
jf @NONAME_488
chatmsg "[Reconnect {CC0000}by AIR{33FF33}]: {FFFFFF}Óñòàíîâëåíî ïåðåñîçäàíèå ñåññèè." -13369549
jump @NONAME_689

:NONAME_488
chatmsg "[Reconnect {CC0000}by AIR{33FF33}]: {FFFFFF}Îøèáêà óñòàíîâêè ïåðåñîçäàíèÿ ñåññèè." -13369549
chatmsg "{FFFFFF}Âîçìîæíî Âû èñïîëüçóåòå îòëè÷íóþ îò R1 âåðñèþ SA-MP èëè óæå èñïîëüçóåòå ïåðåñîçäàíèå ñåññèè." -13369549

:NONAME_689
alloc 0@ 65536
0C11: memset destination 0@ value 0 size 65536
0BE3: raknet setup_incoming_rpc_hook -2119
0BE4: raknet setup_incoming_packet_hook -2399
0B34: samp register_client_command "rec" to_label @NONAME_1091
0B34: samp register_client_command "recon" to_label @NONAME_1091
0B34: samp register_client_command "au_rec" to_label @NONAME_1587
0B34: samp register_client_command "au_recon" to_label @NONAME_1587
0B34: samp register_client_command "fconnect" to_label @NONAME_1916
chatmsg "[Reconnect {CC0000}by AIR{33FF33}]: {FFFFFF}Ñêðèïò çàãðóæåí! /rec(on) (time/nick) | /au_rec(on) (time) | /fconnect [type][time]" -13369549

:NONAME_937
wait 1000
if and
   not 14@ > 100
  14@ >= 0
jf @NONAME_1084
if
  14@ > 0
jf @NONAME_1038
0AD0: show_formatted_text_lowpriority "~b~Reconnect ~r~by AIR~b~: ~g~%d ~b~sec..." time 1005 14@

:NONAME_1038
14@ -= 1
if
   not 14@ >= 0
jf @NONAME_1084
19@ = 1
call @NONAME_2992 0
SAMP.SetGameState(1)

:NONAME_1084
jump @NONAME_937

:NONAME_1091
   SAMP.IsCommandTyped(12@)
0C17: 13@ = strlen 12@
if
  13@ > 0
jf @NONAME_1516
if and
  13@ >= 3
   not 13@ > 24
jf @NONAME_1315
if
call @NONAME_3348 1 12@
jf @NONAME_1239
SAMP.SetLocalNickname(12@)
0AD0: show_formatted_text_lowpriority "~b~Reconnect ~r~by AIR~b~: ~g~New nick: ~y~%s" time 1005 12@
jump @NONAME_1308

:NONAME_1239
call @NONAME_3275 0
14@ = 0
0ACC: show_text_lowpriority "~b~Reconnect ~r~by AIR~b~: ~g~Reconnecting..." time 1005

:NONAME_1308
jump @NONAME_1509

:NONAME_1315
0C1A: 13@ = atoi 12@
if or
  13@ > 100
   not 13@ >= 0
jf @NONAME_1438
if
  14@ > -1
jf @NONAME_1424
0ACC: show_text_lowpriority "~b~Reconnect ~r~by AIR~b~: ~g~Stopped Reconnecting!" time 1005

:NONAME_1424
14@ = -1
jump @NONAME_1509

:NONAME_1438
call @NONAME_3275 0
0085: 14@ = 13@ // (int)
0AD0: show_formatted_text_lowpriority "~b~Reconnect ~r~by AIR~b~: ~g~%d ~b~sec..." time 1005 14@

:NONAME_1509
jump @NONAME_1585

:NONAME_1516
call @NONAME_3275 0
14@ = 0
0ACC: show_text_lowpriority "~b~Reconnect ~r~by AIR~b~: ~g~Reconnecting..." time 1005

:NONAME_1585
SAMP.CmdRet

:NONAME_1587
   SAMP.IsCommandTyped(12@)
0C17: 13@ = strlen 12@
if
  13@ > 0
jf @NONAME_1830
0C1A: 13@ = atoi 12@
if or
  13@ > 100
   not 13@ >= 0
jf @NONAME_1742
if
  18@ > -1
jf @NONAME_1728
0ACC: show_text_lowpriority "~b~Reconnect ~r~by AIR~b~: ~g~Stopped AutoReconnect!" time 1005

:NONAME_1728
18@ = -1
jump @NONAME_1823

:NONAME_1742
0085: 18@ = 13@ // (int)
0AD0: show_formatted_text_lowpriority "~b~Reconnect ~r~by AIR~b~: ~g~AutoReconnect in ~y~%d ~g~sec..." time 1005 18@

:NONAME_1823
jump @NONAME_1914

:NONAME_1830
if
  18@ > -1
jf @NONAME_1907
0ACC: show_text_lowpriority "~b~Reconnect ~r~by AIR~b~: ~g~Stopped AutoReconnect!" time 1005

:NONAME_1907
18@ = -1

:NONAME_1914
SAMP.CmdRet

:NONAME_1916
   SAMP.IsCommandTyped(12@)
0C17: 13@ = strlen 12@
if
  13@ > 0
jf @NONAME_2048
if
call @NONAME_3537 1 12@
jf @NONAME_2041
0ACC: show_text_lowpriority "~b~Reconnect ~r~by AIR~b~:~n~~g~Using: /fconnect [0-1][0-8192]!" time 1005

:NONAME_2041
jump @NONAME_2117

:NONAME_2048
0ACC: show_text_lowpriority "~b~Reconnect ~r~by AIR~b~:~n~~g~Using: /fconnect [type][time]!" time 1005

:NONAME_2117
SAMP.CmdRet
0BE5: raknet 2@ = get_hook_param 1
if
  2@ == 43
jf @NONAME_2395
if
  1@ >= 1000
jf @NONAME_2174
0BE0: raknet hook_ret 0
jump @NONAME_2395

:NONAME_2174
0BE5: raknet 2@ = get_hook_param 0
BitStream.ResetReadPointer(2@)
3@ = BitStream.Read(2@, 3)
8@ = BitStream.Read(2@, 4)
9@ = BitStream.Read(2@, 4)
10@ = BitStream.Read(2@, 4)
11@ = BitStream.Read(2@, 4)
6@ = 0
4@ = 0

:NONAME_2250
if
call @NONAME_2576 7 0@ 4@ 3@ 8@ 9@ 10@ 11@
jf @NONAME_2306
6@ = 1
jump @NONAME_2328

:NONAME_2306
4@ += 1
  4@ > 1000
jf @NONAME_2250

:NONAME_2328
if
  6@ == 0
jf @NONAME_2391
call @NONAME_2801 7 0@ 1@ 3@ 8@ 9@ 10@ 11@
1@ += 1
jump @NONAME_2395

:NONAME_2391
0BE0: raknet hook_ret 0

:NONAME_2395
0BE0: raknet hook_ret 1
0BE5: raknet 20@ = get_hook_param 1
if and
   not 20@ == 12
   not 20@ == 34
   not 20@ == 41
  60 > 20@
jf @NONAME_2572
if and
   not 20@ == 29
   not 20@ == 31
  18@ > -1
jf @NONAME_2565
0085: 14@ = 18@ // (int)
0AD0: show_formatted_text_lowpriority "~b~Reconnect ~r~by AIR~b~: ~g~AutoReconnect in ~y~%d ~g~sec..." time 1005 14@
jump @NONAME_2572

:NONAME_2565
19@ = 1

:NONAME_2572
0BE0: raknet hook_ret 1

:NONAME_2576
30@ = 0
1@ *= 20
005A: 0@ += 1@ // (int)
call @NONAME_2955 3 0@ 0 4 29@
if
003B:   2@ == 29@ // (int)
jf @NONAME_2767
call @NONAME_2955 3 0@ 1 4 28@
call @NONAME_2955 3 0@ 2 4 27@
call @NONAME_2955 3 0@ 3 4 26@
call @NONAME_2955 3 0@ 4 4 25@
if and
003B:   3@ == 28@ // (int)
003B:   4@ == 27@ // (int)
003B:   5@ == 26@ // (int)
003B:   6@ == 25@ // (int)
jf @NONAME_2767
30@ = 1

:NONAME_2767
if
  30@ == 0
jf @NONAME_2794
return_false
jump @NONAME_2796

:NONAME_2794
return_true

:NONAME_2796
ret 0

:NONAME_2801
1@ *= 20
005A: 0@ += 1@ // (int)
call @NONAME_2921 4 0@ 0 4 2@
call @NONAME_2921 4 0@ 1 4 3@
call @NONAME_2921 4 0@ 2 4 4@
call @NONAME_2921 4 0@ 3 4 5@
call @NONAME_2921 4 0@ 4 4 6@
ret 0

:NONAME_2921
006A: 1@ *= 2@ // (int)
005A: 0@ += 1@ // (int)
0A8C: write_memory 0@ size 2@ value 3@ virtual_protect 0
ret 0

:NONAME_2955
006A: 1@ *= 2@ // (int)
005A: 0@ += 1@ // (int)
0A8D: 3@ = read_memory 0@ size 2@ virtual_protect 0
ret 1 3@

:NONAME_2992
30@ = 0

:NONAME_2999
29@ = RakNet.NewBitStream()
RakNet.Write(29@, 30@, 2, 2)
0BF6: raknet emul_rpc_receive 172 bit_stream 29@
if
   SAMP.IsPlayerConnected(30@)
jf @NONAME_3059
RakNet.Write(29@, 0, 0, 1)
0BF6: raknet emul_rpc_receive 138 bit_stream 29@

:NONAME_3059
RakNet.DeleteBitStream(29@)
30@ += 1
  30@ > 1000
jf @NONAME_2999
30@ = 0

:NONAME_3093
if
29@ = SAMP.GetVehicleHandleBySAMPVehicleID(30@)
jf @NONAME_3142
29@ = RakNet.NewBitStream()
RakNet.Write(29@, 30@, 2, 2)
0BF6: raknet emul_rpc_receive 165 bit_stream 29@
RakNet.DeleteBitStream(29@)

:NONAME_3142
30@ += 1
  30@ > 2000
jf @NONAME_3093
call @NONAME_3324 0
0AA7: call_function 5489920 num_params 2 pop 2 1 1 30@
0AA7: call_function 5490704 num_params 1 pop 1 1 30@
0AA7: call_function 4247424 num_params 0 pop 0 30@
0AA7: call_function 4231328 num_params 0 pop 0 30@
0AA7: call_function 5904560 num_params 0 pop 0 30@
0AA7: call_function 7370608 num_params 0 pop 0 30@
ret 0

:NONAME_3275
30@ = SAMP.GetGamestate()
if and
   not 30@ == 0
   not 30@ == 4
jf @NONAME_3309
SAMP.Disconnect(False)

:NONAME_3309
call @NONAME_3324 0
ret 0

:NONAME_3324
if
   SAMP.IsDialogActive(-1)
jf @NONAME_3343
SAMP.CloseDialog(0)

:NONAME_3343
ret 0

:NONAME_3348
27@ = 0
30@ = SAMP.GetSAMPPlayerIDByActorHandle($PLAYER_ACTOR)
31@ = SAMP.GetPlayerNickname(30@)
if
0C14: strcmp string1 0@ string2 31@
jf @NONAME_3404
27@ = 1
jump @NONAME_3503

:NONAME_3404
0C17: 30@ = strlen 0@
29@ = 0

:NONAME_3419
call @NONAME_2955 3 0@ 29@ 1 28@
if and
  28@ >= 192
  255 >= 28@
jf @NONAME_3481
27@ = 1
jump @NONAME_3503

:NONAME_3481
29@ += 1
001D:   29@ > 30@ // (int)
jf @NONAME_3419

:NONAME_3503
if
  27@ == 1
jf @NONAME_3530
return_false
jump @NONAME_3532

:NONAME_3530
return_true

:NONAME_3532
ret 0

:NONAME_3537
29@ = 0
30@ = 0
0AA5: call 8528045 num_params 4 pop 4 30@v 29@v "%d %d" 0@
if or
  29@ == 0
  29@ == 1
jf @NONAME_3772
if and
  30@ >= 0
   not 30@ > 8192
jf @NONAME_3763
if
  29@ == 0
jf @NONAME_3673
call @NONAME_3779 2 2964549 30@
jump @NONAME_3691

:NONAME_3673
call @NONAME_3779 2 252846 30@

:NONAME_3691
0AD0: show_formatted_text_lowpriority "~b~Reconnect ~r~by AIR~b~: ~g~Type: %d / Time: %d" time 1005 29@ 30@
return_false
jump @NONAME_3765

:NONAME_3763
return_true

:NONAME_3765
jump @NONAME_3774

:NONAME_3772
return_true

:NONAME_3774
ret 0

:NONAME_3779
0C70: 30@ = get_module "samp.dll" handle
005A: 30@ += 0@ // (int)
0A8D: 29@ = read_memory 30@ size 4 virtual_protect 1
if
803B:   not  1@ == 29@ // (int)
jf @NONAME_3845
0A8C: write_memory 30@ size 4 value 1@ virtual_protect 1

:NONAME_3845
ret 0

:NONAME_3850
0AC6: 30@ = label @NONAME_4209 offset
0A8E: 28@ = 30@ + 11 // int
0A8E: 27@ = 30@ + 47 // int
call @NONAME_4115 3 28@ 27@ 1
0A8E: 28@ = 30@ + 17 // int
0A8C: write_memory 28@ size 4 value 0@ virtual_protect 1
0A8E: 28@ = 30@ + 27 // int
0A8E: 27@ = 30@ + 47 // int
call @NONAME_4115 3 28@ 27@ 1
0A8E: 28@ = 30@ + 39 // int
0A8C: write_memory 28@ size 4 value 0@ virtual_protect 1
0A8E: 28@ = 30@ + 60 // int
0C70: 29@ = get_module "samp.dll" handle
0A8E: 27@ = 29@ + 327624 // int
call @NONAME_4115 3 28@ 27@ 1
27@ -= 8
0A8D: 27@ = read_memory 27@ size 4 virtual_protect 1
if
  27@ == 1460726915
jf @NONAME_4108
call @NONAME_4148 4 29@ 327616 30@ 1
return_true
jump @NONAME_4110

:NONAME_4108
return_false

:NONAME_4110
ret 0

:NONAME_4115
0062: 1@ -= 0@ // (int)
1@ -= 4
0A8C: write_memory 0@ size 4 value 1@ virtual_protect 2@
ret 0

:NONAME_4148
005A: 1@ += 0@ // (int)
0A8C: write_memory 1@ size 1 value 233 virtual_protect 3@
0062: 2@ -= 1@ // (int)
2@ -= 5
1@ += 1
0A8C: write_memory 1@ size 4 value 2@ virtual_protect 3@
ret 0

:NONAME_4209
hex
 55 8B EC 8B 45 0C 80 38 00 0F
end
0084: // (int)
0000: NOP
hex
 81 3D 00 00 00 00 00 00 00 00 0F 84 00 00 00 00
 66 C7 40 01 69 69
end
05C7: AS_actor use_atm
0000: NOP
0000: NOP
0000: NOP
hex
 00 89 45 0C 5D 83 EC 10 57 8B 7C 24 18 E9 00 00
 00 00 7B 94 B6 DC 35 D0 95 BC A8 1F 6A 9E BA
end
 
  • Нравится
Реакции: friendly

Anonso

Новичок
5
0
Чистый файл? Лоудера, стилера нету?
 

Вложения

  • gm2_1.cs
    18.3 KB · Просмотры: 11