Skip to content

Add ca-subpath feature and arguments#334

Open
bzhuntpalmier wants to merge 1 commit intoly4k:mainfrom
bzhuntpalmier:feature/ca-subpath
Open

Add ca-subpath feature and arguments#334
bzhuntpalmier wants to merge 1 commit intoly4k:mainfrom
bzhuntpalmier:feature/ca-subpath

Conversation

@bzhuntpalmier
Copy link
Copy Markdown

Add ca-subpath feature and arguments to take into account path variations when requesting certificates via the web.
Allows to override the fact that endpoints are hardcoded and enables you to make them dynamic, when the CA URL to ask certificate is http://ip/certsrv/en-US/certfnsh.asp, for example.

Example :

certipy req -u 'usr@lab.local' -p 'pwd' -dc-ip dcip -ca CA -template tpl -target-ip tip -web -no-channel-binding -ca-subpath '/en-US/'.

This is very useful when, in pentesting or red teaming, the target CA (to exploit ESC8, for example) returns a 404 error on /certsrv/certfnsh.asp and instead uses /certsrv/snip/certfnsh.asp.

…ions when requesting certificates via the web
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant