@@ -26,8 +26,8 @@ save_preferences = true
2626[System Settings]
2727# Do not play with these settings unless you know what you are doing
2828# Dev Mode allows a safe way to modify these settings!!
29- version = 3.5.1
30- files = " bluetooth_details.py, bluetooth_logger.py, browser_miner.ps1, cmd_commands.py, config.ini, dir_list.py, dump_memory.py, event_log.py, Logicytics.py, log_miner.py, media_backup.py, netadapter.ps1, network_psutil.py, packet_sniffer.py, property_scraper.ps1, registry.py, sensitive_data_miner.py, ssh_miner.py, sys_internal.py, tasklist.py, tree.ps1, vulnscan.py, wifi_stealer.py, window_feature_miner.ps1, wmic.py, logicytics\Checks.py, logicytics\Config.py, logicytics\Execute.py, logicytics\FileManagement.py, logicytics\Flag.py, logicytics\Get.py, logicytics\Logger.py, logicytics\User_History.json.gz, vulnscan\SenseMini.3n3 .pth, vulnscan\vectorizer.3n3.pkl "
29+ version = 3.6.0
30+ files = " bluetooth_details.py, bluetooth_logger.py, browser_miner.ps1, cmd_commands.py, config.ini, dir_list.py, dump_memory.py, encrypted_drive_audit.py, event_log.py, Logicytics.py, log_miner.py, media_backup.py, netadapter.ps1, network_psutil.py, packet_sniffer.py, property_scraper.ps1, registry.py, sensitive_data_miner.py, ssh_miner.py, sys_internal.py, tasklist.py, tree.ps1, usb_history.py, vulnscan.py, wifi_stealer.py, window_feature_miner.ps1, wmic.py, logicytics\Checks.py, logicytics\Config.py, logicytics\Execute.py, logicytics\FileManagement.py, logicytics\Flag.py, logicytics\Get.py, logicytics\Logger.py, logicytics\User_History.json.gz, vulnscan\Model_SenseMacro.4n1 .pth"
3131# If you forked the project, change the USERNAME to your own to use your own fork as update material,
3232# I dont advise doing this however
3333config_url = https://raw.githubusercontent.com/DefinetlyNotAI/Logicytics/main/CODE/config.ini
@@ -100,93 +100,15 @@ timeout = 10
100100max_retry_time = 30
101101
102102# ##################################################
103+
103104[VulnScan Settings]
104- # Following extensions to be skipped by the model
105- # Format: comma-separated list with dots (e.g., .exe, .dll)
106- unreadable_extensions = .exe, .dll, .so, .zip, .tar, .gz, .7z, .rar, .jpg, .jpeg, .png, .gif, .bmp, .tiff, .webp, .mp3, .wav, .flac, .aac, .ogg, .mp4, .mkv, .avi, .mov, .wmv, .flv, .pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx, .odt, .ods, .odp, .bin, .dat, .iso, .class, .pyc, .o, .obj, .sqlite, .db, .ttf, .otf, .woff, .woff2, .lnk, .url
107- # In MB, max file size that the model is allowed to scan, if commented out disables the limit, you can also just say None
108- max_file_size_mb = None
109- # Max workers to be used, either integer or use auto to make it decide the best value
105+ # Max characters of text from each file to analyze. Set an integer or None to disable truncation.
106+ text_char_limit = None
107+ # Max workers to be used, either integer or use "auto" to make it decide the best value
110108max_workers = auto
111-
112- [VulnScan.generate Settings]
113- # The following settings are for the Generate module for fake training data
114- extensions = .txt, .log, .md, .csv, .json, .xml, .html, .yaml, .ini, .pdf, .docx, .xlsx, .pptx
115- save_path = PATH
116-
117- # Options include:
118- # 'Sense' - Generates 50k files, each 25KB in size.
119- # 'SenseNano' - Generates 5 files, each 5KB in size.
120- # 'SenseMacro' - Generates 1m files, each 10KB in size.
121- # 'SenseMini' - Generates 10k files, each 10KB in size.
122- # 'SenseCustom' - Uses custom size settings from the configuration file.
123- code_name = SenseMini
124-
125- # This allows more randomness in the file sizes, use 0 to disable
126- # this is applied randomly every time a file is generated
127- # Variation is applied in the following way:
128- # size +- (size */ variation) where its random weather to add or subtract and divide or multiply
129- size_variation = 0.1
130-
131- # Set to SenseCustom to use below size settings
132- min_file_size = 5KB
133- max_file_size = 50KB
134-
135- # Chances for the following data types in files:
136- # 0.0 - 1.0, the rest will be for pure data
137- full_sensitive_chance = 0.07
138- partial_sensitive_chance = 0.2
139-
140- [VulnScan.vectorizer Settings]
141- # The following settings are for the Vectorizer module for vectorizing data
142- # Usually it automatically vectorizes data, but this is for manual vectorization
143-
144- # We advise to use this vectorization, although not knowing the vectorizer is not advised
145- # as this may lead to ValueErrors due to different inputs
146- # Use the vectorizer supplied for any v3 model on SenseMini
147-
148- # The path to the data to vectorize, either a file or a directory
149- data_path = PATH
150- # The path to save the vectorized data - It will automatically be appended '\Vectorizer.pkl'
151- # Make sure the path is a directory, and it exists
152- output_path = PATH
153-
154- # Vectorizer to use, options include:
155- # tfidf or count - The code for the training only supports tfidf - we advise to use tfidf
156- vectorizer_type = tfidf
157-
158- [VulnScan.train Settings]
159- # The following settings are for the Train module for training models
160- # NeuralNetwork seems to be the best choice for this task
161- # Options: "NeuralNetwork", "LogReg",
162- # "RandomForest", "ExtraTrees", "GBM",
163- # "XGBoost", "DecisionTree", "NaiveBayes"
164- model_name = NeuralNetwork
165-
166- # General Training Parameters
167- epochs = 10
168- batch_size = 32
169- learning_rate = 0.001
170- use_cuda = true
171-
172- # Paths to train and save data
173- train_data_path = PATH
174- # If all models are to be trained, this is the path to save all models,
175- # and will be appended with the model codename and follow naming convention
176- save_model_path = PATH
177-
178- [VulnScan.study Settings]
179- # Here is the basics of the study module
180- # This is useful to generate graphs and data that may help in understanding the model
181- # Everything is found online pre-studied, so this is not necessary
182- # But it is useful for understanding the model locally
183- # All files be saved here, and can't be changed, PATH is "NN features/"
184-
185- # This is the path to the model, and the vectorizer
186- model_path = PATH
187- vectorizer_path = PATH
188- # Number of features to visualise in the SVG Bar graph, maximum is 3000 due to limitations
189- # Placing -1 will visualise first 3000 features. Bar will be a color gradient heatmap.
190- number_of_features = -1
109+ # Sensitivity threshold (0.0–1.0) for the model to flag content as sensitive
110+ threshold = 0.6
111+ # Paths for required files
112+ model = vulnscan/Model_SenseMacro.4n1.pth
191113
192114# #################################################
0 commit comments