You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Made many refactoring changes, fixed bugs and improved code
[__init__.py]
Added a library check to make sure its only imported
Removal of config_data to Config.py (Created it as well)
[_dev.py]
[color_print()] Added new color cyan and new option to not print but input (also returns values)
Changed inputs to color_print(is_input=True)
Changed some messages to make them look better
Changed how the logic of getting the file changes work, now its WAY more accurate and better and faster
[Config.py]
Added new file, this is for config data gain, [Ref: __init__.py]
[Flag.py, Logicytics.py, packet_sniffer.py]
Changed config to the CONFIG global var from __init__.py
[Get.py]
Changed list_of_files() logic to now only exclude files starting with '_' and any extensions and files passed down (rather than hardcoded files like Logicytics.py)
Refactored the class and function to be more efficient as well as fixed some bugs
[Logicytics.py]
Added exclusion to get files to accommodate the new changes [Ref: Get.py]
Mitigated potential bugs in __threaded method with ThreadPoolExecutor, added a try-except
Mitigated potential bugs in backup if the path doesn't exist
Made the subprocess opening for execute_new_window more safe by mitigating a bug if python doesn't exist in PATH, now it takes python PATH from sys.executable
[packet_sniffer.py]
Improved error logging messages
Made method __get_port_info() safer by making the port_type optional defaulting to 'sport', also added validation to only allow 'sport' and 'dport'
Added a retry timer in the code, thus script maxes execution at 30sec (based on max_retry_time)
Made Sniff() init once only.
[vulnscan.py]
Improved Time bottleneck by only reading readable files that aren't part of UNREADABLE_EXTENSIONS list, thus now it will read/parse more than scan, which improves time and reduces issues
Renamed some methods to be protected members
Improved _is_sensitive by using sparse matrices
Fixed bug where if result is empty, it crashes due to append of a variable that doesn't exist
Remade the ThreadPoolExecutor logic for getting the files by improving its speed and efficiency
Signed-off-by: Shahm Najeeb <[email protected]>
0 commit comments