if exists file
(
(
(
data folder of client
)
as string
)
& "\__Global\__Download\actionsite\_listbackup.txt"
)
then if exists file
(
(
parent folder of regapp "BESClient.exe" as string
)
& "\ComplianceWhitelist\ComplianceWhitelist.txt"
)
then
(
sha1 of file
(
(
(
data folder of client
)
as string
)
& "\__Global\__Download\actionsite\_listbackup.txt"
)
= sha1 of file
(
(
parent folder of regapp "BESClient.exe" as string
)
& "\ComplianceWhitelist\ComplianceWhitelist.txt"
)
)
as string else "Primary Whitelist File Missing" else "Whitelist Backup File Missing"
if exists file (((data folder of client) as string) & "\__Global\__Download\actionsite\_listbackup.txt") then if exists file ((parent folder of regapp "BESClient.exe" as string) & "\ComplianceWhitelist\ComplianceWhitelist.txt") then (sha1 of file (((data folder of client) as string) & "\__Global\__Download\actionsite\_listbackup.txt") = sha1 of file ((parent folder of regapp "BESClient.exe" as string) & "\ComplianceWhitelist\ComplianceWhitelist.txt")) as string else "Primary Whitelist File Missing" else "Whitelist Backup File Missing"