mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-02-12 16:12:44 +00:00
fix not updating country filter on update
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
@@ -130,6 +130,9 @@ func (s *AllowDeny) Update(
|
||||
if v, err := incoming.JA4Fingerprints.Get(); err == nil {
|
||||
current.JA4Fingerprints.Set(v)
|
||||
}
|
||||
if v, err := incoming.CountryCodes.Get(); err == nil {
|
||||
current.CountryCodes.Set(v)
|
||||
}
|
||||
// allow can not be changed as it could mess up a campaign that
|
||||
// uses multiple entries as all entries must be allow or deny.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user