Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ly4k/Certipy
/ functions
Functions
406 in github.com/ly4k/Certipy
⨍
Functions
406
◇
Types & classes
126
Method
_receiving
Receive data over the socket and handle message encryption/decryption. Returns: List of received LDAP messages
certipy/lib/ldap.py:201
Function
_try_dyn
Try dynamic endpoint connection.
certipy/lib/rpc.py:247
Function
_try_np
Try named pipe connection.
certipy/lib/rpc.py:238
Method
add
Add a new Key Credential to a user and save the certificate as a PFX file. Returns: True on success, False on failure
certipy/commands/shadow.py:362
Function
add_argument_group
Add common target, connection, and authentication arguments to a parser. This function adds standard options for connecting to Active Direct
certipy/commands/parsers/target.py:13
Function
add_subparser
Add the shadow credentials command subparser to the main parser. This function creates and configures a subparser for managing Shadow Creden
certipy/commands/parsers/shadow.py:33
Function
add_subparser
Add the account management command subparser to the main parser. This function creates and configures a subparser for managing Active Direct
certipy/commands/parsers/account.py:33
Function
add_subparser
Add the certificate authentication command subparser to the main parser. This function creates and configures a subparser for authenticating
certipy/commands/parsers/auth.py:31
Function
add_subparser
Add the parse command subparser to the main parser. This function creates and configures a subparser for analyzing AD CS certificate tem
certipy/commands/parsers/parse.py:31
Function
add_subparser
Add the certificate forging command subparser to the main parser. This function creates and configures a subparser for forging certificates
certipy/commands/parsers/forge.py:30
Function
add_subparser
Add the certificate management command subparser to the main parser. This function creates and configures a subparser for managing certifica
certipy/commands/parsers/cert.py:31
Function
add_subparser
Add the certificate request command subparser to the main parser. This function creates and configures a subparser for requesting certificat
certipy/commands/parsers/req.py:32
Function
add_subparser
Add the NTLM relay command subparser to the main parser. This function creates and configures a subparser for relaying NTLM authentication
certipy/commands/parsers/relay.py:31
Function
add_subparser
Add the AD CS enumeration command subparser to the main parser. This function creates and configures a subparser for finding and analyzing
certipy/commands/parsers/find.py:33
Function
add_subparser
Add the Certificate Authority management command subparser to the main parser. This function creates and configures a subparser for managing
certipy/commands/parsers/ca.py:33
Function
add_subparser
Add the certificate template command subparser to the main parser. This function creates and configures a subparser for managing certificate
certipy/commands/parsers/template.py:32
Method
auth_flow
Implement the authentication flow for HTTPX. This generator handles the NTLM authentication protocol flow by: 1. Sending the
certipy/lib/ntlm.py:336
Method
auth_flow
Implement the authentication flow for HTTPX. This generator handles the first request and delegates to retry_with_auth if au
certipy/lib/kerberos.py:495
Method
auto
Automatically add a Key Credential, authenticate, get NT hash, and restore original state. This is the most common attack scenario -
certipy/commands/shadow.py:305
Method
cert_admin
Get or create an ICertAdminD interface. Returns: ICertAdminD interface
certipy/commands/ca.py:411
Method
cert_admin2
Get or create an ICertAdminD2 interface. Returns: ICertAdminD2 interface
certipy/commands/ca.py:428
Method
cert_request2
Get or create an ICertRequestD2 interface. Returns: ICertRequestD2 interface
certipy/commands/ca.py:446
Method
connection
Get or establish an LDAP connection to the domain. Returns: Active LDAP connection Raises: Exceptio
certipy/commands/shadow.py:80
Method
connection
Get or establish an LDAP connection to the target. Returns: Active LDAP connection
certipy/commands/account.py:83
Method
connection
Get or create a registry connection for SID resolution. Returns: RegConnection object for SID resolution
certipy/commands/parse.py:90
Method
connection
Get or create an LDAP connection. Returns: Active LDAP connection to the target
certipy/commands/find.py:106
Method
connection
Get or create an LDAP connection to the domain. Returns: Active LDAP connection Raises: ValueError:
certipy/commands/ca.py:380
Method
connection
Lazily establish and return an LDAP connection. Returns: An active LDAP connection to the target domain
certipy/commands/template.py:196
Method
dce
Get or establish an RPC connection to the certificate authority. Returns: Active RPC connection Raises:
certipy/lib/req.py:915
Method
dcom
Get or establish a DCOM connection to the certificate authority. Returns: Active DCOM connection Raises:
certipy/lib/req.py:789
Function
default_from_transformer
Default transformer function that converts a value to its original form. Args: value: The value to transform Returns: T
certipy/commands/template.py:132
Function
default_into_transformer
Default transformer function that returns the value unchanged. Args: value: The value to transform Returns: The origina
certipy/commands/template.py:115
Method
delete
Delete an account from Active Directory. This method permanently removes the specified account. Returns: True i
certipy/commands/account.py:335
Method
delete
Delete an entry from the LDAP directory. Args: *args: Arguments to pass to the underlying LDAP delete operation
certipy/lib/ldap.py:965
Function
dn_to_components
Parse a Distinguished Name string into components. Args: dn: DN string (e.g., "CN=username,DC=domain,DC=local") Returns:
certipy/lib/certificate.py:711
Method
do_dump
Placeholder for domain dumping functionality. Args: line: Command line input
certipy/commands/auth.py:104
Method
do_exit
Exit the shell. Args: line: Command line input Returns: True to signal shell exit
certipy/commands/auth.py:113
Method
do_ntlm_bind
Perform NTLM bind operation with optional controls. This method implements the complete NTLM authentication flow: 1. Sicily
certipy/lib/ldap.py:376
Method
domain_sid
Get the domain's security identifier (SID). The domain SID is the base identifier used for all domain security principals.
certipy/lib/ldap.py:1121
Function
entry
Command-line entry point for Shadow Authentication operations. Args: options: Command-line arguments
certipy/commands/shadow.py:809
Function
entry
Entry point for the 'account' command. This function creates the Account object and dispatches to the appropriate method based on the sp
certipy/commands/account.py:374
Function
entry
Entry point for the 'auth' command. Args: options: Command-line arguments
certipy/commands/auth.py:903
Function
entry
Command-line entry point for the parse functionality. Args: options: Command line arguments
certipy/commands/parse.py:569
Function
entry
Command-line entry point for certificate forgery. Args: options: Command line arguments
certipy/commands/forge.py:737
Function
entry
Entry point for the 'cert' command. Processes certificates and private keys according to specified options. Args: options: Comm
certipy/commands/cert.py:158
Function
entry
Command-line entry point for certificate operations. Args: options: Command-line arguments
certipy/commands/req.py:31
Function
entry
Command-line entry point for relay functionality. Args: options: Command line arguments
certipy/commands/relay.py:1033
Function
entry
Entry point for the 'find' command. Args: options: Command-line arguments
certipy/commands/find.py:2443
Function
entry
Entry point for the 'ca' command. Args: options: Command-line arguments
certipy/commands/ca.py:1488
Function
entry
Entry point for the template command. Args: options: Command-line arguments
certipy/commands/template.py:552
Function
entry
Entry point for the shadow command. This function imports and calls the actual implementation of the shadow command from the certipy.com
certipy/commands/parsers/shadow.py:18
Function
entry
Entry point for the account management command. This function imports and calls the actual implementation of the account command from th
certipy/commands/parsers/account.py:18
Function
entry
Entry point for the auth command. This function imports and calls the actual implementation of the auth command from the certipy.command
certipy/commands/parsers/auth.py:16
Function
entry
Entry point for the parse command. This function imports and calls the actual implementation of the parse command from the certipy.comma
certipy/commands/parsers/parse.py:16
Function
entry
Entry point for the forge command. This function imports and calls the actual implementation of the forge command from the certipy.comma
certipy/commands/parsers/forge.py:15
Function
entry
Entry point for the cert command. This function imports and calls the actual implementation of the cert command from the certipy.command
certipy/commands/parsers/cert.py:16
Function
entry
Entry point for the certificate request command. This function imports and calls the actual implementation of the req command from the c
certipy/commands/parsers/req.py:17
Function
entry
Entry point for the relay command. This function imports and calls the actual implementation of the relay command from the certipy.comma
certipy/commands/parsers/relay.py:16
Function
entry
Entry point for the find command. This function imports and calls the actual implementation of the find command from the certipy.command
certipy/commands/parsers/find.py:18
Function
entry
Entry point for the CA management command. This function imports and calls the actual implementation of the CA command from the certipy.
certipy/commands/parsers/ca.py:18
Function
entry
Entry point for the template command. This function imports and calls the actual implementation of the template command from the certipy
certipy/commands/parsers/template.py:17
Method
from_options
Create a DnsResolver from command line options. Args: options: The command line options target: The Target o
certipy/lib/target.py:355
Method
get_attack_http_client
Factory method to create an HTTP attack client. Returns: Configured HTTP attack client
certipy/commands/relay.py:998
Method
get_attack_rpc_client
Factory method to create an RPC attack client. Returns: Configured RPC attack client
certipy/commands/relay.py:1016
Method
get_certificate_authorities
Get certificate authorities. Creates a mock CA entry with the provided templates for analysis. Returns: List co
certipy/commands/parse.py:114
Method
get_certificate_templates
Parse certificate templates from BOF output. Returns: List of RegEntry objects representing certificate templates
certipy/commands/parse.py:173
Method
get_certificate_templates
Parse certificate templates from BOF output. Returns: List of RegEntry objects representing certificate templates
certipy/commands/parse.py:295
Method
get_certificate_templates
Parse certificate templates from a .reg file. Returns: List of RegEntry objects representing certificate templates
certipy/commands/parse.py:409
Method
get_enrollment_service
Get a specific enrollment service. Args: ca: CA name Returns: Enrollment service object or None if
certipy/commands/ca.py:1181
Method
get_enrollment_services
Get all enrollment services in the domain. Returns: List of enrollment service objects
certipy/commands/ca.py:1168
Method
get_issuance_policies
Get certificate issuance policies. Returns: Empty list (not implemented for offline analysis)
certipy/commands/parse.py:105
Method
get_raw
Get a raw (bytes) representation of an attribute value. Args: key: The attribute name to retrieve Returns:
certipy/lib/registry.py:42
Method
get_relay_http_server
Factory method to create an HTTP relay server. Returns: Configured HTTP relay server
certipy/commands/relay.py:989
Method
get_relay_rpc_server
Factory method to create an RPC relay server. Returns: Configured RPC relay server
certipy/commands/relay.py:1007
Method
get_user_sids
Get user security identifiers. Args: _username: Username (not used in this implementation) _user_sid: User's
certipy/lib/registry.py:98
Function
init
Initialize the Certipy logger with the appropriate formatter. Args: level: Log level to set (default: INFO) logger_name: Nam
certipy/lib/logger.py:85
Method
initConnection
Establish a connection to the AD CS Web Enrollment service. Returns: True if connection was successful
certipy/commands/relay.py:88
Method
interface
Get the appropriate request interface based on configuration. Returns: Configured request interface instance
certipy/lib/req.py:1348
Function
key_to_der
Convert private key to DER format (PKCS#8). Args: key: Private key object Returns: DER-encoded key as bytes
certipy/lib/certificate.py:467
Method
list
List all Key Credentials for a user. Returns: True if Key Credentials were found and listed, False otherwise
certipy/commands/shadow.py:409
Method
lookup_sid
(self, sid: str)
certipy/lib/bloodhound.py:37
Method
lookup_sid
Look up a security identifier and return corresponding registry entry. Args: sid: Security identifier to look up
certipy/lib/registry.py:121
Method
open_remote_registry
Open a connection to the remote registry service. Args: target_ip: IP address of the target dns_host_name: D
certipy/commands/find.py:136
Method
remove
Remove a specific Key Credential identified by its Device ID. Returns: True on success, False on failure
certipy/commands/shadow.py:499
Method
request
Submit a certificate request. Args: csr: Certificate signing request data attributes_list: List of certifica
certipy/lib/req.py:252
Method
request
Submit a certificate request via DCOM. Args: csr: Certificate signing request data attributes_list: List of
certipy/lib/req.py:845
Method
request
Submit a certificate request via RPC. Args: csr: Certificate signing request data attributes_list: List of c
certipy/lib/req.py:998
Method
request
Submit a certificate request via Web Enrollment. Args: csr_bytes: Certificate signing request data attribute
certipy/lib/req.py:1199
Method
resolve_hostname
Resolve a hostname to IP address using the configured resolver. Args: hostname: The hostname to resolve Returns
certipy/lib/target.py:326
Method
retrieve
Retrieve a certificate by request ID. Args: request_id: The request ID to retrieve Returns: Certifi
certipy/lib/req.py:240
Method
retrieve
Retrieve a certificate by request ID via DCOM. Args: request_id: The request ID to retrieve Returns:
certipy/lib/req.py:805
Method
retrieve
Retrieve a certificate by request ID via RPC. Args: request_id: The request ID to retrieve Returns:
certipy/lib/req.py:967
Method
retrieve
Retrieve a certificate by request ID via Web Enrollment. Args: request_id: The request ID to retrieve Returns:
certipy/lib/req.py:1181
Method
rrp_dce
Get or create a connection to the remote registry service. Returns: RRP DCE/RPC connection or None if connection fails
certipy/commands/ca.py:464
Method
run
Execute the certificate request attack with proper locking.
certipy/commands/relay.py:415
Method
run
Execute the certificate request attack with proper locking.
certipy/commands/relay.py:631
Method
sendAuth
Send authentication data to the target with proper locking to prevent race conditions. Args: authenticateMessageBlob: Th
certipy/commands/relay.py:226
Method
sendAuth
Send authentication data to the target RPC service. Args: authenticateMessageBlob: The authentication message
certipy/commands/relay.py:351
Method
sendNegotiate
( # noqa: N802 # type: ignore self, negotiate_message: bytes )
certipy/commands/relay.py:122
Method
sending
Send an LDAP message, optionally encrypting it first. Args: ldap_message: The LDAP message to send Raises:
certipy/lib/ldap.py:170
← previous
next →
301–400 of 406, ranked by callers