Skip to content

Commit 9fc558f

Browse files
committed
Add additional strings
1 parent 907617c commit 9fc558f

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Plugin/TrojanOrderPreventBillingAddress.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ class TrojanOrderPreventBillingAddress
3030
public $strings_to_find = [
3131
'gettemplate',
3232
'base64_',
33-
'afterfiltercall'
33+
'afterfiltercall',
34+
'.filter(',
35+
3436
];
3537

3638
/**

Plugin/TrojanOrderPreventShippingAddress.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ class TrojanOrderPreventShippingAddress
2929
public $strings_to_find = [
3030
'gettemplate',
3131
'base64_',
32-
'afterfiltercall'
32+
'afterfiltercall',
33+
'.filter(',
34+
3335
];
3436

3537
/**

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ saving of addresses with the following strings:
1515
gettemplate
1616
base64_
1717
afterfiltercall
18+
.filter(
19+
1820
```
1921
If these are detected in the payload then an Exception is thrown and the address is not saved.
2022

0 commit comments

Comments
 (0)