List Info

Thread: This is probably really easy to do, but...




This is probably really easy to do, but...
user name
2007-09-17 11:01:36
Hola chaps and chapesses,
I've been trying to find a solution to this for a while, but
am at a loss
(perl noob that I am), and so have decided to throw myself
on the mercy of
the group. Basically what I am attempting to do is create a
simple script to
quickly spider a hard drive (with a view to extending it to
scan for certain
file types / registry values for audit and forensic purposes
- think AV but
without the AV angle) and am kind of at a loss. Speed isn't
really an issue,
as long as it does what it says on the tin. I've checked all
around the
place for a simple place to start, but am now lost. If any
of you guys know
a good place to start, or have done something similar in the
past, I'd
really appreciate if you could let me know. It's one of
those things that
although it seems as if it should be simple to accomplish
but has proved to
be anything but yet. All help greatly appreciated.
Cheers all,
Mike Kemp

PS: By all means feel free to point and laugh - I have never
claimed to be a
dev; merely an idiot that sometimes comes up with ideas that
may or may not
be realisable ;)

Re: This is probably really easy to do, but...
user name
2007-09-17 12:03:58
The quickest and simplest way to do it is to use the
find2perl script.
 That will turn a standard unix find into a perl script and
you can
then tweak the script to do whatever you want for each of
the files
you find.

For example if you do,

find2perl / -type f

You will be given a script to print all the files.


Colin

On 9/17/07, mike kemp <clappymonkeygmail.com> wrote:
> Hola chaps and chapesses,
> I've been trying to find a solution to this for a
while, but am at a loss
> (perl noob that I am), and so have decided to throw
myself on the mercy of
> the group. Basically what I am attempting to do is
create a simple script to
> quickly spider a hard drive (with a view to extending
it to scan for certain
> file types / registry values for audit and forensic
purposes - think AV but
> without the AV angle) and am kind of at a loss. Speed
isn't really an issue,
> as long as it does what it says on the tin. I've
checked all around the
> place for a simple place to start, but am now lost. If
any of you guys know
> a good place to start, or have done something similar
in the past, I'd
> really appreciate if you could let me know. It's one of
those things that
> although it seems as if it should be simple to
accomplish but has proved to
> be anything but yet. All help greatly appreciated.
> Cheers all,
> Mike Kemp
>
> PS: By all means feel free to point and laugh - I have
never claimed to be a
> dev; merely an idiot that sometimes comes up with ideas
that may or may not
> be realisable ;)
>

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )