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_status_class
Status class groups status codes into Nxx buckets.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_features.py:170
Method
test_store_client_keys_replaces_active_spk
Uploading new keys deactivates the previous active SPK
PROJECTS/advanced/encrypted-p2p-chat/backend/tests/test_prekey_service.py:116
Method
test_store_result
Storing a result updates the task status to completed
PROJECTS/beginner/c2-beacon/backend/tests/test_tasking.py:124
Function
test_stored_threats_have_correct_fields
Stored threat events have populated severity, score, and matched rules.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_integration.py:194
Method
test_str_representation_custom_window
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:233
Method
test_str_representation_day
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:229
Method
test_str_representation_hour
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:225
Method
test_str_representation_minute
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:221
Method
test_str_representation_second
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:217
Method
test_stratified_class_distribution
Splits preserve the original class ratio
PROJECTS/advanced/ai-threat-detection/backend/tests/test_splitting.py:74
Method
test_strict_level_extraction
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:384
Method
test_strict_value
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:81
Method
test_string_entropy_matches_bytes
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_entropy.py:40
Method
test_stripe_keys_match
(self, key: str)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_credentials.py:78
Method
test_submit_and_get_next
Submitted task can be retrieved from the queue
PROJECTS/beginner/c2-beacon/backend/tests/test_tasking.py:71
Method
test_submit_persists_to_db
Submitted task is persisted in SQLite
PROJECTS/beginner/c2-beacon/backend/tests/test_tasking.py:88
Method
test_summary
(self, json_result_file: Path)
PROJECTS/intermediate/dlp-scanner/tests/test_cli.py:292
Method
test_summary_missing_file
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_cli.py:303
Method
test_survives_deleted_log_file
Rotation recovers when log file is deleted
PROJECTS/beginner/keylogger/test_keylogger.py:270
Method
test_system_metadata_logged
python_version and platform tags are added automatically on run start.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_experiment.py:85
Method
test_systemd_write
Detects writes to systemd unit directories
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_detector.py:272
Method
test_table_exclude_filter
( self, temp_dir: Path, )
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_db_scanner.py:162
Method
test_table_include_filter
( self, temp_dir: Path, )
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_db_scanner.py:187
Function
test_tailer_to_db_end_to_end
Write log lines to a file - tailer picks them up - pipeline processes - dispatcher stores MEDIUM+ threats in the database.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_integration.py:151
Method
test_tar_bz2
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_file_scanner.py:198
Method
test_tar_gz
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_file_scanner.py:194
Method
test_task_roundtrip
TASK message survives pack -> unpack
PROJECTS/beginner/c2-beacon/backend/tests/test_protocol.py:49
Method
test_tasks_queue_in_order
Tasks are dequeued in FIFO order
PROJECTS/beginner/c2-beacon/backend/tests/test_tasking.py:106
Method
test_tcp_packet_construction
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_pcap.py:11
Function
test_temporal_features
Hour, day of week, and weekend flag derived from timestamp.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_features.py:182
Method
test_ten_digit_matches
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_health.py:83
Method
test_ten_network
Converts 10.0.0.1 in network byte order
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_processor.py:73
Method
test_threshold_is_positive
Computed reconstruction error threshold is a positive value.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_training.py:54
Method
test_threshold_json_has_float
threshold.json contains a float threshold value
PROJECTS/advanced/ai-threat-detection/backend/tests/test_orchestrator.py:88
Method
test_threshold_loaded
Autoencoder threshold is read from threshold.json on initialization.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_inference.py:144
Method
test_tls_fingerprint_extraction
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_fingerprinting.py:413
Method
test_tls_handshake
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:29
Method
test_to_dict_fields
to_dict includes all required fields
PROJECTS/beginner/keylogger/test_keylogger.py:142
Method
test_to_dict_null_window
Null window title serializes as Unknown
PROJECTS/beginner/keylogger/test_keylogger.py:160
Method
test_to_log_string_with_window
Log string includes window title in brackets
PROJECTS/beginner/keylogger/test_keylogger.py:172
Method
test_to_log_string_without_window
Log string omits brackets when no window
PROJECTS/beginner/keylogger/test_keylogger.py:188
Method
test_toggle_pauses
Toggle from active state pauses logging
PROJECTS/beginner/keylogger/test_keylogger.py:585
Method
test_toggle_resumes
Toggle from paused state resumes logging
PROJECTS/beginner/keylogger/test_keylogger.py:592
Method
test_token_bucket_algorithm
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_integration.py:621
Method
test_token_bucket_value
(self)
PROJECTS/advanced/api-rate-limiter/tests/test_types.py:63
Method
test_too_short
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_health.py:72
Method
test_too_short
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_health.py:105
Method
test_too_short_fails
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_financial.py:47
Method
test_too_short_rejected
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_rules/test_health.py:59
Method
test_top_talkers
Verify get_top_talkers returns endpoints sorted by total bytes
PROJECTS/beginner/network-traffic-analyzer/python/tests/test_models.py:199
Method
test_trace_real_domain
Live trace for example.com returns a result with the correct domain set
PROJECTS/beginner/dns-lookup/tests/test_resolver.py:221
Method
test_trace_result_structure
TraceResult initializes with empty hops, no final answer, and no error
PROJECTS/beginner/dns-lookup/tests/test_resolver.py:211
Method
test_trailing_dot
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_exfiltration.py:23
Method
test_train_help_shows_csic_dir
train --help shows csic-dir option
PROJECTS/advanced/ai-threat-detection/backend/tests/test_cli.py:44
Method
test_train_help_shows_synthetic_options
train --help shows synthetic normal and attack options
PROJECTS/advanced/ai-threat-detection/backend/tests/test_cli.py:52
Method
test_train_invalid_csic_dir_fails
train with nonexistent csic-dir exits with error
PROJECTS/advanced/ai-threat-detection/backend/tests/test_cli.py:62
Method
test_train_warns_when_db_unavailable
train exits 0 and emits a warning when DB write fails
PROJECTS/advanced/ai-threat-detection/backend/tests/test_cli.py:130
Method
test_trained_model_reconstructs_normal_better_than_anomaly
After training on normal data, reconstruction error is lower for normals than anomalies.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_autoencoder.py:93
Method
test_transform_before_fit_raises
Calling transform before fit raises RuntimeError.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_scaler.py:133
Method
test_transform_dtype_float32
Transformed array dtype remains float32.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_scaler.py:59
Method
test_transform_preserves_shape
Transform output has the same shape as the input array.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_scaler.py:50
Method
test_transformed_median_near_zero
Median of each feature column is approximately zero after scaling.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_scaler.py:68
Method
test_traversal_has_dotdot
Traversal entries contain ../ in path
PROJECTS/advanced/ai-threat-detection/backend/tests/test_synthetic.py:116
Method
test_traversal_returns_correct_count
generate_traversal_requests returns the requested count
PROJECTS/advanced/ai-threat-detection/backend/tests/test_synthetic.py:60
Method
test_try_decode_invalid_returns_none
Checks that try_decode returns None instead of raising for garbage input
PROJECTS/beginner/base64-tool/tests/test_encoders.py:270
Method
test_try_decode_valid
Checks that try_decode returns the correct bytes for valid input
PROJECTS/beginner/base64-tool/tests/test_encoders.py:263
Method
test_two_byte_values_is_one_bit
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_detectors/test_entropy.py:35
Method
test_two_labels
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_exfiltration.py:30
Method
test_txt_volume_detection
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_exfiltration.py:81
Method
test_type_filter
Filters events outside requested category
PROJECTS/beginner/linux-ebpf-security-tracer/tests/test_processor.py:142
Function
test_ua_bot_detection
Known bot user agents are flagged.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_features.py:199
Function
test_ua_scanner_detection
Known vulnerability scanner user agents are flagged.
PROJECTS/advanced/ai-threat-detection/backend/tests/test_features.py:215
Method
test_udp_packet_defaults
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_pcap.py:30
Method
test_unknown_key
Keys without char attribute return UNKNOWN
PROJECTS/beginner/keylogger/test_keylogger.py:539
Function
test_unknown_phc_string_falls_back_to_generic
A PHC string from an algorithm we don't have a specific rule for is still reported as a PHC string with the extracted algorithm name Thi
PROJECTS/foundations/hash-identifier/test_hash_identifier.py:406
Method
test_unknown_protocol
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_network/test_protocols.py:41
Method
test_unknown_rule_returns_default
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_compliance.py:70
Method
test_unknown_rule_returns_empty
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_compliance.py:55
Function
test_unlock_invalid_json_raises
Verify unlock() raises VaultFormatError when the file is not valid JSON Someone hand-edited the vault, or a disk error corrupted it. We
PROJECTS/foundations/password-manager/tests/test_vault.py:323
Function
test_unlock_missing_file_raises
Verify unlock() on a nonexistent file raises VaultNotFoundError Distinct from "wrong password" so the CLI can show a different message (
PROJECTS/foundations/password-manager/tests/test_vault.py:309
Function
test_unlock_reads_back_what_was_saved
Verify the canonical save → unlock round-trip preserves entry data This is THE end-to-end happy-path test: add an entry, save, reopen wi
PROJECTS/foundations/password-manager/tests/test_vault.py:272
Function
test_unlock_rejects_memory_cost_below_lane_floor
Verify a vault that violates Argon2's "memory_cost >= 8 * parallelism" rule is rejected Argon2 algorithmically requires memory_cost >= 8 * p
PROJECTS/foundations/password-manager/tests/test_vault.py:401
Function
test_unlock_rejects_zero_time_cost
Verify a corrupted vault with time_cost=0 surfaces as VaultFormatError Without parameter validation, time_cost=0 would crash deep inside
PROJECTS/foundations/password-manager/tests/test_vault.py:362
Function
test_unlock_unsupported_version_raises
Verify unlock() refuses a vault with an unknown format version Future-proofing. If a future build of pv writes vaults with `version: 2`,
PROJECTS/foundations/password-manager/tests/test_vault.py:339
Function
test_unlock_with_wrong_password_raises
Verify unlock() raises WrongPasswordError when the master password is wrong The primary security guarantee of the whole project. We create a
PROJECTS/foundations/password-manager/tests/test_vault.py:293
Function
test_unlocked_vault_works_as_context_manager
Verify `with UnlockedVault.create(...) as vault:` triggers close() on exit The recommended call site pattern is the with-block, because it
PROJECTS/foundations/password-manager/tests/test_vault.py:791
Method
test_unmapped_special_key
Unmapped special keys use uppercase name
PROJECTS/beginner/keylogger/test_keylogger.py:522
Method
test_unregister_preserves_db_record
Unregistering updates last_seen but does not delete the record
PROJECTS/beginner/c2-beacon/backend/tests/test_registry.py:117
Method
test_unregister_removes_from_active
Unregistering a beacon removes it from the active list
PROJECTS/beginner/c2-beacon/backend/tests/test_registry.py:101
Function
test_unsupported_format_raises_error
Test that unsupported file formats raise an error.
PROJECTS/beginner/metadata-scrubber-tool/tests/integration/test_metadata_factory.py:306
Function
test_unsupported_format_raises_error
Test that non-PDF files raise UnsupportedFormatError.
PROJECTS/beginner/metadata-scrubber-tool/tests/unit/test_pdf_handler.py:131
Function
test_unsupported_format_raises_error
Test that non-PowerPoint files raise UnsupportedFormatError.
PROJECTS/beginner/metadata-scrubber-tool/tests/unit/test_powerpoint_handler.py:146
Function
test_unsupported_format_raises_error
Test that unsupported file formats raise an error (PIL or custom)
PROJECTS/beginner/metadata-scrubber-tool/tests/unit/test_image_handler.py:85
Function
test_unsupported_format_raises_error
Test that non-Word document files raise UnsupportedFormatError.
PROJECTS/beginner/metadata-scrubber-tool/tests/unit/test_worddoc_handler.py:146
Function
test_unsupported_format_raises_error
Test that non-Excel files raise UnsupportedFormatError.
PROJECTS/beginner/metadata-scrubber-tool/tests/unit/test_excel_handler.py:145
Method
test_unsupported_scheme_errors
( self, db_scanner: DatabaseScanner, )
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_db_scanner.py:138
Function
test_update_current_user
Update current user profile
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_users.py:135
Function
test_update_user_clear_field
Setting field to null clears it
PROJECTS/advanced/bug-bounty-platform/backend/tests/integration/test_users.py:156
Method
test_uppercase_normalized
(self)
PROJECTS/intermediate/dlp-scanner/tests/test_scanners/test_file_scanner.py:202
Method
test_url_encoded
Checks that a string with percent-encoded characters is detected as URL encoding
PROJECTS/beginner/base64-tool/tests/test_detector.py:117
← previous
next →
7,801–7,900 of 8,109, ranked by callers