Browse code

asn1: Logging changes

David Raynor authored on 2013/04/05 07:33:01
Showing 2 changed files
... ...
@@ -862,7 +862,7 @@ static int asn1_parse_mscat(fmap_t *map, size_t offset, unsigned int size, crtmg
862 862
 		    if(parent) {
863 863
                 if (parent->isBlacklisted) {
864 864
                     isBlacklisted = 1;
865
-                    cli_dbgmsg_internal("asn1_parse_mscat: Authenticode certificate %s is revoked. Flagging sample as virus.\n", (parent->name ? parent->name : "(no name)"));
865
+                    cli_dbgmsg("asn1_parse_mscat: Authenticode certificate %s is revoked. Flagging sample as virus.\n", (parent->name ? parent->name : "(no name)"));
866 866
                 }
867 867
 
868 868
 			x509->codeSign &= parent->codeSign;
... ...
@@ -2953,7 +2953,7 @@ int cli_checkfp_pe(cli_ctx *ctx, uint8_t *authsha1) {
2953 2953
 	char shatxt[SHA1_HASH_SIZE*2+1];
2954 2954
 	for(i=0; i<SHA1_HASH_SIZE; i++)
2955 2955
 	    sprintf(&shatxt[i*2], "%02x", authsha1[i]);
2956
-	cli_errmsg("Authenticode: %s\n", shatxt);
2956
+	cli_dbgmsg("Authenticode: %s\n", shatxt);
2957 2957
     }
2958 2958
 
2959 2959
     hlen = dirs[4].Size;