-
-
Save oxtd/5c6a106496a63440e8231bc35ffc2263 to your computer and use it in GitHub Desktop.
k
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root@53bdb03130a9:/root# ls | |
| ls | |
| Makefile reverse-shell.c | |
| root@53bdb03130a9:/root# echo $PATH | |
| echo $PATH | |
| /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:./usr/lib/gcc/x86_64-linux-gnu/8/ | |
| root@53bdb03130a9:/root# make clean | |
| make clean | |
| make -C /lib/modules/4.15.0-142-generic/build M=/root clean | |
| make[1]: Entering directory '/usr/src/linux-headers-4.15.0-142-generic' | |
| make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-142-generic' | |
| root@53bdb03130a9:/root# make all | |
| make all | |
| make -C /lib/modules/4.15.0-142-generic/build M=/root modules | |
| make[1]: Entering directory '/usr/src/linux-headers-4.15.0-142-generic' | |
| CC [M] /root/reverse-shell.o | |
| Building modules, stage 2. | |
| MODPOST 1 modules | |
| CC /root/reverse-shell.mod.o | |
| LD [M] /root/reverse-shell.ko | |
| make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-142-generic' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment