mirror of https://github.com/MISP/mail_to_misp
treat 'forward_identifiers' and 'stopword' variable as strings
parent
26d3384de4
commit
adfd26ce2b
|
@ -31,7 +31,7 @@ noidsflaglist = ( 'myexternalip.com', 'ipinfo.io', 'icanhazip.com', 'wtfismyip
|
|||
)
|
||||
|
||||
# Stop parsing when this term is found
|
||||
stopword = b'Whois & IP Information'
|
||||
stopword = 'Whois & IP Information'
|
||||
|
||||
# Ignore lines in body of message containing:
|
||||
ignorelist = ( ".*From: .*\n?", ".*Sender: .*\n?", ".*Received: .*\n?", ".*Sender IP: .*\n?",
|
||||
|
@ -59,7 +59,7 @@ dependingtags = { 'tlp:white': [ 'circl:osint-feed' ]
|
|||
}
|
||||
|
||||
# Known identifiers for forwarded messages
|
||||
forward_identifiers = { b'-------- Forwarded Message --------', b'Begin forwarded message:' }
|
||||
forward_identifiers = { '-------- Forwarded Message --------', 'Begin forwarded message:' }
|
||||
|
||||
# Tags to add when hashes are found (e.g. to do automatic expansion)
|
||||
hash_only_tags = { 'TODO:VT-ENRICHMENT' }
|
||||
|
|
Loading…
Reference in New Issue