MCPcopy Create free account

hub / github.com/CarterPerez-dev/Cybersecurity-Projects / functions

Functions8,109 in github.com/CarterPerez-dev/Cybersecurity-Projects

Methodtest_all_algorithms_allow_first_request
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_algorithms.py:405
Methodtest_all_algorithms_enforce_limit
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_algorithms.py:420
Methodtest_all_entries_are_parsed_log_entry
All generators return ParsedLogEntry instances
PROJECTS/advanced/ai-threat-detection/backend/tests/test_synthetic.py:125
Methodtest_all_formats_have_reporters
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_engine.py:216
Methodtest_all_formats_roundtrip
Checks that arbitrary binary data roundtrips losslessly through all non-URL formats
PROJECTS/beginner/base64-tool/tests/test_properties.py:161
Methodtest_all_max_scores
All-one model scores fuse to 1.0.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_ensemble.py:98
Methodtest_all_one_class_raises_value_error
Single-class labels raise ValueError
PROJECTS/advanced/ai-threat-detection/backend/tests/test_splitting.py:142
Methodtest_all_record_types_exist
Each RecordType member matches its expected string value
PROJECTS/beginner/dns-lookup/tests/test_resolver.py:45
Methodtest_all_record_types_list
ALL_RECORD_TYPES has exactly 7 entries and excludes PTR
PROJECTS/beginner/dns-lookup/tests/test_resolver.py:58
Methodtest_all_rows_active
All newly saved models are marked as active
PROJECTS/advanced/ai-threat-detection/backend/tests/test_metadata.py:143
Methodtest_all_same_bytes_is_zero
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_entropy.py:18
Methodtest_all_zero_scores
All-zero model scores fuse to 0.0.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_ensemble.py:90
Methodtest_all_zeros_invalid
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_health.py:111
Methodtest_allowed_result
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:262
Methodtest_alphabet_wraparound_lowercase
Confirms xyz wraps around to abc when shifted forward by 3
PROJECTS/beginner/caesar-cipher/tests/test_cipher.py:157
Methodtest_alphabet_wraparound_uppercase
Confirms XYZ wraps around to ABC when shifted forward by 3
PROJECTS/beginner/caesar-cipher/tests/test_cipher.py:150
Methodtest_amex_matches
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_financial.py:110
Methodtest_anomaly_scores_distinguish_normal_and_outlier
Normal training data scores higher than extreme outliers.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_training.py:188
Functiontest_app
Create a basic test app without middleware
PROJECTS/advanced/api-rate-limiter/tests/conftest.py:913
Functiontest_app_help
Ensure the --help flag works.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_main.py:18
Functiontest_app_version
Ensure the --version flag prints the correct version and exits cleanly.
PROJECTS/beginner/metadata-scrubber-tool/tests/e2e/test_main.py:9
Functiontest_app_with_limiter
Create a test app with rate limiting middleware
PROJECTS/advanced/api-rate-limiter/tests/conftest.py:921
Functiontest_apr1_prefix_is_recognized
Apache `.htpasswd` MD5 hashes start with $apr1$ The htpasswd tool generates these by default with the `-m` flag. Same MD5 family as the
PROJECTS/foundations/hash-identifier/test_hash_identifier.py:144
Functiontest_argon2id_prefix_is_recognized
Argon2id PHC strings begin with `$argon2id$`
PROJECTS/foundations/hash-identifier/test_hash_identifier.py:110
Functiontest_attack_line_scored_high
A SQLi payload in the log line is scored as HIGH by the rule engine.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_pipeline.py:137
Functiontest_attack_pattern_detection
SQLi, XSS, and path traversal patterns in paths are detected.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_features.py:227
Methodtest_attack_scores_higher_than_benign
( self, trained_model_dir: Path)
PROJECTS/advanced/ai-threat-detection/backend/tests/test_ml_integration.py:170
Methodtest_attack_sqli_in_body
SQLi payload appears in POST body of attack
PROJECTS/advanced/ai-threat-detection/backend/tests/test_data_loader.py:199
Methodtest_attack_sqli_in_query
SQLi payload appears in query string of attack GET
PROJECTS/advanced/ai-threat-detection/backend/tests/test_data_loader.py:187
Methodtest_authorized_keys
Detects authorized_keys access
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:143
Methodtest_average_bandwidth
Verify average_bandwidth calculation (bytes/second)
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_models.py:174
Functiontest_backpressure_with_tiny_queues
Items flow through correctly even when all queues have maxsize=1.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_pipeline.py:100
Methodtest_bare_format
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_pii.py:67
Methodtest_base32_uppercase
Checks that a short uppercase base32 string is detected
PROJECTS/beginner/base64-tool/tests/test_detector.py:80
Functiontest_base64_blob_is_called_out_as_not_a_hash
A string containing base64-only chars (`+`, `/`, `=`) is not hex Hex hashes never contain those characters, so their presence is a stron
PROJECTS/foundations/hash-identifier/test_hash_identifier.py:454
Methodtest_base64_detected
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_exfiltration.py:128
Methodtest_base64_double_encoded
Checks that base64 applied twice is unwrapped through both layers
PROJECTS/beginner/base64-tool/tests/test_peeler.py:72
Methodtest_base64_no_padding
Checks that base64 without trailing = padding is still detected
PROJECTS/beginner/base64-tool/tests/test_detector.py:40
Methodtest_base64_then_hex
Checks that two stacked layers (base64 inside hex) are both peeled
PROJECTS/beginner/base64-tool/tests/test_peeler.py:61
Methodtest_base64_with_plus_slash
Checks that base64 containing + and / characters is detected correctly
PROJECTS/beginner/base64-tool/tests/test_detector.py:48
Methodtest_basic_fields
Serializes core event fields
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_renderer.py:18
Methodtest_batch_fires_at_threshold
Delivery triggers at batch size
PROJECTS/beginner/keylogger/test_keylogger.py:383
Methodtest_batch_lookup_empty_list
Batch lookup with an empty domain list returns an empty list
PROJECTS/beginner/dns-lookup/tests/test_resolver.py:245
Methodtest_batch_lookup_multiple_domains
Batch lookup returns one result per domain in the same order as input
PROJECTS/beginner/dns-lookup/tests/test_resolver.py:234
Functiontest_bcrypt_prefix_is_recognized
A real bcrypt hash starts with `$2b$` and should be reported as bcrypt
PROJECTS/foundations/hash-identifier/test_hash_identifier.py:86
Methodtest_below_minimum
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_compliance.py:33
Methodtest_bidirectional_key
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_flow_tracker.py:41
Methodtest_bidirectional_packets_same_flow
( self, )
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_flow_tracker.py:100
Methodtest_blend_clamped_to_one
Blended score is clamped to 1.0 even when both inputs are 1.0.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_ensemble.py:140
Methodtest_blend_full_ml_weight
ml_weight of 1.0 returns the pure ML score.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_ensemble.py:126
Methodtest_blend_full_rule_weight
ml_weight of 0.0 returns the pure rule score.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_ensemble.py:133
Methodtest_blend_with_rule_score
ML and rule scores blend according to the specified ml_weight.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_ensemble.py:118
Methodtest_boost_with_keyword_present
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_context.py:38
Methodtest_bottleneck_dim_is_six
Encoder bottleneck compresses 35 features to a 6-dimensional latent vector.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_autoencoder.py:39
Methodtest_bucket_exhausted
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_algorithms.py:219
Methodtest_buffer_accumulates
Events buffer until batch size is reached
PROJECTS/beginner/keylogger/test_keylogger.py:361
Methodtest_build_key
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:535
Methodtest_burst_consumption
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_algorithms.py:203
Methodtest_calculate_chi_squared_empty_string
Confirms an empty string returns infinity since there are no letters to score
PROJECTS/beginner/caesar-cipher/tests/test_analyzer.py:41
Methodtest_calculate_chi_squared_english_text
Confirms real English text scores below a reasonable chi-squared threshold
PROJECTS/beginner/caesar-cipher/tests/test_analyzer.py:23
Methodtest_calculate_chi_squared_gibberish
Confirms text made of rare letters scores above the threshold
PROJECTS/beginner/caesar-cipher/tests/test_analyzer.py:32
Methodtest_chain_invalid_format
Checks that an unknown format name causes the chain command to exit with an error
PROJECTS/beginner/base64-tool/tests/test_cli.py:221
Methodtest_chain_multiple_steps
Checks that the chain command applies two steps in sequence without error
PROJECTS/beginner/base64-tool/tests/test_cli.py:208
Methodtest_chain_single_step
Checks that the chain command applies one base64 step correctly
PROJECTS/beginner/base64-tool/tests/test_cli.py:194
Methodtest_chained_filters_and
Verify multiple filters combine with AND by default
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_filters.py:97
Methodtest_chained_filters_or
Verify OR operator joins expressions
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_filters.py:104
Methodtest_challenge_value
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:104
Functiontest_change_master_password_new_password_unlocks_with_entries_intact
Verify the new master password unlocks the vault AND all entries are preserved The other half of the rotation contract: the user keeps their
PROJECTS/foundations/password-manager/tests/test_vault.py:730
Functiontest_change_master_password_old_password_no_longer_unlocks
Verify the previous master password stops working after rotation The whole point of rotation is "if the old password leaked, rotating to
PROJECTS/foundations/password-manager/tests/test_vault.py:707
Functiontest_change_master_password_rejects_empty
Verify change_master_password refuses an empty new password The same "empty password = no real lock" rule that applies to creation also
PROJECTS/foundations/password-manager/tests/test_vault.py:751
Functiontest_change_master_password_rotates_key_and_salt
Verify change_master_password generates a fresh salt AND a fresh key Rotation is not just "encrypt with a new password" — it is "generat
PROJECTS/foundations/password-manager/tests/test_vault.py:679
Functiontest_change_password
Password change works with valid current password.
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_auth.py:248
Functiontest_change_password_wrong_current
Password change fails with wrong current password.
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_auth.py:270
Methodtest_char_key
Character keys return the character
PROJECTS/beginner/keylogger/test_keylogger.py:530
Methodtest_check_allows_first_request
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_limiter.py:92
Methodtest_check_auto_initializes
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_limiter.py:290
Methodtest_check_different_endpoints_independent
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_limiter.py:195
Methodtest_check_different_users_independent
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_limiter.py:227
Methodtest_check_multiple_rules
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_limiter.py:110
Methodtest_check_raises_on_limit
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_limiter.py:147
Methodtest_check_returns_result_when_not_raising
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_limiter.py:169
Methodtest_check_uses_default_rules_when_none_provided
( self )
PROJECTS/advanced/api-rate-limiter/tests/test_limiter.py:128
Methodtest_check_with_custom_key_func
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_limiter.py:259
Methodtest_classic_pat_matches
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_credentials.py:41
Methodtest_cleanup_expired_entries
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_storage.py:334
Methodtest_cleanup_task_starts
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_storage.py:357
Methodtest_cleanup_task_stops_on_close
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_storage.py:367
Methodtest_close_clears_data
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_storage.py:70
Methodtest_close_resets_initialized
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_limiter.py:78
Functiontest_close_zeroes_key_and_drops_entries
Verify close() wipes the in-memory secrets After `close()`, the AES key field becomes 32 zero bytes and the entries dict becomes empty.
PROJECTS/foundations/password-manager/tests/test_vault.py:772
Methodtest_cloudflare_country_header
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:437
Methodtest_combine_empty
Verify empty list returns None
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_filters.py:139
Methodtest_combine_multiple_and
Verify multiple filters combine with AND
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_filters.py:151
Methodtest_combine_multiple_or
Verify multiple filters combine with OR
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_filters.py:158
Methodtest_combine_single
Verify single filter returns as-is
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_filters.py:145
Methodtest_comm_filter_match
Passes when comm matches filter
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_processor.py:127
Methodtest_comm_filter_mismatch
Filters when comm does not match
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_processor.py:134
Functiontest_command_injection
Command injection triggers HIGH severity.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_detection.py:129
Methodtest_completed_at_is_set
( self, db_scanner: DatabaseScanner, sqlite_db_with_pii: str, )
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_db_scanner.py:145
Methodtest_completed_status_on_success
Run tagged with status='completed' when the context exits cleanly.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_experiment.py:94
← previousnext →6,701–6,800 of 8,109, ranked by callers