From ad1de9896a7acd9f0770de033dd3dfdcb3c875ee Mon Sep 17 00:00:00 2001 From: Alberto Ortega Date: Sun, 7 Nov 2021 19:52:10 +0100 Subject: [PATCH] Minor cosmetic changes in console output --- pafish/common.c | 7 +++---- pafish/main.c | 10 ++++++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/pafish/common.c b/pafish/common.c index 3d2658c..67c0ca3 100644 --- a/pafish/common.c +++ b/pafish/common.c @@ -31,11 +31,9 @@ void print_header() { HANDLE handler = GetStdHandle(STD_OUTPUT_HANDLE); printf("* Pafish ("); SetConsoleTextAttribute(handler, 11); - printf("Paranoid fish"); + printf("Paranoid Fish"); SetConsoleTextAttribute(handler, FOREGROUND_INTENSITY); printf(") *\n\n"); - printf("Some anti(debugger/VM/sandbox) tricks\n"); - printf("used by malware for the general public.\n\n"); } void print_traced() { @@ -105,13 +103,14 @@ void exec_check(char * text, int (*callback)(), char * text_log, char * text_tra int check_result; int (*callback_writeslog)(int) = callback; + printf("[*] %s ... ", text); + /* Handle functions that write logs */ if (text_log) check_result = callback(); else check_result = callback_writeslog(TRUE); - printf("[*] %s ... ", text); if (check_result == TRUE) { /* Some checks write their own logs */ if (text_log) diff --git a/pafish/main.c b/pafish/main.c index e707e6e..62a022a 100644 --- a/pafish/main.c +++ b/pafish/main.c @@ -66,8 +66,8 @@ int main(void) cpu_write_hv_vendor(cpu_hv_vendor); cpu_write_brand(cpu_brand); - printf("[*] Windows version: %s\n", winverstr); - printf("[*] CPU: %s\n", cpu_vendor); + printf("[-] Windows version: %s\n", winverstr); + printf("[-] CPU: %s\n", cpu_vendor); if (strlen(cpu_hv_vendor)) printf(" Hypervisor: %s\n", cpu_hv_vendor); printf(" CPU brand: %s\n", cpu_brand); @@ -344,8 +344,10 @@ int main(void) "Cuckoo hooks information structure traced in the TLS", "hi_cuckoo"); - printf("\n\n"); - printf("[-] Feel free to RE me, check log file for more information."); + printf("\n"); + printf("[-] Pafish has finished analyzing the system, check the log file for more information\n"); + printf(" and visit the project's site:\n\n"); + printf(" https://github.com/a0rtega/pafish\n"); write_log("End"); #if ENABLE_DNS_TRACE