Skip to content
Snippets Groups Projects
Commit 6f7e8446 authored by rswindell's avatar rswindell
Browse files

Created smb_hashsource() to return text description of hash source type.

parent d9c71dda
Branches
Tags
No related merge requests found
......@@ -606,8 +606,7 @@ void dump_hashes(void)
break;
printf("\n");
printf("%-10s: %lu\n", "Number", hash.number);
printf("%-10s: %s\n", "Source",
hash.source==TEXT_BODY ? "TextBody" : smb_hfieldtype(hash.source));
printf("%-10s: %s\n", "Source", smb_hashsource(hash.source));
printf("%-10s: %s\n", "Time", my_timestr(&hash.time));
printf("%-10s: %x\n", "Flags", hash.flags);
if(hash.flags&SMB_HASH_CRC16)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment