8000 More Sysdiagnose artifacts by prosch88 · Pull Request #1187 · abrignoni/iLEAPP · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

More Sysdiagnose artifacts #1187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

More Sysdiagnose artifacts #1187

wants to merge 4 commits into from

Conversation

prosch88
Copy link
Contributor
@prosch88 prosch88 commented Jun 4, 2025

This allows the parsing of processes (ps) and "disk_free" (df) outputs in sysdiagnose archives.
Also tcc.py and sysShutdown.py got modified to handle sysdiagnose archives in backups.

prosch88 and others added 3 commits June 4, 2025 09:24
	modified:   scripts/artifacts/sysdiagnose.py
	modified:   scripts/artifacts/tcc.py
Added more Sysdiagnose artifacts (ps, df) and
modified sysShutdown and tcc to parse archives
	modified:   scripts/artifacts/tcc.py
for filename in files_found:
if "shutdown.log" in filename:
file_found = filename
file = open(filename, "r", encoding="utf8")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are moving modules over to using protected file access functions (located in ilapfuncs.py file) so we can better control error and exception handling.

this document is new, but see here for info:
https://github.com/abrignoni/iLEAPP/wiki/Artifact-Module-API#get_txt_file_contentfile_path

we dont yet have a protected function to access tar files yet, but i just submitted an issue to address this.
#1194

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That sounds like a very logical step. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0