icon

Memcache Pentesting

Last modified: 2023-02-23

Memcached is a general-purpose distributed memory caching system. A default port is 11211.

Communication

We can communicate with memcache server using Netcat.

nc -vn <ip> 11211
Connection to <ip> 11211 port [tcp/*] succeeded!

# Commands in nc
version
stats
stats slabs
stats items
stats cachedump <number> 0
stats cachedump 1 0
get <item_name>