Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix some typo #537

Merged
merged 8 commits into from
Dec 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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