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_get_entry_missing_raises
Verify get_entry on a name that does not exist raises EntryNotFoundError Returning None on miss would be a quieter API — but quiet failu
PROJECTS/foundations/password-manager/tests/test_vault.py:604
Method
test_get_flow_by_key
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_flow_tracker.py:172
Method
test_get_flow_missing_key
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_flow_tracker.py:182
Method
test_get_history
Task history includes task details joined with results
PROJECTS/beginner/c2-beacon/backend/tests/test_tasking.py:148
Method
test_get_indicators_accumulates
( self, )
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_exfiltration.py:98
Method
test_get_is_http
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:50
Method
test_get_next_blocks_until_task
get_next blocks when the queue is empty and resolves when a task arrives
PROJECTS/beginner/c2-beacon/backend/tests/test_tasking.py:172
Method
test_get_nonexistent_user
Test getting user that doesn't exist returns None
PROJECTS/advanced/encrypted-p2p-chat/backend/tests/test_auth_service.py:75
Method
test_get_one_returns_none_for_missing
get_one returns None for a non-existent beacon ID
PROJECTS/beginner/c2-beacon/backend/tests/test_registry.py:151
Method
test_get_prekey_bundle_no_opk_when_all_used
Bundle still returns when every OPK is consumed
PROJECTS/advanced/encrypted-p2p-chat/backend/tests/test_prekey_service.py:76
Method
test_get_prekey_bundle_requires_identity_key
Bundle lookup fails cleanly when keys were never uploaded
PROJECTS/advanced/encrypted-p2p-chat/backend/tests/test_prekey_service.py:102
Method
test_get_prekey_bundle_returns_unused_opk
Regression for the broken `not Column` filter that hid every OPK
PROJECTS/advanced/encrypted-p2p-chat/backend/tests/test_prekey_service.py:47
Function
test_get_threat_by_id
Seed a threat event, then fetch it by ID.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_api.py:74
Function
test_get_threat_not_found
GET /threats/{random_id} returns 404 when the event does not exist.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_api.py:62
Method
test_get_token_bucket_state_empty
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_storage.py:273
Method
test_get_token_bucket_state_exists
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_storage.py:280
Function
test_get_user_by_id
Get user by ID returns user data
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_users.py:83
Method
test_get_user_by_id
Test retrieving user by ID
PROJECTS/advanced/encrypted-p2p-chat/backend/tests/test_auth_service.py:87
Method
test_get_user_by_username
Test retrieving user by username
PROJECTS/advanced/encrypted-p2p-chat/backend/tests/test_auth_service.py:57
Function
test_get_user_not_found
Get non existent user returns 404
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_users.py:117
Function
test_get_user_unauthenticated
Get user without auth returns 401
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_users.py:104
Method
test_get_window_state_empty
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_storage.py:141
Method
test_get_window_state_with_data
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_storage.py:152
Method
test_global_value
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:132
Function
test_grade_threshold_a_at_90_percent
Passing both highs and both mediums (90/100 = 90%) lands exactly on the A boundary The current rules table totals 100 points (30 + 30 +
PROJECTS/foundations/http-headers-scanner/test_http_headers_scanner.py:262
Function
test_grade_threshold_b_at_83_percent
Both highs ok, one medium ok and the other weak (60 + 15 + 7.5 = 82.5 → rounds up to 83) drops below 90 and lands in the B band
PROJECTS/foundations/http-headers-scanner/test_http_headers_scanner.py:284
Method
test_gshadow_read_nonroot
Detects /etc/gshadow access by non-root
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:94
Method
test_has_archive_types
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_file_scanner.py:178
Method
test_has_common_text_types
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_file_scanner.py:163
Method
test_has_email_types
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_file_scanner.py:184
Method
test_has_findings_section
( self, result_with_findings: ScanResult )
PROJECTS/intermediate/dlp-scanner/tests/test_reporters/test_json_report.py:93
Method
test_has_metadata_section
( self, result_with_findings: ScanResult )
PROJECTS/intermediate/dlp-scanner/tests/test_reporters/test_json_report.py:80
Method
test_has_office_types
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_file_scanner.py:171
Method
test_has_sarif_version
( self, result_with_findings: ScanResult )
PROJECTS/intermediate/dlp-scanner/tests/test_reporters/test_sarif.py:74
Method
test_has_summary_section
( self, result_with_findings: ScanResult )
PROJECTS/intermediate/dlp-scanner/tests/test_reporters/test_json_report.py:118
Method
test_has_tool_driver
( self, result_with_findings: ScanResult )
PROJECTS/intermediate/dlp-scanner/tests/test_reporters/test_sarif.py:84
Function
test_hash_candidate_is_frozen
Attempting to mutate a HashCandidate must raise an error
PROJECTS/foundations/hash-identifier/test_hash_identifier.py:481
Method
test_header_matches_columns
( self, result_with_findings: ScanResult )
PROJECTS/intermediate/dlp-scanner/tests/test_reporters/test_csv_report.py:62
Method
test_headers_basic
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:287
Method
test_headers_hash_deterministic
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:200
Method
test_headers_hash_different_headers
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:210
Method
test_headers_hash_with_order
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:224
Method
test_headers_remaining_never_negative
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:311
Method
test_headers_with_retry_after
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:300
Function
test_health_basic
Basic health check returns 200 with healthy status
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_health.py:15
Method
test_health_check_after_close
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_storage.py:64
Method
test_health_check_healthy
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_storage.py:59
Function
test_health_detailed
Detailed health check includes database status
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_health.py:29
Method
test_health_help
health --help exits cleanly
PROJECTS/advanced/ai-threat-detection/backend/tests/test_cli.py:103
Function
test_health_returns_200
Health endpoint returns 200 with status, uptime, and pipeline flag.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_api.py:33
Method
test_health_returns_200
Health endpoint responds with 200 and status healthy
PROJECTS/beginner/c2-beacon/backend/tests/test_app.py:59
Method
test_heartbeat_roundtrip
HEARTBEAT message survives pack -> unpack
PROJECTS/beginner/c2-beacon/backend/tests/test_protocol.py:81
Method
test_heavily_encoded
Checks that a heavily percent-encoded string is detected with sufficient confidence
PROJECTS/beginner/base64-tool/tests/test_detector.py:125
Method
test_help_shows_commands
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_cli.py:103
Method
test_hex_detected
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_exfiltration.py:134
Method
test_hex_with_colons
Checks that colon-separated hex bytes are detected as hex
PROJECTS/beginner/base64-tool/tests/test_detector.py:99
Method
test_hex_with_letters
Checks that a hex string containing alpha characters is detected as hex
PROJECTS/beginner/base64-tool/tests/test_detector.py:90
Method
test_high
Scores >= 0.7 classify as HIGH.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_ensemble.py:150
Method
test_high_entropy_subdomain
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_exfiltration.py:57
Method
test_high_threshold
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_compliance.py:21
Method
test_history_has_train_loss
Training history includes one train_loss entry per epoch.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_training.py:61
Method
test_host_filter
Verify host IP filter
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_filters.py:69
Method
test_http_get_request
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:17
Method
test_http_post_request
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:21
Method
test_http_response
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:25
Method
test_iban_pattern_matches_de
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_financial.py:124
Method
test_iban_pattern_matches_gb
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_financial.py:121
Method
test_iban_with_spaces
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_financial.py:82
Method
test_if_score_negative
Negative IF score (anomalous region) maps above 0.5.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_ensemble.py:56
Method
test_if_score_positive
Positive IF score (normal region) maps below 0.5.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_ensemble.py:63
Method
test_if_score_zero
Zero IF score maps to exactly 0.5.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_ensemble.py:70
Function
test_image_format_detection
Test format detection for images.
PROJECTS/beginner/metadata-scrubber-tool/tests/integration/test_metadata_factory.py:81
Function
test_images_dir
Return path to test images directory.
PROJECTS/beginner/metadata-scrubber-tool/tests/conftest.py:32
Method
test_include_extensions_populated
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_config.py:34
Method
test_increment_first_request
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_storage.py:83
Method
test_increment_multiple_requests
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_storage.py:96
Method
test_increment_reaches_limit
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_storage.py:108
Method
test_increment_with_explicit_timestamp
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_storage.py:126
Method
test_init_idempotent
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_limiter.py:67
Method
test_init_module
Detects init_module calls
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:239
Method
test_init_with_custom_settings
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_limiter.py:43
Method
test_init_with_defaults
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_limiter.py:35
Method
test_init_with_provided_storage
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_limiter.py:57
Function
test_input_is_trimmed_of_whitespace
Trailing newlines and leading spaces should not block recognition This matters because copy-paste from a terminal often picks up invisib
PROJECTS/foundations/hash-identifier/test_hash_identifier.py:382
Method
test_invalid_area_000
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_pii.py:52
Method
test_invalid_area_666
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_pii.py:55
Method
test_invalid_area_900_plus
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_pii.py:58
Method
test_invalid_base64
Non-base64 input raises ValueError
PROJECTS/beginner/c2-beacon/backend/tests/test_protocol.py:110
Method
test_invalid_cards_fail_luhn
(self, number: str)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_financial.py:44
Method
test_invalid_check_digit
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_health.py:69
Method
test_invalid_check_digit
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_health.py:99
Method
test_invalid_data_returns_none
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:101
Method
test_invalid_data_returns_none
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:144
Method
test_invalid_emails_rejected
(self, text: str)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_pii.py:96
Method
test_invalid_format
(self, pii_dir: Path)
PROJECTS/intermediate/dlp-scanner/tests/test_cli.py:180
Method
test_invalid_group_00
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_pii.py:61
Method
test_invalid_ibans
(self, iban: str)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_financial.py:79
Method
test_invalid_ip_address
Verify malformed IP raises ValidationError
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_filters.py:184
Method
test_invalid_ip_passthrough
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:91
Method
test_invalid_ips_rejected
(self, text: str)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_pii.py:137
← previous
next →
7,201–7,300 of 8,109, ranked by callers