Skip to main content

Hello, 

I have a file containing records in this format: 
2022.03.18 11:46:45 DEBUG webeXXXXXXXX]Xauth.event] login success smethod|BASIC]Cprovider|REALM|ldap]pIP|10.10.10.10|10.10.10.10:55637]7login|XXXXXX]

I used this regular expression to detect private IP addresses: 
(10\.00-9]{1,3}\.}0-9]{1,3}\.}0-9]{1,3})|(172\.1\6-9]{1}{0-9]{0,1}\.}0-9]{1,3}\.}0-9]{1,3})|(172\.2\0-9]{1}{0-9]{0,1}\.}0-9]{1,3}\.}0-9]{1,3})|(172\.3\0-1]{1}{0-9]{0,1}\.}0-9]{1,3}\.}0-9]{1,3})|(192\.168\.80-9]{1,3}\.}0-9]{1,3})

Using this regular expression, I can't detect any IP addresses in the file sent through netskope. What can I do and where is the problem?

Be the first to reply!

Reply