GREP search for an ...
 
Notifications
Clear all

GREP search for an IP address

3 Posts
3 Users
0 Reactions
2,073 Views
(@csusama008)
Eminent Member
Joined: 18 years ago
Posts: 22
Topic starter   [#3515]

Can anyone help me in regards to writing a GREP expression for IP addresses? I am trying to find all IP addresses located on a suspect's system. Thanks in advance.



   
Quote
CdtDelta
(@cdtdelta)
Estimable Member
Joined: 17 years ago
Posts: 134
 

For EnCase GREP? Sure

##?#?\.##?#?\.##?#?\.##?#?[^#\.]

(I have enough copies of that in all of my EnCase training manuals. )

Tom



   
ReplyQuote
(@infern0)
Trusted Member
Joined: 18 years ago
Posts: 54
 

Here you go…a little more strict

[^#\.]
(2(5[0-5])|([0-4][0-9]))|([01]?[0-9]?[0-9])\.
(2(5[0-5])|([0-4][0-9]))|([01]?[0-9]?[0-9])\.
(2(5[0-5])|([0-4][0-9]))|([01]?[0-9]?[0-9])\.
(2(5[0-5])|([0-4][0-9]))|([01]?[0-9]?[0-9])
[^#\.]



   
ReplyQuote
Share: