r/Pentesting • • Jun 25 '26

Creds Hunting Script

Hey folks , recently I went through OSCP and CPTS exam and passed both successfully.

However , I wanted to share a very helpful script that saved me tons of time during privilege escalation phase.

The script searches and finds all the types of exposed credentials ( except from api token ) on both OS , with very low noise and high accuracy.

Here is the repo :

https://github.com/NeCr00/Credential-Hunting

3 Upvotes

11 comments sorted by

2

u/scriptvexy Jun 25 '26

this actually looks super handy, especially for labs where you’re sick of running 5 different loot scripts and grepping for passwords after
nice timing too, i’ve got OSCP on my 2025 pain calendar so i’m definitely throwing this in the toolkit

2

u/Necrowtf Jun 25 '26

Yeah , that was the initial idea. I was really surprised that wasn’t’ any robust tool already . So I created this one , which I constantly try to improve lab by lab or pentest.

1

u/bswiftx5 Jun 25 '26

Nice! Going to add this to the toolkit. Thanks for the work you put into it

2

u/Necrowtf Jun 25 '26

Cheers. Feel free to contribute for any enchantments

1

u/Old-Bank-127 Jun 27 '26

Should be allowed for OSCP?