Before all
I learned these from Road on TryHackMe today
Notes
Mongo DB
It usually runs on port 27017
payloads(?):
Look for working services
1 | ss -tulnp |
MongoDB
1 | /*show databases*/ |
LD_PRELOAD
LD_PRELOAD is a function allows any program to share libraries.
payloads:
shell.c
1 |
|
library compilationgcc -fPIC -shared -o shell.so shell.c -nostartfiles
add LD_PRELOAD with sudosudo LD_PRELOAD=/home/webdeveloper/shell.so sky_backup_utility
In case of sudo result like this:
env_keep+=LD_PRELOAD