Now that I’ve wrapped up Offensive Security‘s Cracking the Perimeter course and obtained my OSCE certification, I figured I’d start giving back to the community some of the stuff that helped me along the way.

Two websites that I found particularly useful were:

I’m not going to give away all of the information from these sites, so you should just read them. What I do offer you is the cheat sheet below to use when dealing with short and conditional jumps. There are other ways to get these values via the command line and in most debuggers, but I found having a quick reference sheet useful.

How the cheat sheet works is simple:

Figure out how many bytes that you want to jump forward or backwards, and then find the associated hex value. Values 01-7F are forward jumps and 80-FF are backwards jumps.

If this image looks blurry, check out the original here.


2 + 1 =

From the blog:

Simple x86 Assembly to shellcode script

Instead of running running the commands to dump shellcode from assembly code that I write, I made a very simple script to help speed it up a bit. This isn't anything fancy, but it works for me. Essentially what it does: -Compile assembly with nasm -Linking with ld...