From a6492d31b53a092dbcb552c17a4d575ecfc6897f Mon Sep 17 00:00:00 2001 From: Logan Campos Date: Fri, 13 Sep 2019 16:25:47 +0000 Subject: [PATCH 1/6] correct typo --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6ceb192..59eed08 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ PE File Blessing - A PE tainting tool + [Example Output](#example-output) ## Install PeFixup -### Installl from source +### Install from source ```bash $ git clone https://github.com/obscuritylabs/PeFixup.git $ cd Pefixup @@ -26,12 +26,12 @@ $ pipenv install $ pipenv shell (PeFixup) bash-3.2$ ``` -### Installl from PYPI (Under Dev) +### Install from PYPI (Under Dev) ``` $ pip install --user pefixup $ pefixup -h ``` -### Installl from DockerHub +### Install from DockerHub ``` $ docker pull obscuritylabs/pefixup:latest $ docker pull obscuritylabs/pefixup:0.0.1 From d055f8c0b2b2b1b2b75d48741bfed47bd33819e6 Mon Sep 17 00:00:00 2001 From: Logan Campos Date: Fri, 13 Sep 2019 16:49:20 +0000 Subject: [PATCH 2/6] fix docstring descriptions --- src/core/core_hash.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/core_hash.py b/src/core/core_hash.py index cdc80ea..2e417e3 100644 --- a/src/core/core_hash.py +++ b/src/core/core_hash.py @@ -48,7 +48,7 @@ def get_digest_size(file_handle: IO[bytes]) -> int: return hashlib.md5(file_handle).digest_size class SHA1(Hashing): - """ SHA256 hashing""" + """ SHA1 hashing""" @staticmethod def get_hash_digest(file_handle: IO[bytes]) -> bytes: @@ -78,7 +78,7 @@ def get_digest_size(file_handle: IO[bytes]) -> int: return hashlib.sha256(file_handle).digest_size class SHA512(Hashing): - """ SHA256 hashing""" + """ SHA512 hashing""" @staticmethod def get_hash_digest(file_handle: IO[bytes]) -> bytes: @@ -93,7 +93,7 @@ def get_digest_size(file_handle: IO[bytes]) -> int: return hashlib.sha512(file_handle).digest_size class IMP(Hashing): - """ SHA256 hashing""" + """ IMP hashing""" @staticmethod def get_hash_digest(file_handle: str) -> bytes: From 2b064cad38f7fbbcf93ae433631c949a6a81f896 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=AD=95Alexander=20Rymdeko-Harvey?= <8761706+killswitch-GUI@users.noreply.github.com> Date: Fri, 13 Sep 2019 16:57:40 -0400 Subject: [PATCH 3/6] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 59eed08..3a3904c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Build Status](https://travis-ci.com/obscuritylabs/PeFixup.svg?branch=master)](https://travis-ci.com/obscuritylabs/PeFixup) # PeFixup PE File Blessing - A PE tainting tool - [PeFixup](#pefixup) From fc5020d6150c28e103b3692bb7b12d28216c9b3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=AD=95Alexander=20Rymdeko-Harvey?= <8761706+killswitch-GUI@users.noreply.github.com> Date: Fri, 13 Sep 2019 17:50:53 -0400 Subject: [PATCH 4/6] Update requirements.txt --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9af284c..3c23159 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,4 +6,5 @@ coverage==4.5.4 pytest==5.1.2 coverage==4.5.4 pytest-cov==2.7.1 -coveralls \ No newline at end of file +virustotal-api==1.1.10 +coveralls From 97b80a16f07eb69fce5f5b8a2a97cbc1f5676673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=AD=95Alexander=20Rymdeko-Harvey?= <8761706+killswitch-GUI@users.noreply.github.com> Date: Fri, 13 Sep 2019 17:52:06 -0400 Subject: [PATCH 5/6] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 3a3904c..8e80aa0 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,16 @@ PE File Blessing - A PE tainting tool + [Example Output](#example-output) ## Install PeFixup +### Required Packages +#### Ubuntu 18.04+ +```bash +apt-get update && \ + apt-get install -y --no-install-recommends \ + libffi-dev \ + libfuzzy-dev \ + ssdeep +``` + ### Install from source ```bash $ git clone https://github.com/obscuritylabs/PeFixup.git From 31bcf3ad55efa70739354a52bea0147a1a9ef8f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=AD=95Alexander=20Rymdeko-Harvey?= <8761706+killswitch-GUI@users.noreply.github.com> Date: Fri, 13 Sep 2019 17:52:27 -0400 Subject: [PATCH 6/6] Update README.md