1
2
Fork 0
mirror of https://github.com/carlospolop/hacktricks.git synced 2023-12-14 19:12:55 +01:00

GitBook: [master] one page modified

This commit is contained in:
CPol 2020-07-27 19:14:50 +00:00 committed by gitbook-bot
parent d507a2a4d0
commit b8f2f8b270
No known key found for this signature in database
GPG key ID: 07D2180C7B12D0FF

View file

@ -32,7 +32,7 @@ echo "stats items" | nc -vn <IP> 11211 #Get items of slabs with info
echo "stats cachedump <number> 0" | nc -vn <IP> 11211 #Get key names
echo "get <item_name>" | nc -vn <IP> 11211 #Get saved info
#This php will just dumo the keys, you need to use "get <item_name> later"
#This php will just dump the keys, you need to use "get <item_name> later"
sudo apt-get install php-memcached
php -r '$c = new Memcached(); $c->addServer("localhost", 11211); var_dump( $c->getAllKeys() );'
```