MCPcopy Create free account

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

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

Methodtest_middleware_excludes_custom_paths
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_integration.py:198
Methodtest_middleware_excludes_health_endpoint
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_integration.py:182
Methodtest_middleware_post_and_get_independent_limits
( self )
PROJECTS/advanced/api-rate-limiter/tests/test_integration.py:241
Methodtest_middleware_returns_420_when_exceeded
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_integration.py:163
Methodtest_missing_type_field
JSON without 'type' field raises ValueError
PROJECTS/beginner/c2-beacon/backend/tests/test_protocol.py:127
Methodtest_missing_ua_gets_default
CSICRequest without User-Agent header gets a default user agent
PROJECTS/advanced/ai-threat-detection/backend/tests/test_data_loader.py:289
Methodtest_mlflow_run_id_set
MLflow run ID is captured in the result
PROJECTS/advanced/ai-threat-detection/backend/tests/test_orchestrator.py:123
Methodtest_model_has_predict_proba
Trained model exposes predict_proba for probability scoring.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_training.py:115
Methodtest_model_has_score_samples
Trained model exposes score_samples for anomaly scoring.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_training.py:173
Methodtest_model_is_in_eval_mode
Returned model is in eval mode after training completes.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_training.py:83
Functiontest_model_status
GET /models/status returns detection mode and active model list.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_api.py:161
Methodtest_model_types_correct
Row model types are autoencoder, random_forest, isolation_forest
PROJECTS/advanced/ai-threat-detection/backend/tests/test_metadata.py:161
Methodtest_mount_detected
Detects mount syscalls
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:462
Methodtest_multiple_matches_in_one_text
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_pattern.py:46
Methodtest_multiple_requests
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_algorithms.py:80
Methodtest_multiple_requests
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_algorithms.py:307
Functiontest_multiple_rules_aggregate
Multiple triggered rules produce a higher score than any single rule alone.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_detection.py:164
Methodtest_multiple_strings
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:153
Functiontest_mysql323_length_returns_mysql323_first
16 hex chars points at MySQL323 (legacy MySQL OLD_PASSWORD output) MySQL versions before 4.1 stored passwords as a 16-char hex string fr
PROJECTS/foundations/hash-identifier/test_hash_identifier.py:281
Functiontest_mysql5_format_is_recognized
MySQL5 = literal `*` followed by 40 uppercase hex chars MySQL5 stores SHA-1(SHA-1(password)) printed in uppercase hex with a leading ast
PROJECTS/foundations/hash-identifier/test_hash_identifier.py:171
Functiontest_mysql5_rejects_lowercase_body
Lowercase hex after the leading `*` is not real MySQL5 output MySQL emits uppercase via `%02X`, so a `*` followed by lowercase hex is al
PROJECTS/foundations/hash-identifier/test_hash_identifier.py:188
Functiontest_names_returns_sorted
Verify names() returns entries in alphabetical order, not insertion order Users grep / scan a list of names; alphabetical is what they e
PROJECTS/foundations/password-manager/tests/test_vault.py:531
Methodtest_nearby_different_rules_boosted
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_context.py:66
Methodtest_negative_key
Confirms a negative key shifts letters backward through the alphabet
PROJECTS/beginner/caesar-cipher/tests/test_cipher.py:97
Methodtest_nested_doc
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_db_scanner.py:224
Methodtest_nested_list_of_dicts
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_db_scanner.py:264
Functiontest_netntlmv1_format_is_recognized
NetNTLMv1 records have 48-hex-char lmhash AND nthash before the challenge Layout: `user::domain:lm(48 hex):nt(48 hex):challenge`. We rec
PROJECTS/foundations/hash-identifier/test_hash_identifier.py:233
Functiontest_netntlmv2_format_is_recognized
NetNTLMv2 records from Responder look like `user::domain:challenge:hmac:blob` The hmac field is exactly 32 hex chars. The leading `::` (
PROJECTS/foundations/hash-identifier/test_hash_identifier.py:212
Methodtest_network_fields
Includes network fields for connect events
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_renderer.py:49
Methodtest_network_filter
Verify network CIDR filter
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_filters.py:90
Methodtest_network_help
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_cli.py:126
Methodtest_nhs_non_numeric
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_financial.py:96
Methodtest_nhs_too_short
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_financial.py:93
Methodtest_nine_digit_rejected
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_health.py:86
Methodtest_no_boost_with_empty_keywords
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_context.py:54
Methodtest_no_boost_without_keyword
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_context.py:44
Methodtest_no_detection_fields_when_none
Omits detection fields when no detection
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_renderer.py:75
Methodtest_no_detection_in_normal_text
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_entropy.py:79
Methodtest_no_extension
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_file_scanner.py:205
Methodtest_no_match_returns_empty
Checks that plain unencoded text returns no detection results
PROJECTS/beginner/base64-tool/tests/test_detector.py:145
Methodtest_no_match_returns_none
Checks that detect_best returns None when nothing is detected
PROJECTS/beginner/base64-tool/tests/test_detector.py:171
Methodtest_no_matches_in_clean_text
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_pattern.py:40
Methodtest_no_op_when_disabled
add_event is a no-op when disabled
PROJECTS/beginner/keylogger/test_keylogger.py:445
Methodtest_no_shared_state_between_instances
Two LogManagers write independently
PROJECTS/beginner/keylogger/test_keylogger.py:289
Methodtest_no_side_effects_on_construction
Config construction does not create dirs
PROJECTS/beginner/keylogger/test_keylogger.py:131
Methodtest_no_standard_base64_chars
Checks that base64url output never contains + or /
PROJECTS/beginner/base64-tool/tests/test_properties.py:80
Methodtest_non_jwt_rejected
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_credentials.py:64
Methodtest_non_numeric
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_health.py:102
Methodtest_non_numeric
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_pii.py:70
Methodtest_non_numeric_digits
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_health.py:75
Methodtest_nonshell_then_connect
Connect after non-shell exec is not flagged
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:431
Methodtest_normal_level_extraction
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:358
Methodtest_normal_path
Decodes a normal filepath
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_processor.py:47
Methodtest_normal_query_no_indicator
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_exfiltration.py:35
Functiontest_normal_request_low_severity
A benign GET request scores below 0.5 with LOW severity.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_detection.py:80
Methodtest_normal_returns_correct_count
generate_normal_requests returns the requested count
PROJECTS/advanced/ai-threat-detection/backend/tests/test_synthetic.py:88
Methodtest_normal_string
Decodes a normal null-terminated comm
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_processor.py:20
Methodtest_normal_text_no_detection
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_exfiltration.py:141
Methodtest_normal_value
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:84
Methodtest_one_line_per_event
Each event is a single line
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_renderer.py:128
Functiontest_only_medium_plus_stored
Normal (LOW severity) requests are NOT stored in the database. Only MEDIUM and HIGH severity threats are persisted.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_integration.py:170
Methodtest_onnx_output_matches_pytorch
ONNX inference output matches PyTorch forward pass within 1e-5 tolerance.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_export_onnx.py:49
Methodtest_onnx_produces_valid_output
ONNX inference returns class predictions and probabilities for each sample.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_export_onnx.py:100
Methodtest_onnx_scores_match_decision_function
ONNX anomaly scores match sklearn decision_function within 1e-4 tolerance.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_export_onnx.py:131
Functiontest_open_redirect
Redirect parameter pointing to an external URL triggers OPEN_REDIRECT
PROJECTS/advanced/ai-threat-detection/backend/tests/test_detection.py:271
Functiontest_output_file_has_less_metadata
Test that the output file has metadata stripped.
PROJECTS/beginner/metadata-scrubber-tool/tests/unit/test_pdf_handler.py:98
Functiontest_output_file_has_less_metadata
Test that the output file has metadata stripped
PROJECTS/beginner/metadata-scrubber-tool/tests/unit/test_image_handler.py:113
Functiontest_output_file_has_less_metadata
Test that the output file has metadata stripped.
PROJECTS/beginner/metadata-scrubber-tool/tests/unit/test_excel_handler.py:97
Functiontest_output_file_has_wiped_metadata
Test that the output file has metadata wiped.
PROJECTS/beginner/metadata-scrubber-tool/tests/unit/test_powerpoint_handler.py:95
Functiontest_output_file_has_wiped_metadata
Test that the output file has metadata wiped.
PROJECTS/beginner/metadata-scrubber-tool/tests/unit/test_worddoc_handler.py:95
Methodtest_output_is_unbounded
Decoder output is unbounded to match RobustScaler-transformed input range.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_autoencoder.py:59
Methodtest_output_shape_matches_input
Forward pass on a batch of 16 produces output matching input shape.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_autoencoder.py:30
Methodtest_outputs_valid_json
Produces valid JSON output
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_renderer.py:114
Functiontest_overwrite_preserves_created_at
Verify a force-overwrite preserves the original created_at timestamp When a user rotates a password, the entry's CREATION date should no
PROJECTS/foundations/password-manager/tests/test_vault.py:580
Methodtest_packet_info_optional_fields
Verify optional fields default to None
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_models.py:79
Methodtest_packet_is_frozen
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_pcap.py:45
Methodtest_parse_case_insensitive
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:194
Functiontest_parse_complex_query_string
Query strings with multiple parameters and special characters.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_parsers.py:77
Functiontest_parse_dash_response_size
A dash response size (e.g. HEAD 304) is normalized to zero.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_parsers.py:106
Methodtest_parse_dns_query
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:106
Functiontest_parse_empty_line_returns_none
Empty input returns None.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_parsers.py:99
Functiontest_parse_full_ipv6_address
Parse a line with a full-length IPv6 address.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_parsers.py:118
Methodtest_parse_get_request
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:64
Methodtest_parse_invalid_format_multiple_slashes
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:204
Methodtest_parse_invalid_format_no_slash
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:199
Methodtest_parse_invalid_request_count
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:209
Functiontest_parse_ipv6_address
Parse a line with an IPv6 source address.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_parsers.py:49
Functiontest_parse_malformed_line_returns_none
Malformed lines return None instead of raising.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_parsers.py:92
Functiontest_parse_missing_referer
A dash referer is normalized to an empty string.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_parsers.py:63
Methodtest_parse_per_day
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:183
Methodtest_parse_per_hour
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:177
Methodtest_parse_per_minute
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:171
Methodtest_parse_per_second
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:165
Methodtest_parse_post_with_body
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:77
Methodtest_parse_response
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:89
Functiontest_parse_standard_combined_line
Parse a standard nginx combined log line into all fields.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_parsers.py:25
Methodtest_parse_txt_query
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:127
Methodtest_parse_unknown_time_unit
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:213
Methodtest_parse_with_whitespace
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:189
Methodtest_parses_attack_file_with_label_1
Attack file entries get label=1
PROJECTS/advanced/ai-threat-detection/backend/tests/test_data_loader.py:175
← previousnext →7,401–7,500 of 8,109, ranked by callers