Skip to content

Y3A/short-reverse-shellcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

short-reverse-shellcode

A pretty short(300 bytes) fully functional TCP reverse shellcode. C code is a loader, main shellcode is in the asm braces

Note: shellcode assumes WSAStartup is already called by the whatever vulnerable program, because it probably is.

Otherwise, you can either send a payload consisting of solely a WSAStartup call before the main payload if space is really a limitation, or just increase the shellcode size to about 320, still pretty short :)

The main size improvement is due to a refactoring of the address resolving logic.
Instead of passing function hashes one by one, they are all laid out on the stack at once and the code iteratively resolves them.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published