BishopFox / sliver

Adversary Emulation Framework
GNU General Public License v3.0
7.89k stars 1.05k forks source link

View Certificate Information #1691

Closed RafBishopFox closed 1 month ago

RafBishopFox commented 1 month ago

This PR is inspired by #1688 . While we may not be able to help those poor implants that perished, we can give operators an idea of when certs are going to expire so that they can plan accordingly.

The certificates command shows the certificates stored on the server. If the certificate is within a week of expiring, it is displayed in red text. If the certificate is within a month of expiring, it is displayed in orange text. Entries are sorted by expiry time in descending order.

The command supports various filtering options:

Any combination of these can be used.