Regular Expressions 101

Sponsors

Library entries

1
python

postgresql

no description available
Submitted by anonymous - 7 years ago
2
python

postgesql

no description available
Submitted by anonymous - 7 years ago
1
pcre

PTK:DateOfIssuance

no description available
Submitted by anonymous - 7 years ago
1
pcre

Find Single Instance

no description available
Submitted by anonymous - 7 years ago
1
python

Help

no description available
Submitted by anonymous - 7 years ago
0
python

barcode or barcode list

no description available
Submitted by anonymous - 7 years ago
1
pcre

sdf

f
Submitted by f - 7 years ago
1
pcre

Timestamp from json

no description available
Submitted by Thomas Khalil - 7 years ago
0
pcre

parse velocity variables

no description available
Submitted by anonymous - 7 years ago
1
javascript

date regex

match dd-mm-yyyy
Submitted by anonymous - 7 years ago

suricata OSSIM regex-1

Vote

2

Regular Expression
python

"
^(?P<date>\S+\s+\d\s\d\d:\d\d:\d\d) (?P<hostname>\S+) suricata\[(?P<pid>\d+)\]: \[(?P<sid>\d+:\d+:\d+)\] (?P<msg>.+) \[Classification:(?P<classification>.+)\] \[Priority:(?P<priority> \d+)\] \{(?P<proto>.+)\} (?P<src_ip>[\d.]{7,15}):(?P<src_port>\d+) -> (?P<dst_ip>[\d.]{7,15}):(?P<dst_port>\d+)$
"

Description

Loading markdown...
Submitted by anonymous - 8 years ago