-
Notifications
You must be signed in to change notification settings - Fork 14
Use exploit scripts
lethanhtung01011980 edited this page Jan 10, 2020
·
9 revisions
- Search online: https://www.exploit-db.com/
- Search offline: searchsploit MS17-010
Search file
- locate /42031.py
- Modify IP
- Modify return address
- Modify shell code
- gcc 643.c -o 643
- Note that string is 1 character longer than memset and malloc.
- May need extra libraries for IPs and sockets
- Install mingw-w64: apt-get install mingw-w64
- Compile: i686-w64-mingw32-gcc 646-fixed.c -lws2_32 -o 646.exe
- Linux C program: ./643
- Windows C program: wine 646.exe victim_ip