m4ll0k / SecretFinder

SecretFinder - A python script for find sensitive data (apikeys, accesstoken,jwt,..) and search anything on javascript files
GNU General Public License v3.0
2k stars 373 forks source link

Error while scanning directory with source code #44

Closed Karmaz95 closed 3 years ago

Karmaz95 commented 3 years ago

Hello,

The program does not support the directory containing the source code files.

image

I have a directory with files:

directory/
*file1
*file2
*file3

I wanted to scan them using SecretFinder but with no luck, everytime i see this error:

python3 /home/karmaz/tools/SecretFinder/SecretFinder.py -i all_source_code

[ + ] URL: file:///home/karmaz/all_source_code
cat: standard output: Bad file descriptor

Could you please add this functionality to your SecretFinder

Have a nice day, Karmaz

m4ll0k commented 3 years ago

python3 /home/karmaz/tools/SecretFinder/SecretFinder.py -i "all_source_code/*"

Karmaz95 commented 3 years ago

Still doesn't work

m4ll0k commented 3 years ago

python3 /home/karmaz/tools/SecretFinder/SecretFinder.py -i "all_source_code/*" -o cli

Karmaz95 commented 3 years ago

Nice! It is working, but i will test it more on the next aproach. Thanks!!