Skip to content

Commit 731bed6

Browse files
committed
Added a license and comments to the beginning of files to state their purposes.
1 parent d730ead commit 731bed6

File tree

6 files changed

+29
-9
lines changed

6 files changed

+29
-9
lines changed

Diff for: LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 Kasjan Chilarski
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.

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ This is meant to be a learning experience for me to get into the world of hackin
66
Inspiration and some code was taken from k-stz. Find his GitHub [here](https://github.com/k-stz/cl-ptrace).
77

88
# Liscense
9-
**GNU**
9+
**MIT**

Diff for: debug.asm

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
;;;; This file is for me to look through the decompiled assembly code to better understand the program.
2+
13
.file "prog.c"
24
.text
35
.globl flag

Diff for: makefile

-7
This file was deleted.

Diff for: prog.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//// This is a simple program meant to be hacked using ptrace. The flag can be found within the RIP register.
2+
13
#include <stdio.h>
24

35
int flag = 0xABCD;

Diff for: source.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//// This file is meant for me to look through the C header files to better understand the structure of ptrace and the functions.
2+
13
#include <stdio.h>
24
#include <stdlib.h>
35
#include <sys/ptrace.h>
@@ -13,4 +15,4 @@
1315
// their definition so I can learn from it
1416
int main () {
1517
return 0;
16-
}
18+
}

0 commit comments

Comments
 (0)