Added Publisher Push
This commit is contained in:
+2
-1
@@ -34,7 +34,7 @@ dotenv.load_dotenv()
|
||||
#Constants
|
||||
url = os.getenv('url')
|
||||
bad_publisher_list = ["Brave","Zoom", "GlavSoft", "VNC"]
|
||||
pups = ["logmein", "invalid" , "nmap"]
|
||||
pups = ["logmein", "invalid" , "nmap", "VNC", "Kaseya", "Solarwinds", "mRemoteNG"]
|
||||
badpathparts = ["users", "wwwroot", "windows\\temp", "windows\\task", "windows\\system32", "startup", "windows\\fonts", "Recycle.Bin", "AppData", "programdata", "Solarwinds", "kaseya", "Windows\\assembly", "WindowsPowerShell\\Modules"]
|
||||
path_exclusion_constant = 4
|
||||
min_files_for_path = 4
|
||||
@@ -241,6 +241,7 @@ def menu_prepare_to_enforce():
|
||||
|
||||
if os.path.exists(f"approved\\hashes_rep_unknown_{first_policy}_{second_policy}.csv") and os.path.exists(f"approved\\hashes_rep_good_{first_policy}_{second_policy}.csv"):
|
||||
utils.pathfunctions.generatePathReview(first_policy, second_policy, badpathparts, min_files_for_path)
|
||||
utils.hashfunctions.generatePublist(first_policy,second_policy,bad_publisher_list)
|
||||
else:
|
||||
print(ct.colorText(f"Please manually approve hashes prior to this step","red"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user