mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-23 14:37:17 +00:00
Covering special cases (on pastebin)
There is no need for checking `()` in case of (e.g.) Litecoin and Dash as those are also additionally checked with Bitcoin address verifier
This commit is contained in:
parent
e3040f8e6d
commit
34bfc6a44a
1 changed files with 2 additions and 2 deletions
|
@ -147,13 +147,13 @@ cryptocurrency_dict = {
|
||||||
},
|
},
|
||||||
'monero': {
|
'monero': {
|
||||||
'name': 'monero', # e.g. 47JLdZWteNPFQPaGGNsqLBAU3qmTcWbRda4yJvaPTCB8JbY18MNrcmfCcxrfDF61Dm7pJc4bHbBW57URjwTWzTRH2RfsUB4
|
'name': 'monero', # e.g. 47JLdZWteNPFQPaGGNsqLBAU3qmTcWbRda4yJvaPTCB8JbY18MNrcmfCcxrfDF61Dm7pJc4bHbBW57URjwTWzTRH2RfsUB4
|
||||||
'regex': r'\b(?<![+/=])4[A-Za-z0-9]{94}(?![+/=])\b',
|
'regex': r'\b(?<![+/=()])4[A-Za-z0-9]{94}(?![+/=()])\b',
|
||||||
'max_execution_time': default_max_execution_time,
|
'max_execution_time': default_max_execution_time,
|
||||||
'tag': 'infoleak:automatic-detection="monero-address"',
|
'tag': 'infoleak:automatic-detection="monero-address"',
|
||||||
},
|
},
|
||||||
'zcash': {
|
'zcash': {
|
||||||
'name': 'zcash', # e.g. t1WvvNmFuKkUipcoEADNFvqamRrBec8rpUn
|
'name': 'zcash', # e.g. t1WvvNmFuKkUipcoEADNFvqamRrBec8rpUn
|
||||||
'regex': r'\b(?<![+/=])t[12][A-Za-z0-9]{33}(?![+/=])\b',
|
'regex': r'\b(?<![+/=()])t[12][A-Za-z0-9]{33}(?![+/=()])\b',
|
||||||
'max_execution_time': default_max_execution_time,
|
'max_execution_time': default_max_execution_time,
|
||||||
'tag': 'infoleak:automatic-detection="zcash-address"',
|
'tag': 'infoleak:automatic-detection="zcash-address"',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue