All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Multiple Pattern finder
PostPosted: January 22nd, 2020, 2:43 
Offline
User avatar

Joined: May 13th, 2010, 11:17
Posts: 2655
Location: Kuwait
Hello guys,,,

I was wondering if anyone knows any application where i can Search for Multiple Patterns (Strings) at once?

We can do once-by-one but am looking for something which applies Multiple Inputs at once...

Thank you

_________________
Kuwait Data Recovery - UNIX GTC
The only reason for time is so that everything doesn't happen at once. By: Albert Einstein


Top
 Profile  
 
 Post subject: Re: Multiple Pattern finder
PostPosted: January 22nd, 2020, 9:44 
Offline
User avatar

Joined: December 4th, 2012, 1:35
Posts: 3611
Location: Adelaide, Australia
I would use Python.

you can do something like multiple raw inputs:

x, y = raw_input(), raw_input()

or maybe better, x, y = raw_input().split()

split() needs a separator, but default is space.

then just build out your search functions.


Top
 Profile  
 
 Post subject: Re: Multiple Pattern finder
PostPosted: January 23rd, 2020, 2:23 
Offline
User avatar

Joined: May 13th, 2010, 11:17
Posts: 2655
Location: Kuwait
HaQue wrote:
I would use Python.

you can do something like multiple raw inputs:

x, y = raw_input(), raw_input()

or maybe better, x, y = raw_input().split()

split() needs a separator, but default is space.

then just build out your search functions.



hehe Thnx for this, but i was thinking maybe someone thought about this and made a GUI tool for it i was doing some little research and this question came to my mind to save my time

Thnx again

_________________
Kuwait Data Recovery - UNIX GTC
The only reason for time is so that everything doesn't happen at once. By: Albert Einstein


Top
 Profile  
 
 Post subject: Re: Multiple Pattern finder
PostPosted: January 23rd, 2020, 5:28 
Offline
User avatar

Joined: December 4th, 2012, 1:35
Posts: 3611
Location: Adelaide, Australia
if you are searching binary files you might even be able to use regular tools you already have, and use Regular Expressions. I would be surprised if R-studio or winhex didn't support them. They are very powerful.

there are many regex tools on the web and you should be able to build a small cheat sheet for your own use.

there are tools to build them like http://buildregex.com/

Attachment:
regex.GIF
regex.GIF [ 14.41 KiB | Viewed 3956 times ]


Top
 Profile  
 
 Post subject: Re: Multiple Pattern finder
PostPosted: January 23rd, 2020, 5:36 
Offline
User avatar

Joined: May 13th, 2010, 11:17
Posts: 2655
Location: Kuwait
HaQue wrote:
if you are searching binary files you might even be able to use regular tools you already have, and use Regular Expressions. I would be surprised if R-studio or winhex didn't support them. They are very powerful.

there are many regex tools on the web and you should be able to build a small cheat sheet for your own use.

there are tools to build them like http://buildregex.com/

Attachment:
regex.GIF


Humm, Interesting, never thought that this might work with Winhex,,,, probably should give it a shot...

Thank you :wink:

_________________
Kuwait Data Recovery - UNIX GTC
The only reason for time is so that everything doesn't happen at once. By: Albert Einstein


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group