Skip to content

Commit

Permalink
Merge pull request #6 from obscuritylabs/development
Browse files Browse the repository at this point in the history
0.0.2
  • Loading branch information
killswitch-GUI committed Sep 13, 2019
2 parents ca99aef + 31bcf3a commit 56e4a30
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -11,7 +12,17 @@ PE File Blessing - A PE tainting tool
+ [Example Output](#example-output)

## Install PeFixup
### Installl from source
### 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
$ cd Pefixup
Expand All @@ -26,12 +37,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
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ coverage==4.5.4
pytest==5.1.2
coverage==4.5.4
pytest-cov==2.7.1
coveralls
virustotal-api==1.1.10
coveralls
6 changes: 3 additions & 3 deletions src/core/core_hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 56e4a30

Please sign in to comment.