Script for searchin...
 
Notifications
Clear all

Script for searching strings in compressed files

3 Posts
3 Users
0 Reactions
458 Views
(@rukin)
Active Member
Joined: 19 years ago
Posts: 7
Topic starter  

Hi,

I'm about to write a script for automating the process of searching strings (or regexp) into files contained in compressed archives.

Do some of you know if there is some tool that already address this issue?

Thanks for your answers


rukin


   
Quote
_nik_
(@_nik_)
Trusted Member
Joined: 19 years ago
Posts: 93
 

This is usually not possible, since the data that a specific string compresses to depends on the text before the string.

The exception would be a huffan compressed document where you know the FIXED huffam table. But even then you will have to deal with bit boundary encodings.

Nik


   
ReplyQuote
keydet89
(@keydet89)
Famed Member
Joined: 21 years ago
Posts: 3568
 

> Do some of you know if there is some tool that already address this issue?

Any tool would have to first decompress the files, then search them.


   
ReplyQuote
Share: