SLAE Assignment #1 initiation

master
arno01 11 years ago
parent 5b0435879a
commit bead002c63

@ -1,4 +0,0 @@
SLAE
====
SLAE - Securitytube Linux Assembly Expert

@ -0,0 +1,5 @@
#!/usr/bin/env sh
ARG1=$1
set -x
nasm -f elf32 -o $ARG1.o $ARG1.nasm && ld -m elf_i386 -o $ARG1 $ARG1.o

Binary file not shown.

@ -0,0 +1,19 @@
; Filename: shell_bind_tcp.nasm
; Author: Andrey Arapov <andrey.arapov@gmail.com>
; 2013 March
global _start
section .text
_start:
xor eax, eax ; EAX = 0x000000
mov al, 1 ; EAX = 0x000001 __NR_exit 1:/usr/include/asm/unistd_32.h
xor ebx, ebx ; EBX = 0x000000 0: success status
int 0x80
;section .data

Binary file not shown.

@ -1,2 +0,0 @@
hello world
update
Loading…
Cancel
Save