Connecting Tech Pros Worldwide Forums | Help | Site Map

Find hard-coded password strings in project's code - Can it be done automatically?

Newbie
 
Join Date: Mar 2009
Posts: 2
#1: Mar 18 '09
Hey,

I have a very big project with thousands and thousands of code lines. Until now we have used hard-coded passwords and we wish to stop. The problem is how detect all the places in the code where we used hard-coded passwords - Do you know a way of doing it automatically?

If there is a free or not-free program that you know that can help it will be good.

Thanks alot!

Expert
 
Join Date: Sep 2007
Location: VA
Posts: 416
#2: Mar 18 '09

re: Find hard-coded password strings in project's code - Can it be done automatically?


There probably isn't some program or solution which would exist for your needs. You may be able to create your own program to analyze your code and try to find the hard coded passwords. Do you have a list of passwords used? How many different passwords are there (a dozen? hundred? thousands?) How were the passwords used? What programming language was used?
Reply

Tags
detect, hard-coded, passwords, string