misp-modules/misp_modules/modules/expansion
x41\x43 0436118747
Improving regex (validating e-mail)
Line 48:
The previous regex ` ^[\w\.\+\-]+\@[\w]+\.[a-z]{2,3}$ ` matched only a small subset of valid e-mail address (e.g.: didn't match domain names longer than 3 chars or user@this-domain.de or user@multiple.level.dom) and needed to be with start (^) and end ($).
This ` [a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])? ` is not perfect (e.g: can't match oriental chars), but imho is much more complete. 

Regex tested with several e-mail addresses with Python 3.6.4 and Python 2.7.14 on Linux 4.14.
2018-03-06 18:12:36 +01:00
..
_dnsdb_query fixes missing init file in dnsdb library folder 2017-12-06 09:23:44 +01:00
_vmray Multiple clanges in the vmray modules. 2016-11-15 16:43:11 +01:00
__init__.py Added Yara syntax validation expansion module 2018-02-12 19:11:54 +00:00
asn_history.py Make sure misp-modules can be launched from anywhere 2016-06-23 19:51:13 +09:00
circl_passivedns.py Make sure misp-modules can be launched from anywhere 2016-06-23 19:51:13 +09:00
circl_passivessl.py Make sure misp-modules can be launched from anywhere 2016-06-23 19:51:13 +09:00
countrycode.py CountryCode JSON now is only grabbed once per server run 2016-08-17 09:51:16 +01:00
crowdstrike_falcon.py added CrowdStrike Falcon Intel Indicators expansion module 2018-01-19 14:42:25 +01:00
cve.py fix: #137 when a CVE is not found, a return message is given 2017-10-21 19:52:19 +02:00
dns.py Update to the DNS module to support domain|ip 2016-08-10 17:11:46 +02:00
domaintools.py Better error reporting 2016-12-16 12:02:28 +01:00
eupi.py Fix typo 2016-09-15 15:32:13 +02:00
farsight_passivedns.py fix farsight_passivedns - rdata 404 not found 2018-01-16 15:13:17 +01:00
geoip_country.cfg added empty line to end of config file 2016-12-07 17:28:16 +01:00
geoip_country.py Do not crash if the dat file is not available 2016-12-16 15:22:16 +01:00
intelmq_eventdb.py.experimental Make sure misp-modules can be launched from anywhere 2016-06-23 19:51:13 +09:00
ipasn.py Make sure misp-modules can be launched from anywhere 2016-06-23 19:51:13 +09:00
iprep.py bug fixes, tweaks, and python3 learning curve :) 2017-03-04 03:10:45 +01:00
otx.py Improving regex (validating e-mail) 2018-03-06 18:12:36 +01:00
passivetotal.py Make sure misp-modules can be launched from anywhere 2016-06-23 19:51:13 +09:00
rbl.py chg: Modified output format 2018-01-16 19:46:52 +01:00
reversedns.py added new module reversedns.py, added reversedns to __init__.py 2016-09-22 11:42:52 +02:00
shodan.py Dump host info as text 2016-09-15 15:59:08 +02:00
sourcecache.py Make sure misp-modules can be launched from anywhere 2016-06-23 19:51:13 +09:00
threatcrowd.py Add AlienVault OTX and ThreatCrowd Expansions 2017-07-11 18:16:45 +01:00
threatminer.py fix: Use the proper formatting method and not the horrible % one 2017-03-08 16:35:03 +00:00
virustotal.py Quick fix to the invalid hash types offered on all returned hashes, hopefully fixes #162 2018-02-20 14:08:14 +01:00
vmray_submit.py Submit malware samples 2016-11-18 18:23:52 +01:00
vulndb.py minor touch-ups on error messages for user friendliness 2017-11-16 23:04:41 -07:00
whois.py Remove bin script, use cleaner way. Fix last commit. 2016-08-12 12:35:33 +02:00
wiki.py label replaced by text, which is existing attribute 2016-10-11 14:48:59 +02:00
xforceexchange.py passed local run check 2017-02-01 14:05:29 +01:00
yara_syntax_validator.py Added Yara syntax validation expansion module 2018-02-12 19:11:54 +00:00