Skip to content

Commit

Permalink
[FEATURE] Set product version. Updated version to: 0.9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Nov 6, 2022
1 parent b5948cc commit 1ded0c5
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 11 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ set (hdrs
)

set (rsrc
version.h
mal_unpack.rc
mal_unpack_ver.h
mal_unpack_res.rc
)

# libs
Expand Down
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
#include <pe_sieve_return_codes.h>

#include "unpack_scanner.h"
#include "version.h"
#include "mal_unpack_ver.h"

#include "util/process_util.h"
#include "util/path_util.h"
#include "util/file_util.h"

#define WAIT_FOR_PROCESS_TIMEOUT 5000

#define VERSION VER_FILEVERSION_STR
#define VERSION MALUNP_VERSION_STR
#define LOG_FILE_NAME "unpack.log"

void print_log_hdr(std::wofstream &report, const time_t& session_timestamp, const t_params_struct& params)
Expand Down
9 changes: 6 additions & 3 deletions mal_unpack.rc → mal_unpack_res.rc
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
#include "version.h"
#include "mal_unpack_ver.h"
#include <windows.h>

#define VER_COMPANYNAME_STR "Hashereware (hashereware.com)"
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEOS VOS_NT_WINDOWS32
#define VER_FILEDESCRIPTION_STR "MalUnpack - a dynamic malware unpacker (https://github.com/hasherezade/mal_unpack)"
#define VER_FILEDESCRIPTION_STR "MalUnpack: dynamic malware unpacker based on PE-sieve."
#define VER_INTERNALNAME_STR "mal_unpack.exe"
#define VER_ORIGINALFILENAME_STR "mal_unpack.exe"
#define VER_LEGALCOPYRIGHT_STR "Copyright � 2018-2021 Hasherezade"
#define VER_LEGALCOPYRIGHT_STR "Copyright � 2018-2022 Hasherezade"
#define VER_PRODUCTNAME_STR "MalUnpack"
#define VER_PRODUCTVERSION_STR VER_FILEVERSION_STR
#define VER_FILEVERSION MALUNP_MAJOR_VERSION,MALUNP_MINOR_VERSION,MALUNP_MICRO_VERSION,MALUNP_PATCH_VERSION
#define VER_PRODUCTVERSION_STR MALUNP_VERSION_STR

#define VER_FILEFLAGSMASK (VS_FF_DEBUG | VS_FF_PRERELEASE)
#ifdef DEBUG
Expand Down
8 changes: 8 additions & 0 deletions mal_unpack_ver.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#pragma once

#define MALUNP_MAJOR_VERSION 0
#define MALUNP_MINOR_VERSION 9
#define MALUNP_MICRO_VERSION 6
#define MALUNP_PATCH_VERSION 0

#define MALUNP_VERSION_STR "0.9.6"
4 changes: 0 additions & 4 deletions version.h

This file was deleted.

0 comments on commit 1ded0c5

Please sign in to comment.