kartikeyap / opendlp

Automatically exported from code.google.com/p/opendlp
0 stars 0 forks source link

regex search does not appear to run? #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Ran a Unix Agentless scan against a HP-UX server
2. Inserted some card data

What is the expected output? What do you see instead?

Expected it to find a Visa card number from a plain test file

What version of the product are you using? On what operating system?
Running 0.4.4 in a Virtualbox machine.  Target is HP-UX 11.11

Please provide any additional information below.

File list builds for a significant amount of time.  Looks like that works 
perfectly well but when it comes to triggering the regex, it looks like its 
doing nothing.

5387    Thu Mar 15 12:12:44 2012    /usr7/pro2/user00/sg/symlinks_broken.txt will 
be scanned
5388    Thu Mar 15 12:12:44 2012    File: /usr7/pro2/user00/sg/symlinks_broken.txt 
(temp_file = /tmp/OpenDLP/2/usr7/pro2/user00/sg/symlinks_broken.txt)
5389    Thu Mar 15 12:12:44 2012    /usr7/pro2/user00/sg/symlinks2.txt will be 
scanned
5390    Thu Mar 15 12:12:44 2012    File: /usr7/pro2/user00/sg/symlinks2.txt 
(temp_file = /tmp/OpenDLP/2/usr7/pro2/user00/sg/symlinks2.txt)
5391    Thu Mar 15 12:12:44 2012    Searching files for regular expressions
5392    Thu Mar 15 12:12:44 2012    Done with UNIX agentless file system scan

I've no idea how the regex search is triggered, but my guess would be its 
executing some kind of grep switch that is not supported in this flavour of 
unix.

Thanks,
Stu

Original issue reported on code.google.com by stua...@yandex.com on 15 Mar 2012 at 3:49

GoogleCodeExporter commented 8 years ago
This is obviously the way around that I did it, sorry!

1. Inserted some card data
2. Ran a Unix Agentless scan against a HP-UX server

Original comment by stua...@yandex.com on 15 Mar 2012 at 3:50

GoogleCodeExporter commented 8 years ago
Hi Stu,

Can you attach those two files here? Also, can you take screenshots of your 
OpenDLP policy and regexes and post those here too? Thanks.

Original comment by andrew.O...@gmail.com on 2 Apr 2012 at 9:22