Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
; Filename: execve-stack.nasm
; Author: Vivek Ramachandran
; Website:
; Training:
; Purpose:
global _start
section .text
; PUSH the first null dword
xor eax, eax
push eax
; PUSH //bin/sh (8 bytes)
push 0x68732f2f
push 0x6e69622f
mov ebx, esp
push eax
mov edx, esp
push ebx
mov ecx, esp
mov al, 11
int 0x80