GitBook: [master] 380 pages modified

This commit is contained in:
CPol 2020-10-18 11:15:59 +00:00 committed by gitbook-bot
parent 229d75d9f7
commit 98f9ede180
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
3 changed files with 18 additions and 0 deletions

View File

@ -340,6 +340,14 @@ for i in $(seq 1 610); do ps -e --format cmd >> /tmp/monprocs.tmp; sleep 0.1; do
**You can also use** [**pspy**](https://github.com/DominicBreuker/pspy/releases) \(this will monitor and list every process that start\).
### Invisible cron jobs
It's possible to create a cronjob **putting a carriage return after a comment** \(without new line character\), and the cron job will work. Example \(note the carriege return char\):
```bash
#This is a comment inside a cron config file\r* * * * * echo "Surprise!"
```
## Services
### Writable _.service_ files

View File

@ -37,6 +37,15 @@ sudo apt-get install php-memcached
php -r '$c = new Memcached(); $c->addServer("localhost", 11211); var_dump( $c->getAllKeys() );'
```
### Manual2
```bash
sudo apt install libmemcached-tools
memcstat --servers=127.0.0.1 #Get stats
memcdump --servers=127.0.0.1 #Get all items
memccat --servers=127.0.0.1 <item1> <item2> <item3> #Get info inside the item(s)
```
### Automatic
```bash

View File

@ -368,4 +368,5 @@ ping 1.1.1.100 #After a successful connection, the victim will be in the 1.1.1.1
* [https://github.com/securesocketfunneling/ssf](https://github.com/securesocketfunneling/ssf)
* [https://github.com/z3APA3A/3proxy](https://github.com/z3APA3A/3proxy)
* [https://github.com/jpillora/chisel](https://github.com/jpillora/chisel)