'; if (isset($_GET['uid'])){ if (!preg_match("/^([a-fA-F0-9]){40}$/",$_GET['uid'])){ header("Location:report.php?uid=".sha1(trim($_GET['uid']))); exit; } $db_conn = dbconn(); $sql = 'select "SampleName", "DateTimeCatched", (mis.sha1_by_samplesid("SampleId")) as "Sha1", mis.verdict_by_samplesid("SampleId") as "Verdict" from radar where "SubmitterEmail" = (select "Email" from mis.email_users where email_hash =\''. $_GET['uid'] .'\' limit 1)'; $result = odbc_exec($db_conn, $sql); print '
FileName
SHA1
Submitted On
Responded On
Report
Submitted For
(MalwareChecking / FP Checking)
Current Comodo Verdict
(safe/malware/NA=unknown)
'; while(odbc_fetch_row($result)){ print '
'.odbc_result($result,"SampleName").'
'.odbc_result($result,"Sha1").'
'.odbc_result($result,"DateTimeCatched").'
'.odbc_result($result,"Verdict").'
'; } print '
'; } else { print "No input file specified."; } print '