-
Notifications
You must be signed in to change notification settings - Fork 83
Feature/progress callback (thread safe.) #108
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
base: main
Are you sure you want to change the base?
Conversation
…eference to self.xml_path. implemented io from xml_path file
…out is used for status and xml is written to disk.
…back to more functions.
Adding multi-threading should be fine and not cause any issues. In fact, the old code here is a snip-it from the subprocess module code for reference:
|
This time the implementation is cleaner, doesn't have the terminal cleanup code, and is thread safe.
Summary:
Added support for real-time progress reporting in Nmap scans via a progress_callback parameter.
Motivation:
Usage Example:
Changes:
Testing:
Code was tested with file:
test.py