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
e61d11437a
commit
5bf5fe44f2
1 changed files with 3 additions and 0 deletions
|
@ -104,6 +104,9 @@ run getgui -u [USER_NAME] -p [PASS]
|
|||
### Change SSH port
|
||||
`nano /etc/ssh/sshd_config` (change PORT 22 to any port you want also you can tinker with configuration file)
|
||||
|
||||
### Hide yourself from "w" or "who"
|
||||
`ssh user@ip -T` This -T will have some limiations , that you cannot run bash and some other commands but is helpful.
|
||||
|
||||
### Run Bash script on king.txt
|
||||
`while [ 1 ]; do /root/chattr -i king.txt; done &`
|
||||
|
||||
|
|
Loading…
Reference in a new issue