Displaying page
of
pages;
Items to
Title |
Test
Details
IP address in application configuration files
|
Expression |
[\\""=/>](25[0-4]|2[0-4][0-9]|1\d{2}|\d{2})\.((25[0-4]|2[0-4][0-9]|1\d{2}|\d{1,2})\.){2}(25[0-4]|2[0-4][0-9]|1\d{2}|\d{2}|[1-9])\b[\\""=:;,/<]
|
Description |
This expression is ideal used for "identifying some plain application configuration files that contain any form of ip addresses, with or without port number followed and with protocol at the beginning".
[\\""=/] can be removed on both ends to seach IPs in text files, but with it, it has better accuracy - there are version numbers in the application configuration files.
It also does not match IPs that have one digit at the first number.
|
Matches |
/172.21.134.89: /127.0.0.1: "14.14.14.14"
|
Non-Matches |
"255.255.255.255" "243.243.2.0" "2.222.222.222" /2224.2224.2224.2224:
|
Author |
Rating:
Not yet rated.
BH
|
Title |
Test
Details
IP addresses not 127.0.0.1
|
Expression |
\b(1(?!27\.0\.0\.1)\d{1,2}|2[0-4][0-9]|25[0-4]|\d{1,2})\.(?:\d{1,3}\.){2}(25[0-5]|2[0-4][0-9]|1\d{2}|\d{2}|[1-9])\b
|
Description |
Match all IP addresses other than 127.0.0.1. It dose not match an IP has 0 at the last number
|
Matches |
172.21.134.89 127.1.1.1 7.0.0.1 214.214.214.214
|
Non-Matches |
127.0.0.1 192.168.1.0 255.255.255.255
|
Author |
Rating:
Not yet rated.
BH
|
Title |
Test
Details
Connection string sql database/instance reference in application configuration files
|
Expression |
[\\""=:;,](([\w][\w\-\.]*)\.)?([\w][\w\-]+)(\.([\w][\w\.]*))?\\sql\d{1,3}[\\""=:;,]
|
Description |
This expression is ideal used for "identifying some plain application configuration files that contain any form of MSSQL database/instance reference in connection string". Dose not match .\sql. [\\""=/] can be removed on both ends to seach server/instance in text files, but with it, it has better accuracy
|
Matches |
=abc\sql022, =abc.e.f.g\sql078, =192.168.1.1\sql001, =234\sql003,
|
Non-Matches |
sql .\sql003
|
Author |
Rating:
Not yet rated.
BH
|
Displaying page
of
pages;
Items to