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
Method
test_invalid_json_after_decode
Valid base64 but invalid JSON after XOR raises ValueError
PROJECTS/beginner/c2-beacon/backend/tests/test_protocol.py:117
Method
test_invalid_jwt_format
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:331
Method
test_invalid_message_type
Unknown message type raises ValueError
PROJECTS/beginner/c2-beacon/backend/tests/test_protocol.py:137
Method
test_invalid_mrns_rejected
(self, text: str)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_health.py:42
Method
test_invalid_network
Verify malformed CIDR raises ValidationError
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_filters.py:191
Method
test_invalid_nhs_number
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_financial.py:90
Method
test_invalid_port_negative
Verify negative port raises ValidationError
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_filters.py:177
Method
test_invalid_port_too_high
Verify port > 65535 raises ValidationError
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_filters.py:170
Method
test_invalid_prefix_rejected
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_credentials.py:34
Method
test_invalid_prefix_rejected
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_credentials.py:49
Method
test_invalid_requests_negative
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:150
Method
test_invalid_requests_zero
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:145
Method
test_invalid_serial_0000
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_pii.py:64
Method
test_invalid_ssns_rejected
(self, text: str)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_pii.py:42
Method
test_invalid_stripe_key
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_credentials.py:81
Method
test_invalid_window_negative
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:160
Method
test_invalid_window_zero
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:155
Method
test_inverse_transform_recovers_original
Inverse transform recovers the original values within floating-point tolerance.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_scaler.py:79
Method
test_ipv4_mapped_ipv6
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:83
Method
test_ipv6_custom_prefix_length
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:76
Method
test_ipv6_normalization_to_64_prefix
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:68
Method
test_is_authenticated_false
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:325
Method
test_is_authenticated_method
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:446
Method
test_is_authenticated_true
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:316
Method
test_is_initialized_property
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_limiter.py:443
Method
test_is_ipv6
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:146
Method
test_is_private
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:152
Function
test_jwt_input_is_called_out_as_not_a_hash
JWTs start with `eyJ` and should be called out as not-a-hash Beginners often paste JWTs into a hash identifier because they look hash-li
PROJECTS/foundations/hash-identifier/test_hash_identifier.py:431
Method
test_jwt_matches
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_credentials.py:56
Method
test_jwt_without_sub_claim
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:341
Function
test_kdf_parameters_defaults_are_immutable
Verify KdfParameters instances reject attribute assignment after construction `frozen=True` on the dataclass is what makes this work. Trying
PROJECTS/foundations/password-manager/tests/test_crypto.py:227
Method
test_key_validation_too_large
Confirms keys above 26 raise ValueError with the expected message
PROJECTS/beginner/caesar-cipher/tests/test_cipher.py:111
Method
test_key_validation_too_small
Confirms keys below -25 raise ValueError with the expected message
PROJECTS/beginner/caesar-cipher/tests/test_cipher.py:118
Method
test_key_wrapping
Confirms key 26 is equivalent to key 0 and produces no shift
PROJECTS/beginner/caesar-cipher/tests/test_cipher.py:90
Method
test_known_rule_has_remediation
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_compliance.py:66
Method
test_label_counts_match
Label counts match requested normal and attack counts
PROJECTS/advanced/ai-threat-detection/backend/tests/test_synthetic.py:184
Method
test_label_counts_match_files
Normal and attack counts match the number of requests in each file
PROJECTS/advanced/ai-threat-detection/backend/tests/test_data_loader.py:341
Method
test_layer_metadata_populated
Checks that a successful peel populates depth, confidence, and preview fields
PROJECTS/beginner/base64-tool/tests/test_peeler.py:107
Method
test_leaky_bucket_value
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:69
Method
test_limit_exceeded
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_algorithms.py:94
Method
test_limit_exceeded
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_algorithms.py:319
Method
test_list_beacons_empty
Beacons list returns empty array with no registered beacons
PROJECTS/beginner/c2-beacon/backend/tests/test_app.py:82
Function
test_list_threats_empty
GET /threats on an empty database returns zero items.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_api.py:47
Function
test_list_threats_severity_filter
Seed threats with different severities and filter by HIGH.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_api.py:110
Function
test_list_users_admin_only
Non admin cannot list users (403).
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_users.py:177
Function
test_list_users_as_admin
Admin can list users with pagination
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_users.py:195
Function
test_list_users_pagination
Pagination params work correctly
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_users.py:219
Method
test_list_values
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_db_scanner.py:248
Method
test_load_json_round_trip
Loading from JSON produces a scaler with identical transform output.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_scaler.py:116
Method
test_load_missing_file_returns_defaults
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_config.py:46
Method
test_load_none_returns_defaults
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_config.py:50
Method
test_load_partial_config_fills_defaults
( self, tmp_path: Path )
PROJECTS/intermediate/dlp-scanner/tests/test_config.py:72
Method
test_load_yaml_config
(self, tmp_path: Path)
PROJECTS/intermediate/dlp-scanner/tests/test_config.py:54
Method
test_loads_all_models
Engine reports is_loaded=True when all three ONNX models are present.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_inference.py:74
Method
test_localhost
Converts 127.0.0.1 in network byte order
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_processor.py:67
Method
test_location_has_artifact
( self, result_with_findings: ScanResult )
PROJECTS/intermediate/dlp-scanner/tests/test_reporters/test_sarif.py:129
Method
test_lockdown_value
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:101
Method
test_log4shell_returns_correct_count
generate_log4shell_requests returns the requested count
PROJECTS/advanced/ai-threat-detection/backend/tests/test_synthetic.py:67
Method
test_log_artifact
log_artifact uploads a file so it appears in the run's artifact list.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_experiment.py:71
Method
test_log_deletion
Detects log file deletion
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:320
Method
test_log_metrics
log_metrics stores numeric values on the MLflow run.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_experiment.py:62
Method
test_log_params
log_params writes key-value pairs to the MLflow run as strings.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_experiment.py:52
Method
test_log_truncation
Detects log file truncation
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:306
Function
test_login_inactive_user
Inactive user cannot login
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_auth.py:79
Function
test_login_invalid_email
Non-existent email returns 401
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_auth.py:63
Function
test_login_invalid_password
Wrong password returns 401
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_auth.py:44
Function
test_login_success
Valid credentials return access token and set refresh cookie
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_auth.py:22
Function
test_logout_all
Logout all revokes all user sessions.
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_auth.py:197
Function
test_logout_missing_token_returns_401
Logout without refresh token returns 401, not 422.
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_auth.py:187
Function
test_logout_success
Logout revokes refresh token and clears cookie.
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_auth.py:168
Method
test_long_label_detected
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_exfiltration.py:45
Method
test_long_qname_detected
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_exfiltration.py:69
Method
test_long_term_key_matches
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_credentials.py:22
Function
test_lookup_address_not_found_returns_none
AddressNotFoundError from the reader returns None.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_geoip.py:96
Function
test_lookup_missing_city_name
Responses with None city name are handled gracefully.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_geoip.py:121
Function
test_lookup_no_reader_returns_none
When no .mmdb file is available, all lookups return None.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_geoip.py:110
Method
test_lookup_nonexistent_domain
Lookup for a domain that does not exist returns zero records without raising
PROJECTS/beginner/dns-lookup/tests/test_resolver.py:169
Function
test_lookup_private_ip_returns_none
Private/loopback IPs return None without hitting the reader.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_geoip.py:82
Method
test_lookup_real_domain
Live A record lookup for example.com returns a result with nonzero query time
PROJECTS/beginner/dns-lookup/tests/test_resolver.py:160
Function
test_lookup_returns_geo_result
Successful lookup returns a populated GeoResult.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_geoip.py:66
Method
test_lookup_with_custom_server
Lookup using a custom nameserver records that server on the result
PROJECTS/beginner/dns-lookup/tests/test_resolver.py:181
Method
test_low
Scores below 0.5 classify as LOW.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_ensemble.py:166
Method
test_low_threshold
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_compliance.py:29
Method
test_lowercase_rejected
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_health.py:54
Method
test_lru_eviction_order
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_storage.py:314
Method
test_malformed_blocks_skipped
Malformed/non-HTTP lines are skipped gracefully
PROJECTS/advanced/ai-threat-detection/backend/tests/test_data_loader.py:212
Function
test_malformed_line_dropped
Malformed lines are dropped at the parse stage without crashing.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_pipeline.py:85
Method
test_mastercard_2series_matches
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_financial.py:107
Method
test_mastercard_classic_matches
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_financial.py:104
Method
test_max_depth_respected
Checks that setting max_depth=0 prevents any layers from being peeled
PROJECTS/beginner/base64-tool/tests/test_peeler.py:92
Method
test_max_keys_eviction
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_storage.py:303
Function
test_md5_length_returns_md5_first
32 hex chars matches MD5, NTLM, MD4, RIPEMD-128 MD5 is BY FAR the most common 32-hex hash in the wild, so it must be the top candidate.
PROJECTS/foundations/hash-identifier/test_hash_identifier.py:306
Function
test_me_requires_session
/auth/me returns 401 with no cookie
PROJECTS/advanced/encrypted-p2p-chat/backend/tests/test_session_auth.py:52
Method
test_medium
Scores in [0.5, 0.7) classify as MEDIUM.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_ensemble.py:158
Method
test_medium_threshold
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_compliance.py:25
Method
test_memory_value
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:118
Method
test_metrics_contain_required_keys
Metrics dict contains f1, pr_auc, accuracy, precision, and recall.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_training.py:124
Method
test_metrics_values_in_valid_range
All metric values fall within [0, 1].
PROJECTS/advanced/ai-threat-detection/backend/tests/test_training.py:145
Method
test_middleware_allows_requests_under_limit
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_integration.py:141
Method
test_middleware_different_endpoints_independent
( self )
PROJECTS/advanced/api-rate-limiter/tests/test_integration.py:218
← previous
next →
7,301–7,400 of 8,109, ranked by callers