crash.software
Projects
Pull Requests
Issues
Builds
opencti
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
opencti
Files
🤬
Sign In
0fb15536
ROOT
/
opencti-platform
/
opencti-graphql
/
src
/
python
/
lib
/
snortparser.py
Search
History
569 lines
|
ISO-8859-1
|
17 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
collections
ipaddress
re
Any
Dict
List
Optional
Tuple
Dicts
Dicts
Parser
dicts
rule
header
options
data
all
__init__
(self,rule)
__iter__
(self)
__getitem__
(self,key)
actions
(action:str)
proto
(proto:str)
__ip_to_tuple
(ip:str)
__form_ip_list
(self,ip_list:str)
__flatten_ip
(self,ip)
__validate_ip
(self,ips)
ip
(self,ip)
port
(port)
destination
(dst)
get_header
(self)
remove_leading_spaces
(string:str)
get_options
(self)
parse_header
(self)
parse_options
(self,rule=None)
validate_options
(self,options)
Sanitizer
methods
__init__
(self)
sanitize
(self,parsed)
pcre
(value:list)
depth
(options)
SerializeRule
rule
__init__
(self,rule)
__getitem__
(self,key)
__str__
(self)
__list_serializer
(self,list_bool:bool,items:List)
serialize_header_item
(self,item:Any)
serialize_header
(self,header:Dict=None)
serialize_options
(self,options:Dict=None)
serialize_rule
(self)
All occurrences
Please wait...
Page is in error, reload to recover