amira
Advanced tools
| Metadata-Version: 2.1 | ||
| Name: amira | ||
| Version: 1.1.3 | ||
| Version: 1.1.4 | ||
| Summary: Automated Malware Incident Response and Analysis | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/Yelp/amira |
| # -*- coding: utf-8 -*- | ||
| from __future__ import absolute_import | ||
| from __future__ import unicode_literals | ||
| __version__ = '1.1.3' | ||
| __version__ = '1.1.4' |
+11
-9
@@ -10,8 +10,10 @@ # -*- coding: utf-8 -*- | ||
| try: | ||
| from cStringIO import StringIO as byte_buffer | ||
| from cStringIO import StringIO as ByteBuffer | ||
| from cStringIO import StringIO as StringBuffer | ||
| except ImportError: | ||
| from io import BytesIO as byte_buffer | ||
| from io import BytesIO as ByteBuffer | ||
| from io import StringIO as StringBuffer | ||
| from osxcollector.output_filters.analyze import AnalyzeFilter | ||
| from osxcollector.output_filters.base_filters.output_filter import _run_filter | ||
| from osxcollector.output_filters.base_filters import output_filter | ||
@@ -118,3 +120,3 @@ from amira.results_uploader import FileMetaInfo | ||
| # create a file-like object based on the S3 object contents as string | ||
| fileobj = byte_buffer(self._osxcollector_output) | ||
| fileobj = ByteBuffer(self._osxcollector_output) | ||
| tar = tarfile.open(mode='r:gz', fileobj=fileobj) | ||
@@ -139,5 +141,5 @@ json_tarinfo = [t for t in tar if t.name.endswith('.json')] | ||
| """ | ||
| self._analysis_output = byte_buffer() | ||
| self._text_analysis_summary = byte_buffer() | ||
| self._html_analysis_summary = byte_buffer() | ||
| self._analysis_output = StringBuffer() | ||
| self._text_analysis_summary = ByteBuffer() | ||
| self._html_analysis_summary = ByteBuffer() | ||
@@ -150,3 +152,3 @@ analyze_filter = AnalyzeFilter( | ||
| _run_filter( | ||
| output_filter._run_filter( | ||
| analyze_filter, | ||
@@ -186,3 +188,3 @@ input_stream=self._osxcollector_output_json_file, | ||
| osxcollector_output_filename, | ||
| byte_buffer(self._osxcollector_output), 'application/gzip', | ||
| ByteBuffer(self._osxcollector_output), 'application/gzip', | ||
| ), | ||
@@ -189,0 +191,0 @@ FileMetaInfo( |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: amira | ||
| Version: 1.1.3 | ||
| Version: 1.1.4 | ||
| Summary: Automated Malware Incident Response and Analysis | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/Yelp/amira |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
36577
0.25%422
0.48%