Commit Graph

23 Commits

Author SHA1 Message Date
Jan Körner
be224f55a6 Merge branch 'dev_jkr' into 'master'
# Conflicts:
#   src/8008135.c
2019-12-08 13:00:19 +00:00
Jan Koerner
3e30a6df32 Socket von ss verstecken 2019-12-08 13:33:50 +01:00
6ad05f1c20 OutSourcing 2019-12-08 12:05:07 +01:00
c897df31ec Dude, das war richtig schlecht geschriebener Code 2019-12-08 12:04:42 +01:00
ed5b2fa92a CleanUp 2019-12-08 12:02:33 +01:00
53e95217c2 Removing single-line comments 2019-12-08 12:02:08 +01:00
800779a376 ifdef HARMLESS um ansonsten nicht bentigte Var 2019-12-08 12:01:37 +01:00
04f29d2e03 Skript fr Code Generierung angepasst so dass die explizite Definition der Variablen im c File steht und im Header File die Deklaration fr externes 2019-12-08 12:00:46 +01:00
bbf48681e0 Tun wir mal so als ob wir Helper Funktionen benutzen wrden 2019-12-08 11:59:14 +01:00
valentin lechner
dcd4c6588a Delete 5y563n.h 2019-12-08 01:13:25 +00:00
500087d2ca exporting functions to files 2019-12-08 01:10:48 +00:00
bd0a37f68b Merge remote-tracking branch 'origin/master' into dev_vlr 2019-12-08 00:25:52 +00:00
4a8df7d308 Downstream merge to get access to latest ver
Merge branch 'master' into dev_vlr
2019-12-08 00:22:06 +00:00
Jan Körner
a598ee7319 Merge branch 'master' into 'dev_jkr'
Master

See merge request jan-koerner-enterprises/8008135!2
2019-12-07 23:34:31 +00:00
Jan Koerner
14a0ea6b8f hide open port from netstat 2019-12-08 00:31:43 +01:00
4aa1387a89 Adding call_usermodehelper to input commands as root 2019-12-07 15:37:35 +01:00
f187dc64d3 Merge branch 'dev_vlr' 2019-12-05 20:14:10 +01:00
Jan Koerner
b02de7a8e0 Modul verstecken implementiert 2019-12-01 23:45:00 +01:00
Jan Koerner
cbe0fabcea Modul verstecken implementiert 2019-12-01 23:40:43 +01:00
3abccec17e Refactoring 2019-11-22 16:40:18 +01:00
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
2019-11-22 00:32:36 +01:00
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```
2019-11-21 03:02:37 +01:00
27b3fe226b Adding eclipse file extensions to gitignore 2019-11-21 03:00:44 +01:00