Skip to content

Commit

Permalink
[FEATURE] Removed used_params from the report
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Nov 9, 2023
1 parent 2d8a6fb commit 3cb6842
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion include/pe_sieve_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ namespace pesieve {
bool is_managed; ///< is process managed (.NET)
bool is_64bit; ///< is process 64 bit
bool is_reflection; ///< was the scan performed on process reflection
t_params *used_params; ///< parameters used for the scan
DWORD scanned; ///< number of all scanned modules
DWORD suspicious; ///< general summary of suspicious
DWORD replaced; ///< PE file replaced in memory (probably hollowed)
Expand Down
5 changes: 0 additions & 5 deletions scanners/scan_report.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ pesieve::t_report pesieve::ProcessScanReport::generateSummary() const
summary.is_64bit = this->is64bit;
summary.is_managed = this->isManaged;
summary.is_reflection = this->isReflection;
summary.used_params = this->usedParams;
summary.errors = static_cast<DWORD>(this->errorsCount);
summary.skipped = static_cast<DWORD>(this->reportsByType[REPORT_SKIPPED_SCAN].size());
summary.scanned = static_cast<DWORD>(this->reportsByType[REPORT_HEADERS_SCAN].size());
Expand Down Expand Up @@ -231,10 +230,6 @@ const bool pesieve::ProcessScanReport::toJSON(
stream << escape_path_separators(this->mainImagePath) << "\",\n";
OUT_PADDED(stream, level, "\"used_reflection\" : ");
stream << std::dec << report.is_reflection << ",\n";
if (report.used_params) {
params_to_JSON(*report.used_params, stream, level);
stream << ",\n";
}
OUT_PADDED(stream, level, "\"scanned\" : \n");
OUT_PADDED(stream, level, "{\n");
//stream << " {\n";
Expand Down

0 comments on commit 3cb6842

Please sign in to comment.