Clean and document some example/linux (#176)

* Clean arguments.c

* Increase query timeout from 30 to 120 seconds

* Example documentation updated

* Add ibranch comments

* crackme.py, ibranch, sindex and typos

* indexhell

* visitad typo

* typo

* strncmp example

* Typos
This commit is contained in:
feliam
2017-05-02 17:04:07 -04:00
committed by Dan Guido
parent f4e5bcf53e
commit b19a158b6f
13 changed files with 406 additions and 218 deletions
+8 -8
View File
@@ -3,13 +3,13 @@ CFLAGS=-O3 -static
all: CFLAGS=-O3 -static
all: NOSTDLIBFLAGS=-m32 -fno-builtin -static -nostdlib -fomit-frame-pointer
all: nostdlib basic sindex strncmp arguments ibranch sendmail cbahacks indexhell baby-re helloworld
all: nostdlib basic sindex strncmp arguments ibranch sendmail crackme indexhell baby-re helloworld
arm: CC=arm-linux-gnueabi-gcc
arm: basic sindex strncmp arguments ibranch sendmail cbahacks indexhell helloworld simple_copy
arm: basic sindex strncmp arguments ibranch sendmail crackme indexhell helloworld simple_copy
clean:
rm -rf nostdlib basic sindex strncmp arguments sendmail server ibranch cbahacks indexhell cbahacks.c simple_copy helloworld
rm -rf nostdlib basic sindex strncmp arguments sendmail server ibranch crackme indexhell crackme.c simple_copy helloworld nostdlib32 nostdlib64
nostdlib: nostdlib.c
$(CC) -m32 -fno-builtin -static -nostdlib -fomit-frame-pointer nostdlib.c -o nostdlib32
@@ -25,6 +25,7 @@ basic: basic.c
sindex: sindex.c
$(CC) $(CFLAGS) sindex.c -o sindex
ibranch: ibranch.c
$(CC) $(CFLAGS) ibranch.c -o ibranch
@@ -40,13 +41,12 @@ sendmail: sendmail.c
server: server.c
gcc -static server.c -o server
cbahacks: cbahacks.py
python cbahacks.py >cbahacks.c
gcc -static cbahacks.c -o cbahacks
crackme: crackme.py
python crackme.py >crackme.c
gcc -static -Os crackme.c -o crackme
indexhell: indexhell.c
gcc -static indexhell.c -o indexhell
gcc -static indexhell.c -o indexhell
baby-re: baby-re.c
$(CC) $(CFLAGS) -o $@ $< -Wno-unused-result