Archive of public exploits.

https://github.com/offensive-security/exploitdb

Search for an exploit:

searchsploit <software> <version>

Example:

searchsploit openssh 7.2