samp.directory
← Scripts and libraries

zile42O/samp-rce

samp rce exploit

Other★ 8updated Jun 2024No licencePawn
Open on GitHub

This repository has no licence file. It is public to read, but that alone does not give permission to reuse it.

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 .dll
  • Rename file to change extension from .dll to .asi
  • Move the file to dir sRDI/
  • Convert to shellcode
    py .\ConvertToShellcode.py .\sampRCE.asi
    
  • Move converted sampRCE.asi to server/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.

criticalexploitrcesa-mp

This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing