On 28 Feb 2007 at 9:58, Tom Phoenix wrote:

> On 2/28/07, Beginner <[EMAIL PROTECTED]> wrote:
> 
> > I have a list of files:
> >
> > hash.buckets
> > page.index
> > page.wordlist
> > word.list
> > word.index
> > hash.file
> >
> >
> > They are part of a SQL/Apache/mod_perl installation and these are
> > some kind of indices for searches. I want to examine the contents if
> > possible.
> 
> Have you tried the unix commands file and od?

strings gives me some odd output, not really usable, file just says 
it's data and od gives me a hex dump, again not much to work with.

> > It's quite possible that these files were made by a perl hacker but I
> > am unsure. Do they look like something that may have been made by a
> > perl module?
> 
> I don't recognize these filenames, but maybe someone else does.
> Guessing from the names, though, they look like files that could be
> used as "some kind of indices for searches". Which is to say, if
> you're worried about malicious intent, it either doesn't exist or has
> been cleverly concealed. (Are any of them executable? If not, what's
> the worry?)

The issue is that there index is corrupt or rather there is data 
missing from them. Rebuilding them causes the server to crash so I 
wanted to try and extract the data so I could compare it against the 
database to see what was missing and add it.

> > Is this a job for pack/unpack?
> 
> Could be, especially if you know (or can determine) the file format.
> Do you have any documentation on the program that created these files,
> or one that reads them? If not, I wouldn't waste too much time on
> these files; reverse engineering the index's hash function could take
> weeks, or months. It would be faster to install a new index system
> from scratch.

I think your right. I was hoping that perhaps they were made with 
something like pack or storable which would make the task possible.
 
> Good luck with it!

Thanx for your time.
Dp.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to