Skip to content

Commit

Permalink
Merge pull request #537 from LDO-CERT/master
Browse files Browse the repository at this point in the history
fix some typos
  • Loading branch information
3c7 authored Dec 17, 2019
2 parents 6f97884 + 6070c97 commit 087a5ea
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Empty file modified analyzers/CuckooSandbox/cuckoosandbox_analyzer.py
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion analyzers/CyberCrime-Tracker/cct.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def run(self):
'results': results
})
except Exception:
self.error('An error occured while scraping cybercrime-tracker.')
self.error('An error occurred while scraping cybercrime-tracker.')


if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion analyzers/FileInfo/submodules/submodule_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def check_file(self, **kwargs):
method.
If this returns true, the analyze_file() function gets called.
:param file: used for checking compatiblity for a file directly.
:param file: used for checking compatibility for a file directly.
:type file: str
:param filetype: used for checking compatibility for a file using the filetype string of pyexiftool.fileType().
:type filetype: str
Expand Down
2 changes: 1 addition & 1 deletion analyzers/FireHOLBlocklists/firehol_blocklists.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def _check_ip(self, ip):
'file_date': file_date.get(netsetname)})
break
except ValueError as e:
self.error('ValueError occured. Used values: ipnetwork {}, ip to check {}, file {}.'
self.error('ValueError occurred. Used values: ipnetwork {}, ip to check {}, file {}.'
'Error message: {}'.format(l, ip, netset, e))

return hits
Expand Down
4 changes: 2 additions & 2 deletions analyzers/Onyphe/onyphe_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self, key: str):
self._session = requests.Session()

def _request(self, path: str, query_params: dict={}):
"""Specialized wrapper arround the requests module to request data from Onyphe
"""Specialized wrapper around the requests module to request data from Onyphe
:param path: The URL path after the onyphe FQDN
:type path: str
:param query_params: The dictionnary of query parameters that gets appended to the URL
Expand All @@ -43,7 +43,7 @@ def _request(self, path: str, query_params: dict={}):
return response_data

def _request_without_api(self, path: str, query_params: dict={}):
"""Specialized wrapper arround the requests module to request data from Onyphe without the api_key(geolocate and myip)
"""Specialized wrapper around the requests module to request data from Onyphe without the api_key(geolocate and myip)
:param path: The URL path after the onyphe FQDN
:type path: str
:param query_params: The dictionnary of query parameters that gets appended to the URL
Expand Down

0 comments on commit 087a5ea

Please sign in to comment.