Outro★ 8atualizado jun. de 2024Sem licençaPawn
Abrir no GitHubEste repositório não tem arquivo de licença. Ele é público para leitura, mas isso sozinho não dá permissão para reutilizar.
README.md
samp-rce
Small presentation example of Remote Code Execution in SA:MP. This vulnerability is fixed in latest RC samp 0.3.7-R5
Setup
-
Download files clone repo
-
Compile
src/(cpp) project to .dllsrc/is just small example of downloading samp037r5 file and run it with telegram logger-
Note: you already have build file in dir
release/with namesampRCE.dllwith non longer working telegram token (which i used for testing)Edit lines in
https://github.com/zile42O/samp-rce/blob/7ee3ef92be7462aaf6aded2b1775072aecc553f4/src/main.h#L10-L16main.hfile:
-
Rename file to change extension from
.dllto.asi -
Move the file to dir
sRDI/-
sRDI is external tool you can get it here: https://github.com/monoxgas/sRDI or via command:
git clone https://github.com/monoxgas/sRDI
-
-
Convert to shellcode
py .\ConvertToShellcode.py .\sampRCE.asi -
Move converted
sampRCE.asitoserver/scriptfiles/ -
Run server with
sampctl run, join into game and that's it
|----------| |---------| |--------|
| samp svr | ---> [rce.pwn] -> | payload | <---> [ scriptfiles/sampRCE.asi ] ----> | client |
|----------| |---------| |------- |
demo images
client
telegram logger example
Credits
big thanks to EvgeN 1137 who explained and cover this vulnerability you can check his post here
Disclamer
This repository is for academic purposes, the use of this software is your responsibility.
Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página