Skip to content

ErSilh0x/maxpatrolvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Scripts for MaxPatrol VM

ptvm.py πŸ‘€

About

A slightly modified library for MaxPatrol VM API. Added a function for exporting a .csv file with vulnerabilities. Original can be found in:

https://addons.ptsecurity.com/ptvm-sdk
https://gitlab.com/bsploit/ptvm_sdk/

sanitmpvmlogs.py πŸ‘€

About

When you export logs from MaxPatrol VM 27.2 using the diagnostic tool for troubleshooting, it leaks all passwords in clear text.

This script recursively iterates through the directory and removes those passwords.

The script might not be 100% accurate in detecting every password, as the vendor often changes internal components in MaxPatrol and new password strings might appear in future versions. However, it's always a good idea to double-check using grep in the CLI β€” just in case.

Tested with MaxPatrol VM 27.2 logs on Astra Linux. Requires Python 3.x.

Things to remember

  • Do not run as root
  • Check which directory you supply

Usage

Be careful: this script makes permanent changes to all matching strings based on regex patterns, in all files within the specified directory recursively.

python3 sanitmpvmlogs.py --logs ./troubleshoot_dir

About

Repository with some tools for MaxPatrol VM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages