Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

lwerdna/call_shellcode

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add "call shellcode" menu option which executes highlighted bytes.

preview

How does it work?

  1. plugin (init.py) calls thunk.doit() with your selection
  2. thunk (thunk.py) uses ctypes to load one of {callbuf.dylib, callbuf.dll, callbuf.so}
  3. thunk (thunk.py) uses ctypes to call callbuf!doit() with your selection
  4. callbuf (callbuf/callbuf.c) allocates memory, sets permissions, and calls your selection

Installation Instructions

The prebuild and included callbuf.dylib, callbuf.dll, and callbuf.so are provided for the three OS's.

If they don't work, you can compile them yourself. It's less than 100 lines and there are no dependencies. See Makefile-macos, Makefile-linux, and Makefile-windows in the callbuf directory.

About

BinaryNinja plugin: execute highlighted bytes as shellcode

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.