Skip to content

Commit 8cc17c7

Browse files
committed
Add android crackmes and restructurize
1 parent 68e846b commit 8cc17c7

File tree

396 files changed

+978
-129004
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

396 files changed

+978
-129004
lines changed

Github-Users/README.md

+5-5
+11
Binary file not shown.
+11
Binary file not shown.
Binary file not shown.

Github-Users/android/num1r0/README.md

+16
Binary file not shown.
Binary file not shown.
Binary file not shown.
+7

Github-Users/android/reoky

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 18e4ba8bfe7a0139d6a3d2d1c59a790e9f5961c7
+12
Binary file not shown.
+6-6
+23
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Compiler: GCC
2+
CC := gcc
3+
# Common GCC flags
4+
CCFLAGS := -O1 -fno-stack-protector -lcrypt
5+
# Compiler flags for x86_64
6+
CCFLAGS64 := $(CCFLAGS) -m64
7+
8+
# Make anything
9+
%: %.c
10+
make $@.64
11+
12+
# Build 64 bit binaries
13+
%.64: %.c
14+
$(CC) $(CCFLAGS64) $< -o $@
15+
objcopy -g $@
16+
17+
# Determine all C programs in directory
18+
SRCS = $(wildcard *.c)
19+
# Substitute the programs' names
20+
PROGS = $(patsubst %.c,%.64,$(SRCS))
21+
# All lets you make everything
22+
all: $(PROGS)
23+
24+
# Delete everything
25+
.PHONY: clean
26+
clean:
27+
rm -f *.64
+22-22
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
The MIT License (MIT)
2-
3-
Copyright (c) 2016
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
22-
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+
+19-19
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
all: crackme1 crackme2 crackme3py crackme4py crackme4 crackme3
2-
3-
crackme1:
4-
gcc -o crackme1 -g crackme1.c
5-
6-
crackme4:
7-
gcc -o crackme4 crackme4.c
8-
9-
crackme3:
10-
gcc -o crackme3 crackme3.c
11-
12-
crackme2:
13-
gcc -o crackme2 -g crackme2.c
14-
15-
crackme3py:
16-
pycompile crackme3.py
17-
18-
crackme4py:
19-
pycompile crackme4.py
1+
all: crackme1 crackme2 crackme3py crackme4py crackme4 crackme3
2+
3+
crackme1:
4+
gcc -o crackme1 -g crackme1.c
5+
6+
crackme4:
7+
gcc -o crackme4 crackme4.c
8+
9+
crackme3:
10+
gcc -o crackme3 crackme3.c
11+
12+
crackme2:
13+
gcc -o crackme2 -g crackme2.c
14+
15+
crackme3py:
16+
pycompile crackme3.py
17+
18+
crackme4py:
19+
pycompile crackme4.py
+12-4

Github-Users/multi/jmcph4/.gitignore

-41
This file was deleted.

Github-Users/multi/jmcph4/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
SRC_DIR = src
2-
BIN_DIR = bin
1+
SRC_DIR = sources
2+
BIN_DIR = binaries
33

44
CC = gcc
55
CFLAGS = -Wall -Wextra -Wshadow -pedantic -std=c11
7.32 KB
Binary file not shown.
7.45 KB
Binary file not shown.
7.5 KB
Binary file not shown.
7.5 KB
Binary file not shown.
7.98 KB
Binary file not shown.
8.29 KB
Binary file not shown.
8.52 KB
Binary file not shown.
8.59 KB
Binary file not shown.
8.59 KB
Binary file not shown.
13.1 KB
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Github-Users/sega/zznop/README.md

+20
12.8 KB
Binary file not shown.

Github-Users/unix/LeoTindall/.gitignore

-5
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#include <stdio.h>
2+
#include <string.h>
3+
4+
// A very simple crackme which stores the correct password in program memory
5+
// and uses the builtin string comparison function to check it.
6+
7+
int main(int argc, char** argv) {
8+
9+
if (argc != 2) {
10+
printf("Need exactly one argument.\n");
11+
return -1;
12+
}
13+
14+
char* correct = "password1";
15+
16+
if (strncmp(argv[1], correct, strlen(correct))) {
17+
printf("No, %s is not correct.\n", argv[1]);
18+
return 1;
19+
} else {
20+
printf("Yes, %s is correct!\n", argv[1]);
21+
return 0;
22+
}
23+
24+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#include <stdio.h>
2+
#include <string.h>
3+
4+
// A very simple crackme which stores the correct password in program memory
5+
// and uses the builtin string comparison function to check it.
6+
7+
int main(int argc, char** argv) {
8+
9+
if (argc != 2) {
10+
printf("Need exactly one argument.\n");
11+
return -1;
12+
}
13+
14+
char* correct = "slm!paas.k";
15+
16+
if (strncmp(argv[1], correct, strlen(correct))) {
17+
printf("No, %s is not correct.\n", argv[1]);
18+
return 1;
19+
} else {
20+
printf("Yes, %s is correct!\n", argv[1]);
21+
return 0;
22+
}
23+
24+
}

0 commit comments

Comments
 (0)