Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CarterPerez-dev/Cybersecurity-Projects
/ functions
Functions
8,109 in github.com/CarterPerez-dev/Cybersecurity-Projects
⨍
Functions
8,109
◇
Types & classes
1,979
↳
Endpoints
173
Function
test_score_all_missing_is_zero
Nothing present, nothing earned. Score = 0, grade = F
PROJECTS/foundations/http-headers-scanner/test_http_headers_scanner.py:252
Function
test_score_all_ok_is_100
Every rule passing should yield a perfect score
PROJECTS/foundations/http-headers-scanner/test_http_headers_scanner.py:241
Function
test_score_clamped_to_unit_range
Score never exceeds 1.0 even with many triggered rules.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_detection.py:182
Method
test_score_text_lowercase
Confirms score_text returns a non-negative float for lowercase input
PROJECTS/beginner/caesar-cipher/tests/test_analyzer.py:48
Function
test_scrub_command_docx_dry_run
Test that --dry-run doesn't create Word document files.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:365
Function
test_scrub_command_docx_single_file_success
Test the 'scrub' command with a single Word document file.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:332
Function
test_scrub_command_docx_with_workers
Test the --workers option for concurrent Word document processing.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:385
Function
test_scrub_command_dry_run
Test that --dry-run doesn't create files.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:76
Function
test_scrub_command_file_not_found
Test that the app handles missing files gracefully.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:116
Function
test_scrub_command_pdf_dry_run
Test that --dry-run doesn't create PDF files.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:166
Function
test_scrub_command_pdf_single_file_success
Test the 'scrub' command with a single PDF file.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:139
Function
test_scrub_command_pptx_dry_run
Test that --dry-run doesn't create PowerPoint files.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:286
Function
test_scrub_command_pptx_single_file_success
Test the 'scrub' command with a single PowerPoint file.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:253
Function
test_scrub_command_pptx_with_workers
Test the --workers option for concurrent PowerPoint processing.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:306
Function
test_scrub_command_recursive_docx_success
Test the 'scrub' command with recursive directory processing for Word documents.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:344
Function
test_scrub_command_recursive_jpg_success
Test the 'scrub' command with recursive directory processing for JPG.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:58
Function
test_scrub_command_recursive_pdf_success
Test the 'scrub' command with recursive directory processing for PDF.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:148
Function
test_scrub_command_recursive_pptx_success
Test the 'scrub' command with recursive directory processing for PowerPoint.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:265
Function
test_scrub_command_recursive_xlsx_success
Test the 'scrub' command with recursive directory processing for Excel.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:195
Function
test_scrub_command_requires_ext_with_recursive
Test that --recursive requires --extension flag.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:124
Function
test_scrub_command_requires_recursive_with_ext
Test that --extension requires --recursive flag.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:130
Function
test_scrub_command_single_file_success
Test the 'scrub' command with a single image file.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:49
Function
test_scrub_command_with_workers
Test the --workers option for concurrent processing.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:93
Function
test_scrub_command_xlsx_dry_run
Test that --dry-run doesn't create Excel files.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:213
Function
test_scrub_command_xlsx_single_file_success
Test the 'scrub' command with a single Excel file.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:186
Function
test_scrub_command_xlsx_with_workers
Test the --workers option for concurrent Excel processing.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_scrub_command.py:230
Function
test_search_users_requires_session
POST /auth/users/search returns 401 with no cookie
PROJECTS/advanced/encrypted-p2p-chat/backend/tests/test_session_auth.py:91
Method
test_serve_help
serve --help exits cleanly and mentions host
PROJECTS/advanced/ai-threat-detection/backend/tests/test_cli.py:88
Function
test_service_init_missing_db
Initializing with a non-existent .mmdb file sets reader to None.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_geoip.py:137
Function
test_service_init_valid_db
Initializing with a valid .mmdb path opens the reader.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_geoip.py:145
Method
test_session_key_matches
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_credentials.py:28
Function
test_settings
Settings override pointing to a temporary database
PROJECTS/beginner/c2-beacon/backend/tests/conftest.py:28
Function
test_settings
Override settings for test environment.
PROJECTS/advanced/ai-threat-detection/backend/tests/conftest.py:37
Method
test_settings_property
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_limiter.py:432
Method
test_setuid_nonzero_ignored
Allows setuid to non-root UIDs
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:45
Method
test_setuid_zero_by_nonroot
Detects setuid(0) from non-root UID
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:15
Method
test_setuid_zero_by_root_ignored
Allows setuid(0) when already root
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:31
Method
test_setuid_zero_serialized
Includes target_uid even when value is zero
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_renderer.py:83
Method
test_severity_filter
Filters events below minimum severity
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_processor.py:98
Method
test_severity_mapped_to_level
( self, result_with_findings: ScanResult )
PROJECTS/intermediate/dlp-scanner/tests/test_reporters/test_sarif.py:118
Method
test_severity_passes
Passes events at or above minimum severity
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_processor.py:106
Function
test_severity_thresholds
Severity classification follows the architecture thresholds.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_detection.py:198
Function
test_sha1_length_returns_sha1_first
40 hex chars = SHA-1 (RIPEMD-160 as a backup guess)
PROJECTS/foundations/hash-identifier/test_hash_identifier.py:347
Function
test_sha256_length_returns_sha256_first
64 hex chars points at SHA-256 first SHA3-256 and BLAKE2s also produce 64 hex chars but are rarer in real systems, so SHA-256 takes the
PROJECTS/foundations/hash-identifier/test_hash_identifier.py:332
Function
test_sha512_crypt_prefix_is_recognized
`$6$` is the marker for SHA-512 crypt — what /etc/shadow uses on Linux
PROJECTS/foundations/hash-identifier/test_hash_identifier.py:124
Method
test_shadow_read_nonroot
Detects /etc/shadow access by non-root
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:65
Method
test_shadow_read_root_ignored
Allows /etc/shadow access by root
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:80
Method
test_shadow_write_not_read_detection
Write to sensitive file does not trigger read detection
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:108
Method
test_shell_then_connect
Detects network connect after shell execution
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:405
Method
test_shell_without_connect
Normal shell execution is not flagged
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:365
Method
test_short_base64_not_detected
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_exfiltration.py:146
Method
test_short_data_below_window
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_entropy.py:58
Method
test_short_payload_not_http
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:59
Method
test_short_string_returns_empty
Checks that strings below the minimum length return no results
PROJECTS/beginner/base64-tool/tests/test_detector.py:152
Method
test_short_subdomain_no_entropy_check
( self, )
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_exfiltration.py:114
Function
test_shutdown_drains_and_exits
Calling stop() drains remaining items and all tasks exit cleanly.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_pipeline.py:121
Method
test_simple_domain
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_exfiltration.py:16
Method
test_simple_extension
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_file_scanner.py:191
Method
test_simple_strings
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_db_scanner.py:214
Method
test_single_byte_key
XOR works correctly with a single-byte key
PROJECTS/beginner/c2-beacon/backend/tests/test_encoding.py:32
Method
test_single_label
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_exfiltration.py:27
Method
test_single_match_not_boosted
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_context.py:117
Method
test_single_port
Verify single port filter
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_filters.py:48
Method
test_single_protocol
Verify single protocol filter
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_filters.py:41
Method
test_single_sample_forward
Single-sample forward pass completes without error in eval mode.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_autoencoder.py:48
Method
test_single_string
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:149
Method
test_skips_allowlisted_values
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_pattern.py:23
Method
test_skips_id_field
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_db_scanner.py:237
Method
test_slack_tokens_match
(self, token: str)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_credentials.py:94
Method
test_sliding_window_algorithm
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_integration.py:599
Method
test_sliding_window_value
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:60
Method
test_sliding_window_weighted_count
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_storage.py:164
Method
test_slowdown_middleware_allows_requests
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_integration.py:475
Method
test_small_dataset_works
Small 50-sample dataset succeeds
PROJECTS/advanced/ai-threat-detection/backend/tests/test_splitting.py:127
Method
test_smote_increases_minority
SMOTE brings minority ratio near strategy
PROJECTS/advanced/ai-threat-detection/backend/tests/test_splitting.py:87
Method
test_smote_skipped_minority_too_small
Tiny minority skips SMOTE gracefully
PROJECTS/advanced/ai-threat-detection/backend/tests/test_splitting.py:155
Method
test_smtp_banner
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:37
Method
test_source_ip_preserved
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_exfiltration.py:151
Function
test_special_char_ratio
Paths with many non-alphanumeric characters have higher ratios.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_features.py:248
Method
test_special_key_mapping
Each mapped special key produces its label
PROJECTS/beginner/keylogger/test_keylogger.py:509
Method
test_special_key_type_serializes
Special key type serializes as lowercase
PROJECTS/beginner/keylogger/test_keylogger.py:203
Method
test_special_keys_constant_coverage
SPECIAL_KEYS covers all expected modifiers
PROJECTS/beginner/keylogger/test_keylogger.py:548
Method
test_split_proportions
Validates 70/15/15 split proportions
PROJECTS/advanced/ai-threat-detection/backend/tests/test_splitting.py:62
Method
test_sqli_has_attack_payloads
SQLi entries contain injection patterns in query string
PROJECTS/advanced/ai-threat-detection/backend/tests/test_synthetic.py:95
Function
test_sqli_in_query_string
SQL injection payload triggers HIGH severity with SQL_INJECTION rule.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_detection.py:90
Method
test_sqli_returns_correct_count
generate_sqli_requests returns the requested count
PROJECTS/advanced/ai-threat-detection/backend/tests/test_synthetic.py:46
Method
test_sqlite_scan_empty_table
( self, db_scanner: DatabaseScanner, sqlite_db_empty: str, )
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_db_scanner.py:111
Method
test_sqlite_scan_finds_pii
( self, db_scanner: DatabaseScanner, sqlite_db_with_pii: str, )
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_db_scanner.py:91
Method
test_sqlite_scan_finds_ssn
( self, db_scanner: DatabaseScanner, sqlite_db_with_pii: str, )
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_db_scanner.py:100
Method
test_src_host
Verify source host filter
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_filters.py:76
Method
test_src_port
Verify source port filter
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_filters.py:55
Method
test_ssh_agent_key_ignored
Allows ssh-agent to access private keys
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:170
Method
test_ssh_banner
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:33
Method
test_ssh_private_key
Detects SSH private key file access
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:129
Method
test_sshd_authorized_keys_ignored
Allows sshd to read authorized_keys
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:156
Method
test_ssn_maps_to_hipaa_and_ccpa
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_compliance.py:39
Method
test_ssrf_returns_correct_count
generate_ssrf_requests returns the requested count
PROJECTS/advanced/ai-threat-detection/backend/tests/test_synthetic.py:74
Method
test_standard_base32
Checks that a padded uppercase base32 string is detected with sufficient confidence
PROJECTS/beginner/base64-tool/tests/test_detector.py:71
Method
test_standard_base64
Checks that a padded base64 string is detected as base64 with high confidence
PROJECTS/beginner/base64-tool/tests/test_detector.py:31
Function
test_stats_empty_window
GET /stats on an empty database returns zero counts.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_api.py:142
← previous
next →
7,701–7,800 of 8,109, ranked by callers