Run
cd ua_intel_console_v2
python3 main.py
New in v2.0
- Corpus auto-hit injection matches stored patterns and annotates the Explain tab.
- Batch mode analyze 10k+ UAs and rank normalized signatures by risk and count.
- Delta view compare two UAs side-by-side at field level.
- HTML export one-click themed report for single and batch runs.
- Plugin hooks drop Python plugins into
plugins/to enrich analysis.
Corpus Patterns
Corpus entries are stored in data/corpus.json. Patterns can be:
- Simple substring (case-insensitive), e.g.
MiuiBrowser - Regex (either
re:<regex>or regex-looking patterns)
Plugins
Any .py file in plugins/ is loaded at runtime. Plugins can register hooks:
from ua_intel.hooks import register_hook
def tag(parsed):
parsed["tags"].append("my-tag")
register_hook("post_parse", tag)
Optional Build (PyInstaller)
python3 -m pip install --user pyinstaller
pyinstaller --noconfirm --onefile --name ua-intel-console main.py
./dist/ua-intel-console