in reply to Re: Hiding passwords in scripts...
in thread Hiding passwords in scripts...
Too bad you can't make perl script 711 like compiled binaries...
Although... here's an idea...
you can make c binaries executable but not readable... correct?
maybe a compiled c binary that contained the password, and basically
just ran a sscript via the system call... passing the password
in... ummm... ARGV and env are both accessible through like...
/proc aren't they... what is the best way? Because then you
could have a nice generic C source, feed it the data you want
added in, and still have the perl script run as the user and
not suid. Not sure this is right, but it sounds promising...
- Ant
|
|---|