Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas Capricelli
botfreak
Commits
d18be5a41730
Commit
99378041
authored
Dec 14, 2021
by
Thomas Capricelli
Browse files
erm..
parent
f25575ceacda
Changes
1
Hide whitespace changes
Inline
Side-by-side
main/management/commands/import_from_honeydb.py
View file @
d18be5a4
...
...
@@ -55,7 +55,7 @@ class Command(BaseCommand):
# {'remote_host': '191.101.17.115', 'count': '1835683', 'last_seen': '2021-12-12'}
for
report
in
as_json
:
ip
=
report
[
'remote_host'
]
#
self.addoneip(ip)
self
.
addoneip
(
ip
)
def
addoneip
(
self
,
ip
):
if
IPWhiteList
.
check_against
(
ip_address
(
ip
)):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment