Skip to content

Commit

Permalink
Merge pull request #58 from alexandreborges/dev
Browse files Browse the repository at this point in the history
Sync version 6.0.1 to `master`
  • Loading branch information
alexandreborges authored Nov 12, 2024
2 parents d87ff84 + d3c18d7 commit d9f40d4
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Malwoverview

[<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/alexandreborges/malwoverview?color=red&style=for-the-badge">](https://github.com/alexandreborges/malwoverview/releases/tag/6.0.0) [<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/alexandreborges/malwoverview?color=Yellow&style=for-the-badge">](https://github.com/alexandreborges/malwoverview/releases) [<img alt="GitHub Release Date" src="https://img.shields.io/github/release-date/alexandreborges/malwoverview?label=Release%20Date&style=for-the-badge">](https://github.com/alexandreborges/malwoverview/releases) [<img alt="GitHub" src="https://img.shields.io/github/license/alexandreborges/malwoverview?style=for-the-badge">](https://github.com/alexandreborges/malwoverview/blob/master/LICENSE)
[<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/alexandreborges/malwoverview?color=red&style=for-the-badge">](https://github.com/alexandreborges/malwoverview/releases/tag/v6.0.1) [<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/alexandreborges/malwoverview?color=Yellow&style=for-the-badge">](https://github.com/alexandreborges/malwoverview/releases) [<img alt="GitHub Release Date" src="https://img.shields.io/github/release-date/alexandreborges/malwoverview?label=Release%20Date&style=for-the-badge">](https://github.com/alexandreborges/malwoverview/releases) [<img alt="GitHub" src="https://img.shields.io/github/license/alexandreborges/malwoverview?style=for-the-badge">](https://github.com/alexandreborges/malwoverview/blob/master/LICENSE)
[<img alt="GitHub stars" src="https://img.shields.io/github/stars/alexandreborges/malwoverview?logoColor=Red&style=for-the-badge">](https://github.com/alexandreborges/malwoverview/stargazers)
[<img alt="Twitter Follow" src="https://img.shields.io/twitter/follow/ale_sp_brazil?style=for-the-badge&logo=X&color=blueviolet">](https://twitter.com/ale_sp_brazil)
[<img alt="Downloads/Last Month" src="https://img.shields.io/pypi/dm/malwoverview?color=blue&style=for-the-badge&label=Last%20Month">](https://pypistats.org/packages/malwoverview)
Expand Down Expand Up @@ -71,7 +71,7 @@
See GNU Public License on <http://www.gnu.org/licenses/>.


## Current Version: 6.0.0
## Current Version: 6.0.1

Important note: Malwoverview does NOT submit samples to any endpoint by default,
so it respects possible Non-Disclosure Agreements (NDAs). There're specific options
Expand Down Expand Up @@ -442,6 +442,12 @@ should be executed:

## HISTORY

Version 6.0.1:

This version:

* Issue in Malshare's download option has been fixed..

Version 6.0.0:

This version:
Expand Down
6 changes: 3 additions & 3 deletions malwoverview/malwoverview.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# Christian Clauss (https://github.com/cclauss)
# Artur Marzano (https://github.com/Macmod)

# Malwoverview.py: version 6.0.0
# Malwoverview.py: version 6.0.1

import os
import argparse
Expand Down Expand Up @@ -52,7 +52,7 @@
__author__ = "Alexandre Borges"
__copyright__ = "Copyright 2018-2024, Alexandre Borges"
__license__ = "GNU General Public License v3.0"
__version__ = "6.0.0"
__version__ = "6.0.1"
__email__ = "reverseexploit at proton.me"

def finish_hook(signum, frame):
Expand All @@ -73,7 +73,7 @@ def main():
USER_HOME_DIR = str(Path.home()) + '/'
cv.windows = 0

parser = argparse.ArgumentParser(prog=None, description="Malwoverview is a first response tool for threat hunting written by Alexandre Borges. This version is 6.0.0", usage="python malwoverview.py -c <API configuration file> -d <directory> -o <0|1> -v <1-13> -V <virustotal arg> -a <1-15> -w <0|1> -A <filename> -l <1-7> -L <hash> -j <1-7> -J <URLhaus argument> -p <1-8> -P <polyswarm argument> -y <1-5> -Y <file name> -n <1-5> -N <argument> -m <1-8> -M <argument> -b <1-10> -B <arg> -x <1-7> -X <arg> -i <1-13> -I <INQUEST argument>")
parser = argparse.ArgumentParser(prog=None, description="Malwoverview is a first response tool for threat hunting written by Alexandre Borges. This version is 6.0.1", usage="python malwoverview.py -c <API configuration file> -d <directory> -o <0|1> -v <1-13> -V <virustotal arg> -a <1-15> -w <0|1> -A <filename> -l <1-7> -L <hash> -j <1-7> -J <URLhaus argument> -p <1-8> -P <polyswarm argument> -y <1-5> -Y <file name> -n <1-5> -N <argument> -m <1-8> -M <argument> -b <1-10> -B <arg> -x <1-7> -X <arg> -i <1-13> -I <INQUEST argument>")
parser.add_argument('-c', '--config', dest='config', type=str, metavar="CONFIG FILE", default=(USER_HOME_DIR + '.malwapi.conf'), help='Use a custom config file to specify API\'s.')
parser.add_argument('-d', '--directory', dest='direct', type=str, default='', metavar="DIRECTORY", help='Specifies the directory containing malware samples to be checked against VIRUS TOTAL. Use the option -D to decide whether you are being using a public VT API or a Premium VT API.')
parser.add_argument('-o', '--background', dest='backg', type=int, default=1, metavar="BACKGROUND", help='Adapts the output colors to a light background color terminal. The default is dark background color terminal.')
Expand Down
10 changes: 5 additions & 5 deletions malwoverview/modules/malshare.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ def malsharedown(self, filehash):
print((mycolors.foreground.red + "\nSample not found by the provided hash.\n"))
print(mycolors.reset)
exit(1)
else:
open(resource, 'wb').write(malresponse3.content)

open(resource, 'wb').write(malresponse3.content)

print("\n")
print((mycolors.reset + "MALWARE SAMPLE SAVED! "))
printr()
print("\n")
print((mycolors.reset + "MALWARE SAMPLE SAVED! "))
printr()
except (BrokenPipeError, IOError):
print(mycolors.reset, file=sys.stderr)
exit(2)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name="malwoverview",
version="6.0.0",
version="6.0.1",
author="Alexandre Borges",
author_email="[email protected]",
license="GNU GPL v3.0",
Expand Down

0 comments on commit d9f40d4

Please sign in to comment.