21 Commits (3abccec17edf00ba3d4ce8b863157394a78e796b)
 

Author SHA1 Message Date
Valentin Lechner 3abccec17e Refactoring 5 years ago
Valentin Lechner 24a629d7e8 Renaming TODO to TODO.md for online markdown support 5 years ago
Valentin Lechner 6306de6234 Adding TODO file 5 years ago
Valentin Lechner 28c4025758 Adding a Socket Server to the Linux Kernel Module
Gone a long way from trying to implement a socket bindshell
using the standard C-Libraries (which obv. doesn't work in LKM!),
then implementing an ASM-Solution only to find out there are problems
with the x86/x32 bit and knowing that I have no clue of how to write ASM,
I thought of looking into sockets on linux kernel modules - AAAND
found one. So the files:
* src/50ck3t.c
* src/headers/50ck3t.h
are basically from
https://github.com/abysamross/simple-linux-kernel-tcp-client-server.git
Thanks for sharing! There will prob. be some additions and modifications.

Makefile:
* Some Stuff had to be renamed in the Makefile due to
Renaming src/create_sysgen.sh -> src/cr3473_5y563n.sh &
Added src/headers/50ck3t.h, src/50ck3t.c

Including src/headers/50ck3t.h in 8008135.c

Changing Module License to GPL, somehow GPLv3 was a problem to the compiler
because of do_exit
5 years ago
Valentin Lechner 062fdebeae Changing Folder Structures and extending the Makefile for Needs
Added an 'src' dir with subfolders headers, include, libs
Extending Makefile, so that all the Files get included for
the build.
Also adding the "load" option for make, which loads the module
(has to be built before) as well as the "unload" option which unloads
the module.
The "all" option now automatically builds the sysgen.h from the script,
it doesn't have to be executed in forehand anymore.
Also, some Variables got added for better readability and changeability.

After the socket bindshell didnt work so far, I added some DEBUG Kernel prints
to debug the issue that sometimes the files to be hidden get displayed
as "?"

Also, a few Functions for debugging have been added - but I was too tired
to add them to the collection and use them instead of ```printk```
5 years ago
Valentin Lechner 27b3fe226b Adding eclipse file extensions to gitignore 5 years ago
Valentin Lechner 6574560e71 Merge branch 'master' into dev_vlr 5 years ago
Valentin Lechner 814ba97f22 Adding GPLv3 License 5 years ago
Valentin Lechner 7126d0197c cleaning up 5 years ago
Valentin Lechner 9c2a8e74a8 adding sysgen.h to the gitignore 5 years ago
Valentin Lechner ecf6420144 removing unneeded filees from git 5 years ago
Valentin Lechner d79245ea58 Extending gitignore 5 years ago
Valentin Lechner 85eb771fa5 Update Makefile, Adding more fileext to .gitignorey 5 years ago
Jan Koerner 4d67932c00 .gitignore fix 2 5 years ago
Jan Koerner 2d55415f24 .gitignore fix 5 years ago
Jan Koerner c4040a613b Ordner / Dateien verstecken hinzugefügt 5 years ago
Valentin Lechner 48717aa477 Updated gitignore 5 years ago
Valentin Lechner 15b13a399a Adding gitignore 5 years ago
Jan Koerner c66bf8aba0 notizen.txt hinzugefuegt 5 years ago
Valentin Lechner 9da93ed7b3 Initializing Makefile, 8008135.c 5 years ago
Jan Körner e6c3eb6c88 Initial commit 5 years ago