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
↓ 1 callers
Method
_inode_changed
Check whether the target file's inode differs from the one we opened.
PROJECTS/advanced/ai-threat-detection/backend/app/core/ingestion/tailer.py:187
↓ 1 callers
Function
_inter_request_time_stats
Mean and standard deviation of inter-request intervals in milliseconds.
PROJECTS/advanced/ai-threat-detection/backend/app/core/features/aggregator.py:199
↓ 1 callers
Method
_is_allowlisted
Check if a matched value is in the allowlist
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/detectors/pattern.py:63
↓ 1 callers
Function
_is_descrypt
Return True for traditional 13-char DES crypt (legacy /etc/passwd) No prefix at all — just 13 characters drawn from `./0-9A-Za-z`. Old e
PROJECTS/foundations/hash-identifier/hash_identifier.py:294
↓ 1 callers
Method
_is_excluded
Check if a path matches any exclude pattern
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/scanners/file_scanner.py:164
↓ 1 callers
Function
_is_mysql5
Return True for MySQL5 password format: `*` then 40 UPPERCASE hex chars MySQL5 stores SHA-1(SHA-1(password)) printed in uppercase hex with
PROJECTS/foundations/hash-identifier/hash_identifier.py:256
↓ 1 callers
Function
_is_private_ip
Check whether an IP address is in a private or loopback range.
PROJECTS/advanced/ai-threat-detection/backend/app/core/features/extractor.py:56
↓ 1 callers
Method
_is_safe_tar_member
Check a TAR member for path traversal
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/extractors/archive.py:180
↓ 1 callers
Method
_is_safe_zip_member
Check a ZIP member for path traversal and bomb indicators
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/extractors/archive.py:152
↓ 1 callers
Method
_is_trusted_proxy
Check if IP is in trusted proxies list
PROJECTS/advanced/api-rate-limiter/src/fastapi_420/fingerprinting/ip.py:100
↓ 1 callers
Function
_ktime_to_datetime
Convert kernel monotonic timestamp to wall clock
PROJECTS/beginner/linux-ebpf-security-tracer/src/processor.py:138
↓ 1 callers
Function
_load_inference_engine
Attempt to load the ONNX inference engine from the configured model directory, returning None if ML dependencies are missing or no models
PROJECTS/advanced/ai-threat-detection/backend/app/factory.py:153
↓ 1 callers
Method
_load_position
Read saved (inode, offset) from the position file
PROJECTS/advanced/ai-threat-detection/backend/app/core/ingestion/tailer.py:107
↓ 1 callers
Method
_log_system_metadata
Record Python version and git commit hash
PROJECTS/advanced/ai-threat-detection/backend/ml/experiment.py:89
↓ 1 callers
Function
_make_pipeline_rules_only
Build a Pipeline without ML inference engine
PROJECTS/advanced/ai-threat-detection/backend/tests/test_ml_integration.py:111
↓ 1 callers
Function
_method_entropy
Shannon entropy of HTTP method distribution.
PROJECTS/advanced/ai-threat-detection/backend/app/core/features/aggregator.py:166
↓ 1 callers
Method
_normalize_ip
Normalize IP address for rate limiting IPv6 addresses are normalized to their /64 network prefix since users typically contr
PROJECTS/advanced/api-rate-limiter/src/fastapi_420/fingerprinting/ip.py:106
↓ 1 callers
Function
_now_iso
Return the current UTC time as an ISO 8601 string UTC (instead of local time) means timestamps are unambiguous even if the user moves be
PROJECTS/foundations/password-manager/src/password_manager/vault.py:254
↓ 1 callers
Method
_open_target
Open the target log file, restoring saved position if the inode matches, otherwise seeking to EOF
PROJECTS/advanced/ai-threat-detection/backend/app/core/ingestion/tailer.py:70
↓ 1 callers
Function
_parse_answer
Parse a single DNS answer record
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/network/protocols.py:212
↓ 1 callers
Function
_parse_chain_steps
(raw: str)
PROJECTS/beginner/base64-tool/src/base64_tool/cli.py:303
↓ 1 callers
Function
_parse_envelope
Pull the fields we need out of the JSON envelope Validates the version and algorithm names. Returns (salt, kdf_parameters, nonce, cipher
PROJECTS/foundations/password-manager/src/password_manager/vault.py:951
↓ 1 callers
Function
_parse_ethernet
Parse an Ethernet frame into a PacketInfo
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/network/pcap.py:66
↓ 1 callers
Function
_parse_regex
Regex fallback for non-standard or edge-case log lines.
PROJECTS/advanced/ai-threat-detection/backend/app/core/ingestion/parsers.py:130
↓ 1 callers
Function
_parse_request_block
Parse a single request block into a CSICRequest
PROJECTS/advanced/ai-threat-detection/backend/ml/data_loader.py:121
↓ 1 callers
Function
_parse_split
Fast string-split parser for well-formed nginx combined lines.
PROJECTS/advanced/ai-threat-detection/backend/app/core/ingestion/parsers.py:77
↓ 1 callers
Method
_parse_worker
Stage 1: Parse raw log lines into structured entries
PROJECTS/advanced/ai-threat-detection/backend/app/core/ingestion/pipeline.py:183
↓ 1 callers
Method
_parse_x_forwarded_for
Parse X-Forwarded-For header safely Uses rightmost-trusted approach: walk backwards through the chain and return the first I
PROJECTS/advanced/api-rate-limiter/src/fastapi_420/fingerprinting/ip.py:80
↓ 1 callers
Function
_partial_redact
Partially mask a value, keeping the last few chars visible
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/redaction.py:36
↓ 1 callers
Function
_path_contains
Check if a filepath contains any pattern
PROJECTS/beginner/linux-ebpf-security-tracer/src/detector.py:57
↓ 1 callers
Function
_path_depth_variance
Population variance of path depth values.
PROJECTS/advanced/ai-threat-detection/backend/app/core/features/aggregator.py:188
↓ 1 callers
Method
_print_summary
Print summary statistics for the report. Args: report: ComparisonReport to summarize.
PROJECTS/beginner/metadata-scrubber-tool/src/services/report_generator.py:260
↓ 1 callers
Method
_process_dict_rows
Process dictionary rows through detection
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/scanners/db_scanner.py:444
↓ 1 callers
Method
_process_dns_packet
Parse DNS and check for exfiltration patterns
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/scanners/network_scanner.py:173
↓ 1 callers
Method
_process_event
Evaluate all enabled rules against a single event
PROJECTS/intermediate/siem-dashboard/backend/app/engine/correlation.py:356
↓ 1 callers
Method
_process_record_rows
Process asyncpg Record rows through detection
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/scanners/db_scanner.py:415
↓ 1 callers
Method
_prune_history
Remove stale events outside the correlation window
PROJECTS/beginner/linux-ebpf-security-tracer/src/detector.py:106
↓ 1 callers
Method
_publish_alert
Publish a real-time alert to the Redis pub/sub channel
PROJECTS/advanced/ai-threat-detection/backend/app/core/alerts/dispatcher.py:91
↓ 1 callers
Function
_random_ip
Generate a random public-looking IP address
PROJECTS/advanced/ai-threat-detection/backend/ml/synthetic.py:219
↓ 1 callers
Function
_random_timestamp
Generate a random timestamp within the last 24 hours
PROJECTS/advanced/ai-threat-detection/backend/ml/synthetic.py:226
↓ 1 callers
Function
_receive
()
PROJECTS/advanced/ai-threat-detection/backend/app/api/websocket.py:59
↓ 1 callers
Function
_receive_messages
Coroutine that processes incoming messages from the beacon
PROJECTS/beginner/c2-beacon/backend/app/beacon/router.py:62
↓ 1 callers
Method
_redact_sensitive_headers
Redact sensitive header values for evidence collection Args: headers: Original headers dictionary Returns:
PROJECTS/intermediate/api-security-scanner/backend/scanners/base_scanner.py:251
↓ 1 callers
Function
_redact_url
Replace the user:password portion of a database URL with ***:***
PROJECTS/advanced/ai-threat-detection/backend/cli/main.py:362
↓ 1 callers
Function
_register_routes
Register all application routes
PROJECTS/intermediate/api-security-scanner/backend/factory.py:54
↓ 1 callers
Function
_relay
()
PROJECTS/advanced/ai-threat-detection/backend/app/api/websocket.py:54
↓ 1 callers
Function
_render_entry
Format an entry as a rich Panel for terminal display A Panel is a bordered box. We list each field on its own line and let the terminal
PROJECTS/foundations/password-manager/src/password_manager/main.py:264
↓ 1 callers
Function
_render_report
Print the scan report as a rich table plus a grade panel
PROJECTS/foundations/http-headers-scanner/http_headers_scanner.py:509
↓ 1 callers
Function
_render_table
Print a rich Table showing the identified candidates A Table is a bordered grid. We give it three columns: algorithm, confidence (color-
PROJECTS/foundations/hash-identifier/hash_identifier.py:596
↓ 1 callers
Function
_resolve_auth
Extract JWT and load user onto flask g or raise if required
PROJECTS/intermediate/siem-dashboard/backend/app/core/decorators/endpoint.py:71
↓ 1 callers
Function
_resolve_parent_comm
Read parent process name from /proc
PROJECTS/beginner/linux-ebpf-security-tracer/src/processor.py:183
↓ 1 callers
Function
_resolve_tracers
Determine which tracer files to load
PROJECTS/beginner/linux-ebpf-security-tracer/src/loader.py:56
↓ 1 callers
Function
_resolve_user
Resolve the authenticated user from the session cookie or close the socket
PROJECTS/advanced/encrypted-p2p-chat/backend/app/api/websocket.py:28
↓ 1 callers
Function
_resolve_username
Resolve UID to username with caching
PROJECTS/beginner/linux-ebpf-security-tracer/src/processor.py:105
↓ 1 callers
Method
_save_position
Persist current inode and file offset to disk
PROJECTS/advanced/ai-threat-detection/backend/app/core/ingestion/tailer.py:124
↓ 1 callers
Method
_scale_for_ae
Apply RobustScaler transform for autoencoder input
PROJECTS/advanced/ai-threat-detection/backend/app/core/detection/inference.py:160
↓ 1 callers
Method
_scan_async
Dispatch to the appropriate database scanner
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/scanners/db_scanner.py:67
↓ 1 callers
Method
_scan_directory
Recursively walk a directory and scan matching files
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/scanners/file_scanner.py:83
↓ 1 callers
Method
_scan_mongodb
Scan MongoDB collections using pymongo async
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/scanners/db_scanner.py:266
↓ 1 callers
Method
_scan_mysql
Scan MySQL using aiomysql with random sampling
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/scanners/db_scanner.py:185
↓ 1 callers
Method
_scan_pcap
Read packets, reassemble flows, and run detection
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/scanners/network_scanner.py:104
↓ 1 callers
Method
_scan_postgres
Scan PostgreSQL using asyncpg with TABLESAMPLE
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/scanners/db_scanner.py:103
↓ 1 callers
Method
_scan_reassembled_flows
Reassemble TCP streams and scan for sensitive data
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/scanners/network_scanner.py:204
↓ 1 callers
Method
_scan_sqlite
Scan SQLite database using aiosqlite
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/scanners/db_scanner.py:321
↓ 1 callers
Method
_schedule_room_deletion
Schedule automatic deletion of a room after TTL
PROJECTS/advanced/encrypted-p2p-chat/backend/app/core/surreal_manager.py:478
↓ 1 callers
Method
_score_with_ml
Run ML ensemble inference on a single feature vector and return normalized per-model scores
PROJECTS/advanced/ai-threat-detection/backend/app/core/ingestion/pipeline.py:311
↓ 1 callers
Function
_secure_shuffle
Shuffle a list in place using a cryptographically secure source The standard library's random.shuffle uses the predictable Mersenne Twis
PROJECTS/foundations/password-manager/src/password_manager/generator.py:152
↓ 1 callers
Function
_send_tasks
Coroutine that awaits queued tasks and sends them to the beacon
PROJECTS/beginner/c2-beacon/backend/app/beacon/router.py:41
↓ 1 callers
Function
_serialize_finding
Serialize a single finding to dict
PROJECTS/intermediate/dlp-scanner/src/dlp_scanner/reporters/json_report.py:70
↓ 1 callers
Method
_should_bypass_circuit
Determine if request should bypass open circuit
PROJECTS/advanced/api-rate-limiter/src/fastapi_420/defense/layers.py:294
↓ 1 callers
Method
_should_limit
Determine if request should be rate limited
PROJECTS/advanced/api-rate-limiter/src/fastapi_420/middleware.py:131
↓ 1 callers
Function
_status_diversity
Count of distinct HTTP status codes.
PROJECTS/advanced/ai-threat-detection/backend/app/core/features/aggregator.py:178
↓ 1 callers
Method
_store_event
Persist the scored request as a threat event in PostgreSQL
PROJECTS/advanced/ai-threat-detection/backend/app/core/alerts/dispatcher.py:82
↓ 1 callers
Method
_subscribe_to_messages
Subscribe to live message updates for the user
PROJECTS/advanced/encrypted-p2p-chat/backend/app/core/websocket_manager.py:211
↓ 1 callers
Method
_sweep_stale
Remove all PIDs with only expired events
PROJECTS/beginner/linux-ebpf-security-tracer/src/detector.py:122
↓ 1 callers
Function
_synthetic_timestamp
Generate a realistic training timestamp spread over 90 days
PROJECTS/advanced/ai-threat-detection/backend/ml/data_loader.py:57
↓ 1 callers
Method
_test_boolean_based_sqli
Test for boolean based blind SQL injection Compares responses from true vs false conditions to detect SQLi Returns:
PROJECTS/intermediate/api-security-scanner/backend/scanners/sqli_scanner.py:141
↓ 1 callers
Method
_test_bypass_techniques
Test common rate limit bypass techniques Based on HackTricks and OWASP: - IP header spoofing (X-Forwarded-For, X-Real-IP, et
PROJECTS/intermediate/api-security-scanner/backend/scanners/rate_limit_scanner.py:200
↓ 1 callers
Method
_test_endpoint_variation_bypass
Test if endpoint case variations bypass rate limiting Some rate limiters are case-sensitive or miss URL variations Returns:
PROJECTS/intermediate/api-security-scanner/backend/scanners/rate_limit_scanner.py:292
↓ 1 callers
Method
_test_error_based_sqli
Test for error based SQL injection Detects database errors in responses indicating SQLi vulnerability Returns:
PROJECTS/intermediate/api-security-scanner/backend/scanners/sqli_scanner.py:100
↓ 1 callers
Method
_test_id_enumeration
Test for ID enumeration vulnerabilities Attempts to access resources with modified IDs to detect missing authorization check
PROJECTS/intermediate/api-security-scanner/backend/scanners/idor_scanner.py:87
↓ 1 callers
Method
_test_invalid_token_handling
Test how server handles invalid/malformed tokens Returns: dict[str, Any]: Invalid token handling test results
PROJECTS/intermediate/api-security-scanner/backend/scanners/auth_scanner.py:307
↓ 1 callers
Method
_test_ip_header_bypass
Test if rate limiting can be bypassed with IP spoofing headers Many rate limiters trust X-Forwarded-For and similar headers,
PROJECTS/intermediate/api-security-scanner/backend/scanners/rate_limit_scanner.py:238
↓ 1 callers
Method
_test_jwt_vulnerabilities
Test for common JWT vulnerabilities Tests: - None algorithm acceptance - Signature removal - Weak secret det
PROJECTS/intermediate/api-security-scanner/backend/scanners/auth_scanner.py:165
↓ 1 callers
Method
_test_missing_authentication
Test if endpoint requires authentication Attempts to access endpoint without credentials. Returns: dict[str, An
PROJECTS/intermediate/api-security-scanner/backend/scanners/auth_scanner.py:105
↓ 1 callers
Method
_test_none_algorithm
Test if server accepts JWT with 'none' algorithm Critical vulnerability: allows unsigned tokens to be accepted. Returns:
PROJECTS/intermediate/api-security-scanner/backend/scanners/auth_scanner.py:199
↓ 1 callers
Method
_test_numeric_id_manipulation
Test numeric ID manipulation for IDOR Args: extracted_ids: List of IDs extracted from responses Returns:
PROJECTS/intermediate/api-security-scanner/backend/scanners/idor_scanner.py:160
↓ 1 callers
Method
_test_predictable_id_patterns
Test if IDs follow predictable patterns Predictable IDs (sequential, timestamps) enable enumeration attacks. Returns:
PROJECTS/intermediate/api-security-scanner/backend/scanners/idor_scanner.py:280
↓ 1 callers
Method
_test_signature_removal
Test if server accepts JWT with signature removed Returns: dict[str, Any]: Signature removal test results
PROJECTS/intermediate/api-security-scanner/backend/scanners/auth_scanner.py:260
↓ 1 callers
Method
_test_string_id_manipulation
Test string/UUID ID manipulation for IDOR Args: extracted_ids: List of IDs extracted from responses Returns:
PROJECTS/intermediate/api-security-scanner/backend/scanners/idor_scanner.py:223
↓ 1 callers
Method
_test_time_based_sqli
Test for time based blind SQL injection Uses baseline timing comparison with statistical analysis for false positive reducti
PROJECTS/intermediate/api-security-scanner/backend/scanners/sqli_scanner.py:216
↓ 1 callers
Method
_train_ae
Train the autoencoder on normal-only data
PROJECTS/advanced/ai-threat-detection/backend/ml/orchestrator.py:197
↓ 1 callers
Method
_train_if
Train the isolation forest on normal-only data
PROJECTS/advanced/ai-threat-detection/backend/ml/orchestrator.py:222
↓ 1 callers
Method
_train_rf
Train the random forest classifier
PROJECTS/advanced/ai-threat-detection/backend/ml/orchestrator.py:212
↓ 1 callers
Method
_trip
Trip the circuit breaker
PROJECTS/advanced/api-rate-limiter/src/fastapi_420/defense/circuit_breaker.py:114
↓ 1 callers
Method
_update_active_window
Update cached window title periodically
PROJECTS/beginner/keylogger/keylogger.py:390
↓ 1 callers
Method
_update_conversation
Update statistics for a conversation between two endpoints
PROJECTS/beginner/network-traffic-analyzer/python/src/netanal/statistics.py:122
↓ 1 callers
Function
_validate_entry_name
Reject entry names that would cause subtle bugs Three failure modes 1. Empty string — produces an entry with no name, almost
PROJECTS/foundations/password-manager/src/password_manager/vault.py:264
↓ 1 callers
Function
_validate_network
Validate network CIDR notation
PROJECTS/beginner/network-traffic-analyzer/python/src/netanal/filters.py:68
↓ 1 callers
Method
_wait_before_request
Implement request spacing to avoid overwhelming target Based on research: production-safe scanning requires spacing requests
PROJECTS/intermediate/api-security-scanner/backend/scanners/base_scanner.py:73
← previous
next →
1,901–2,000 of 8,109, ranked by callers