A lightweight, standalone privacy protection tool for Red Team operations and log analysis.
SentinelMask is designed to automate the sanitization of sensitive information (PII) from log files and text data. It ensures compliance and operational security by redaction before data exfiltration or sharing.
- Zero Dependency: Compiled as a standalone Linux binary (ELF). No Python environment required on the target machine.
- Regex-Powered Engine: Accurately detects and masks:
- Mobile Phone Numbers (CN)
- IPv4 Addresses
- Email Addresses
- ID Card Numbers
- Detailed Reporting: Provides execution statistics regarding masked entities.
- Pipeline Friendly: Supports command-line arguments for seamless integration into automated workflows.
Just drop the binary onto any Linux machine and run it.
# Make it executable
chmod +x dist/sentinel_v2
# Run sanitization
./dist/sentinel_v2 -i target.log -o cleaned.logRequires Python 3.x.
python3 sentinel_v2.py -i target.log -o cleaned.logRaw Input:
User admin (13800138000) login failed from 192.168.1.5. Email: [email protected]
Cleaned Output:
User admin ([PHONE_MASKED]) login failed from [IPV4_MASKED]. Email: [EMAIL_MASKED]
This tool is intended for legal security research and authorized system administration purposes only.
Created by j32ryc for the AI & Cybersecurity Portfolio.