Moved SW-Diags settings to separate file
This commit is contained in:
parent
4197fc9e0b
commit
62f2ec8a4d
2 changed files with 31 additions and 24 deletions
|
|
@ -1,31 +1,9 @@
|
||||||
# Wizard Kit: Functions - Diagnostics
|
# Wizard Kit: Functions - SW Diagnostics
|
||||||
|
|
||||||
import ctypes
|
import ctypes
|
||||||
|
|
||||||
from functions.common import *
|
from functions.common import *
|
||||||
|
from settings.sw_diags import *
|
||||||
|
|
||||||
# STATIC VARIABLES
|
|
||||||
AUTORUNS_SETTINGS = {
|
|
||||||
r'Software\Sysinternals\AutoRuns': {
|
|
||||||
'checkvirustotal': 1,
|
|
||||||
'EulaAccepted': 1,
|
|
||||||
'shownomicrosoft': 1,
|
|
||||||
'shownowindows': 1,
|
|
||||||
'showonlyvirustotal': 1,
|
|
||||||
'submitvirustotal': 0,
|
|
||||||
'verifysignatures': 1,
|
|
||||||
},
|
|
||||||
r'Software\Sysinternals\AutoRuns\SigCheck': {
|
|
||||||
'EulaAccepted': 1,
|
|
||||||
},
|
|
||||||
r'Software\Sysinternals\AutoRuns\Streams': {
|
|
||||||
'EulaAccepted': 1,
|
|
||||||
},
|
|
||||||
r'Software\Sysinternals\AutoRuns\VirusTotal': {
|
|
||||||
'VirusTotalTermsAccepted': 1,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
def check_connection():
|
def check_connection():
|
||||||
|
|
|
||||||
29
.bin/Scripts/settings/sw_diags.py
Normal file
29
.bin/Scripts/settings/sw_diags.py
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
# Wizard Kit: Settings - SW Diagnostics
|
||||||
|
|
||||||
|
# General
|
||||||
|
AUTORUNS_SETTINGS = {
|
||||||
|
r'Software\Sysinternals\AutoRuns': {
|
||||||
|
'checkvirustotal': 1,
|
||||||
|
'EulaAccepted': 1,
|
||||||
|
'shownomicrosoft': 1,
|
||||||
|
'shownowindows': 1,
|
||||||
|
'showonlyvirustotal': 1,
|
||||||
|
'submitvirustotal': 0,
|
||||||
|
'verifysignatures': 1,
|
||||||
|
},
|
||||||
|
r'Software\Sysinternals\AutoRuns\SigCheck': {
|
||||||
|
'EulaAccepted': 1,
|
||||||
|
},
|
||||||
|
r'Software\Sysinternals\AutoRuns\Streams': {
|
||||||
|
'EulaAccepted': 1,
|
||||||
|
},
|
||||||
|
r'Software\Sysinternals\AutoRuns\VirusTotal': {
|
||||||
|
'VirusTotalTermsAccepted': 1,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
print("This file is not meant to be called directly.")
|
||||||
|
|
||||||
|
# vim: sts=2 sw=2 ts=2
|
||||||
Loading…
Reference in a new issue