Because I don't care about DBUS data and bajilion lines of false positives
wget https://github.com/ReKon64/PEAS-Parsers/blob/main/linj2read.py && https://github.com/ReKon64/PEAS-Parsers/blob/main/win2read.py && wget https://github.com/ReKon64/PEAS-Parsers/blob/main/peas2json/peas2json.py
https://github.com/ReKon64/PEAS-Parsers
Doesn't matter if it's colored or not and if any results have been omitted. It will error out if the file is malformed and the JSON parser fails to account for it
Use the included peas2json copy that adds an all-important slash to one of the ANSI escape sequences.
Alternatively get https://github.com/peass-ng/PEASS-ng/blob/master/parsers/peas2json.py
and fix it yourself.
python3 peas2json.py peass.log peass.json
I do not know if the powershell version works and I have no intention of supporting it.
For Windows
python3 win2read.py peass.json
For Linux
python3 lin2read.py peass.json
Since we're using colorama
module for output, you can safely pipe |
or redirect the output with >
<
.
There will be no colours tho.
This project uses a pretty strict regex in mostly exclusion based logic, which means any deviation will printed. Same for match functions.
If you see something regularly, just add it yourself or post an issue.
Don't know regex? Ask ChatGPT and go from there. It fails with more specific patterns though.
Yes it does. I might fix it.