mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-30 08:15:25 +00:00
17 lines
500 B
Markdown
17 lines
500 B
Markdown
|
# Miscellaneous & Tricks
|
||
|
|
||
|
All the tricks that couldn't be classified somewhere else.
|
||
|
|
||
|
## Send a message to another user
|
||
|
|
||
|
```powershell
|
||
|
# Windows
|
||
|
PS C:\> msg Swissky /SERVER:CRASHLAB "Stop rebooting the XXXX service !"
|
||
|
PS C:\> msg * /V /W /SERVER:CRASHLAB "Hello all !"
|
||
|
|
||
|
# Linux
|
||
|
$ wall "Stop messing with the XXX service !"
|
||
|
$ wall -n "System will go down for 2 hours maintenance at 13:00 PM" # "-n" only for root
|
||
|
$ who
|
||
|
$ write root pts/2 # press Ctrl+D after typing the message.
|
||
|
```
|