-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor MoodleScanner execution and error handling
- Updated the MoodleScanner class to improve subprocess execution and error handling. - Replaced subprocess.call with subprocess.run for better output capture and error management. - Enhanced logging for stdout and stderr during the moodlescan process. - Implemented detailed parsing of the output to extract server info, version info, and vulnerabilities. - Adjusted task result saving logic based on the findings from the moodlescan output. - Updated Dockerfile to clone the correct Moodle Scanner repository.
- Loading branch information
1 parent
2ce64eb
commit c12b466
Showing
2 changed files
with
70 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters