diff --git a/trunk/report_templates/NTUSER_RecentDocs.qs b/trunk/report_templates/NTUSER_RecentDocs.qs index 02c8223..c4359a5 100644 --- a/trunk/report_templates/NTUSER_RecentDocs.qs +++ b/trunk/report_templates/NTUSER_RecentDocs.qs @@ -1,37 +1,36 @@ function IsValid(val) { if(typeof val !== 'undefined') return true; else return false; } println(""); println(" Recent Documents"); println(" "); println("

Recent documents

"); // Get list of recent docs var recent_docs=GetRegistryKeyValue("\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RecentDocs","MRUListEx"); if(IsValid(recent_docs)) { println("

"); println(" "); - println(" "); + println(" "); // Iterate over all recent docs var i=0; var runlist=RegistryKeyValueToVariant(recent_docs.value,"uint32",i); while(Number(runlist)!=0xffffffff) { var entry=GetRegistryKeyValue("\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RecentDocs",runlist.toString(10)); - var mod_time=GetRegistryKeyModTime("\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RecentDocs",runlist.toString(10)); - println(" "); + println(" "); i+=4; runlist=RegistryKeyValueToVariant(recent_docs.value,"uint32",i); } println("
Document  Last modified
Document
",RegistryKeyValueToVariant(entry.value,"utf16",0),"  ",mod_time,"
",RegistryKeyValueToVariant(entry.value,"utf16",0),"
"); println("

"); } else { println("

"); println(" This registry hive does not contain a list of recent documents!"); println("

"); } println(""); diff --git a/trunk/report_templates/NTUSER_TypedUrls.qs b/trunk/report_templates/NTUSER_TypedUrls.qs index ec0d2b3..a94144d 100644 --- a/trunk/report_templates/NTUSER_TypedUrls.qs +++ b/trunk/report_templates/NTUSER_TypedUrls.qs @@ -1,32 +1,31 @@ function IsValid(val) { if(typeof val !== 'undefined') return true; else return false; } println(""); println(" Typed Urls"); println(" "); println("

Typed urls

"); // Iterate over all typed urls var typed_urls=GetRegistryKeys("\\Software\\Microsoft\\Internet Explorer\\TypedURLs"); if(IsValid(typed_urls)) { println("

"); println(" "); - println(" "); + println(" "); for(var i=0;i"); + println(" "); } println("
Url  Last modified
Url
",RegistryKeyValueToString(val.value,val.type),"  ",mod_time,"
",RegistryKeyValueToString(val.value,val.type),"
"); println("

"); } else { println("

"); println(" This registry hive does not contain a list of typed urls!"); println("

"); } println("");