Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BlackSnufkin/HolyGrail
/ functions
Functions
29 in github.com/BlackSnufkin/HolyGrail
⨍
Functions
29
◇
Types & classes
16
↓ 3 callers
Function
parse_ver
(s: &str)
src/driver_policy.rs:214
↓ 2 callers
Function
analyze_single_driver
(driver_path: &str, output_dir: &str, policy_dir: &str, use_json: bool)
src/find_vuln.rs:209
↓ 2 callers
Function
is_driver_file
(path: &Path)
src/main.rs:40
↓ 2 callers
Function
load_policy
(file_path: &str)
src/driver_policy.rs:143
↓ 2 callers
Function
sanitize_version_string
(raw_version: &str)
src/utils.rs:162
↓ 1 callers
Function
analyze_directory
(directory: &str, output_dir: &str, policy_dir: &str, json_output: bool)
src/main.rs:47
↓ 1 callers
Function
calculate_authenticode_hashes
(pe_data: &[u8], pe: &PE)
src/driver_policy.rs:171
↓ 1 callers
Function
calculate_file_hash
(path: &Path)
src/utils.rs:135
↓ 1 callers
Function
calculate_file_hashes
(pe_path: &str)
src/driver_policy.rs:151
↓ 1 callers
Function
check_driver_against_policy
( file_hashes: &FileHashes, certs: &[CertInfo], policy: &DriverPolicy, original_filename: Opti
src/driver_policy.rs:352
↓ 1 callers
Function
extract_cert_info
(cert: &X509Certificate, cert_der_bytes: &[u8])
src/driver_policy.rs:333
↓ 1 callers
Function
format_file_size
(bytes: u64)
src/utils.rs:151
↓ 1 callers
Method
is_loldriver
(&self, hash: &str)
src/find_vuln.rs:204
↓ 1 callers
Function
msft_block_policy
(pe_path: &str, policy: &DriverPolicy)
src/driver_policy.rs:513
↓ 1 callers
Function
parse_certificate_data
(cert_data: &[u8])
src/driver_policy.rs:255
↓ 1 callers
Function
parse_pe_certificates
(pe_path: &str)
src/driver_policy.rs:231
↓ 1 callers
Function
parse_pkcs7_certificates
(pkcs7_data: &[u8])
src/driver_policy.rs:283
↓ 1 callers
Method
to_certificate_details
(&self)
src/driver_policy.rs:79
↓ 1 callers
Function
ver_in_range
(ver: &str, min: Option<&str>, max: Option<&str>)
src/driver_policy.rs:224
Method
check_policy
(path: &Path, policy: &DriverPolicy, policy_name: &str)
src/find_vuln.rs:102
Method
fmt
(&self, f: &mut fmt::Formatter)
src/driver_policy.rs:58
Method
from_driver_info
(driver: &DriverInfo, hash: String, is_loldriver: bool, win10_policy: &DriverPolicy, win11_policy: &DriverPoli
src/find_vuln.rs:38
Method
get_arch_from_headers
(file_data: &[u8])
src/utils.rs:96
Function
main
()
src/main.rs:101
Method
new
(policy_dir: &str)
src/find_vuln.rs:179
Method
new
(path: &Path)
src/utils.rs:51
Method
scan_for_target_functions
(file_data: &[u8])
src/utils.rs:120
Method
to_json
(&self)
src/find_vuln.rs:112
Method
write_blocking_details
(writer: &mut BufWriter<File>, details: &BlockingDetails, os_version: &str)
src/find_vuln.rs:134