Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | RE: Parsing data from an NBE file |
|---|---|
| Date: | Fri, 12 Nov 2004 14:39:43 -0600 |
Hrmm, check this out: test.txt: 172.23.3.5 172.23.3.46 172.23.30.5 172.23.31.32 $grep '172\.23\.3\.' test.txt 172.23.3.5 172.23.3.46
Well, I just tried: $stdout = shell_exec(" grep 172\.23\.3\. cr-svrs-27Oct04-1423.nbe > 172.23.3.0.nbe "); I'm still getting 172.23.30 in there... I want to only be able to get 172.23.3. Doesn't seem to be working as planned. |---------+----------------------------> | | SRH-Lists | | | <giermo@333tech.c| | | om> | | | | | | 11/12/2004 01:28 | | | PM | |---------+---------------------------->-----------------------------------------------------------------------------------------------------------------------------| | | | To: 'Christopher J Bidwell' <cbidwell@usgs.gov>, nessus@list.nessus.org | | cc: | | Subject: RE: Parsing data from an NBE file |-----------------------------------------------------------------------------------------------------------------------------| if you wanted, say, 172.23.31-33 you could use this regexp '172\.23\.3[1-3]'Hi all, Say I did a scan on several address spaces and I want to "grep" out only specific address space to another NBE file. The format I've been using is: grep 172.23.3 oldnbe.nbe > newnbe.nbe This obviously isn't very precise in that I'm going to get 172.23.3, 172.23.30-39, etc. How can I make my greps more precise when doing this? Thanks, Chris _______________________________________________ Nessus mailing list Nessus@list.nessus.org http://mail.nessus.org/mailman/listinfo/nessus
_______________________________________________ Nessus mailing list Nessus@list.nessus.org http://mail.nessus.org/mailman/listinfo/nessus
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Is it a nessusd bug?, rocky |
|---|---|
| Next by Date: | Re: Nessus 2.2.0 - Hanging on down hosts, George Theall |
| Previous by Thread: | RE: Parsing data from an NBE file, Christopher J Bidwell |
| Next by Thread: | RE: Parsing data from an NBE file, Christopher J Bidwell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |