Take the State of DFIR Survey Caseloads, AI, tools and careers. 8 minutes, anonymous, early access to the report. Take the survey ›

Take the survey

Take the State of DFIR Survey

Caseloads, AI, tools and careers. 8 minutes, anonymous, early access to the report.

Take the survey →
GREP search for an ...
 
Notifications
Clear all

GREP search for an IP address

3 Posts
3 Users
0 Reactions
2,244 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: 18 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

Enterprise Partners

  • semantics21 2026 FF logo
  • atola-logo
  • celebrite-logo
  • MagnetForensics_ForensicFocus

Partners

  • Logo_MSAB_Black (2)
  • logo Belkasoft 135x100
  • detego-logo
  • ADF
  • Aid4Mail-Logo
  • gmdsoft-logo

Academic Partners

  • University of Southampton logo 2
Share: