Re: Basic Python V3 Search Tool using RE module

2015-03-26 Thread Steven D'Aprano
On Fri, 27 Mar 2015 04:11 am, Gregg Dotoli wrote: >> Thanks for your help and patience. I'm new with Python. No problems! If you hang around here, pay attention to the constructive criticism you are given, and ignore the troll over on the "test1" thread, you'll learn a lot. Let's look at your co

Re: Basic Python V3 Search Tool using RE module

2015-03-26 Thread Dave Angel
On 03/26/2015 01:11 PM, Gregg Dotoli wrote: On Wednesday, March 25, 2015 at 3:43:38 PM UTC-4, Gregg Dotoli wrote: This basic script will help to find evidence of CryptoWall on a slave drive. Although it is just a string, more complex regex patterns can be replaced with the string. It is incredib

Re: Basic Python V3 Search Tool using RE module

2015-03-26 Thread Gregg Dotoli
On Wednesday, March 25, 2015 at 3:43:38 PM UTC-4, Gregg Dotoli wrote: > This basic script will help to find > evidence of CryptoWall on a slave drive. Although it is > just a string, more complex regex patterns can be > replaced with the string. It is incredible how fast Python is and > how easy

Re: Basic Python V3 Search Tool using RE module

2015-03-26 Thread CHIN Dihedral
> Gregg Dotoli Are you reminding everyone who had a PC running DOS2.X-3X in 1990. It was really a pain at that time that a hard disk of an intel-MS based PC was sold hundreds of dollars, and another pain was that the buyer had to use the disabled dir in DOS after buying a HD. -- https://ma

Re: Basic Python V3 Search Tool using RE module

2015-03-25 Thread Tim Chase
On 2015-03-25 21:20, Dave Angel wrote: >> pattern="DECRYPT_I" >> regexp=re.compile(pattern) > > That could explain why it's so fast. While I might have missed it in the thread, it also seems that regexpen are overkill for this. Why not just test for if pattern in name: ... -tkc -- http

Re: Basic Python V3 Search Tool using RE module

2015-03-25 Thread Dave Angel
On 03/25/2015 03:43 PM, Gregg Dotoli wrote: This basic script will help to find evidence of CryptoWall on a slave drive. Although it is just a string, more complex regex patterns can be replaced with the string. It is incredible how fast Python is and how easy it has helped in quickly assessing

Basic Python V3 Search Tool using RE module

2015-03-25 Thread Gregg Dotoli
This basic script will help to find evidence of CryptoWall on a slave drive. Although it is just a string, more complex regex patterns can be replaced with the string. It is incredible how fast Python is and how easy it has helped in quickly assessing a pool of slave drives. I'm improving it as