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

FelixZhang00/shellcode_example

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

shellcode_example

a shecode example build on ubuntu 32bit.

write a sample shellcode, build it.

$ nasm -f elf helloworld.asm
$ ld helloworld.o

runshellcode.c will read a shekkcode.bin to a buffer, and run code from the buffer.

$ gcc runshellcode.c -o runshellcode

build your shellcode

$ cc -m32   -c -o shellcode.o shellcode.S
$ objcopy -S -O binary -j .text shellcode.o shellcode.bin

enjoy: $ ./runshellcode shellcode.bin


Reference

get more example from: http://shell-storm.org/shellcode/files/shellcode-811.php

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

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