sample_id stringlengths 32 32 | repository_id stringclasses 668
values | revision stringclasses 668
values | license stringclasses 7
values | relative_path stringlengths 5 165 | project stringlengths 10 152 ⌀ | is_test bool 2
classes | source_sha256 stringlengths 64 64 | caret_utf16_offset int32 0 741k | caret_line_zero_based int32 0 13.9k | caret_column_utf16_zero_based int32 0 232 | caret_byte_offset int64 0 741k | target_end_utf16_offset int32 4 741k | target_end_byte_offset int64 4 741k | line_start_utf16_offset int32 0 741k | line_end_utf16_offset int32 4 741k | caret_kind stringclasses 11
values | caret_subkind stringclasses 259
values | tags listlengths 0 6 | left_context_start_utf16_offset int32 0 735k | left_context_truncated bool 2
classes | left_context stringlengths 0 6k | target_text stringlengths 1 200 | right_context stringlengths 0 1k | right_context_end_utf16_offset int32 19 742k | right_context_truncated bool 2
classes | end_of_line stringclasses 4
values | indentation stringclasses 190
values | quality_flags listlengths 0 4 | split_group stringclasses 668
values | semantic_status stringclasses 3
values | semantic_reason stringclasses 2
values | config_version stringclasses 1
value | generator stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
54c7505073fb14b6a6250d07179e4699 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 50 | 2 | 17 | 53 | 55 | 58 | 33 | 55 | member_access | qualified_name | [
"using_directive"
] | 0 | false | using System;
using System.IO;
using System.Xml. | Linq; |
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespace AssemblyHunter
{
class Program
{
... | 1,055 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
fb2dd3789bdd9b43d31f418f0edf8f3e | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 57 | 3 | 0 | 60 | 74 | 77 | 57 | 74 | line_start | using_directive | [
"using_directive"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
| using System.Xml; |
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespace AssemblyHunter
{
class Program
{
static void Main(st... | 1,074 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
f8d28687f5e4af71613db3270477696e | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 141 | 6 | 13 | 144 | 161 | 164 | 128 | 161 | member_access | qualified_name | [
"using_directive"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System. | Collections.Generic; |
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespace AssemblyHunter
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1)
{
... | 1,161 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
5ecc7d67bd5a20bfc2023cacd984fdc0 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 176 | 7 | 13 | 179 | 200 | 203 | 163 | 200 | member_access | qualified_name | [
"using_directive"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System. | Runtime.InteropServices; |
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespace AssemblyHunter
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1)
{
Usage();
return;
... | 1,200 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
3fa4aeb9bed26b533266397fa605f553 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 232 | 9 | 0 | 235 | 284 | 287 | 232 | 284 | line_start | using_directive | [
"using_directive"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
| using System.Security.Cryptography.X509Certificates; |
using Microsoft.Win32;
namespace AssemblyHunter
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1)
{
Usage();
return;
}
if(args[0].ToLower() == "help")
{
... | 1,284 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
3a3fa552bb571f3fa9aa1eaeeb9dc6f6 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 270 | 9 | 38 | 273 | 284 | 287 | 232 | 284 | identifier_partial | prefix | [
"using_directive"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X50 | 9Certificates; |
using Microsoft.Win32;
namespace AssemblyHunter
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1)
{
Usage();
return;
}
if(args[0].ToLower() == "help")
{
... | 1,284 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
85100110b7d3efefdb0200d799fac679 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 286 | 10 | 0 | 289 | 308 | 311 | 286 | 308 | line_start | using_directive | [
"using_directive"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
| using Microsoft.Win32; |
namespace AssemblyHunter
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1)
{
Usage();
return;
}
if(args[0].ToLower() == "help")
{
Usage();
... | 1,308 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
79f0f13db7f6dadfedba8bd4c815463e | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 559 | 24 | 23 | 562 | 579 | 582 | 536 | 579 | member_access | dot | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | ToLower() == "help") |
{
Usage();
return;
}
var watch = System.Diagnostics.Stopwatch.StartNew();
var arguments = new Dictionary<string, string>();
foreach (string argument in args)
{
int idx = argument.IndexOf('... | 1,579 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
7c8f40dacb1731449b06913e80b7d282 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 612 | 26 | 16 | 615 | 620 | 623 | 596 | 620 | line_start | invocation | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | Usage(); |
return;
}
var watch = System.Diagnostics.Stopwatch.StartNew();
var arguments = new Dictionary<string, string>();
foreach (string argument in args)
{
int idx = argument.IndexOf('=');
if (idx > 0)
... | 1,620 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
28dcecaf7dc69b86aab60892f20a4ec2 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 686 | 29 | 24 | 689 | 726 | 729 | 662 | 726 | after_operator | initializer | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | System.Diagnostics.Stopwatch.StartNew(); |
var arguments = new Dictionary<string, string>();
foreach (string argument in args)
{
int idx = argument.IndexOf('=');
if (idx > 0)
arguments[argument.Substring(0, idx)] = argument.Substring(idx + 1);
}
... | 1,726 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
6d40b5cc990abc3b0ac4d2ad6acd1edd | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 709 | 29 | 47 | 712 | 726 | 729 | 662 | 726 | identifier_partial | prefix | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | watch.StartNew(); |
var arguments = new Dictionary<string, string>();
foreach (string argument in args)
{
int idx = argument.IndexOf('=');
if (idx > 0)
arguments[argument.Substring(0, idx)] = argument.Substring(idx + 1);
}
... | 1,726 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
45e8ef99cf6a6dca85379135faeb3cf0 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 762 | 31 | 32 | 765 | 791 | 794 | 730 | 791 | after_keyword | new | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | Dictionary<string, string>(); |
foreach (string argument in args)
{
int idx = argument.IndexOf('=');
if (idx > 0)
arguments[argument.Substring(0, idx)] = argument.Substring(idx + 1);
}
// TODO: Add write to file
// TODO: Finish A... | 1,791 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
7297a59364dd81bdb8af1dfcca2f6ebd | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 956 | 36 | 21 | 959 | 1,023 | 1,026 | 935 | 1,023 | identifier_partial | prefix | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | rguments[argument.Substring(0, idx)] = argument.Substring(idx + 1); |
}
// TODO: Add write to file
// TODO: Finish Autoruns
string binp = string.Empty;
string servicename = string.Empty;
bool quiet = false;
bool allpaths = false;
bool electron = false;
if (arguments... | 2,023 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
3fe57e79bce41a9ec8f152dc321a9ec8 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,004 | 36 | 69 | 1,007 | 1,023 | 1,026 | 935 | 1,023 | member_access | dot | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | Substring(idx + 1); |
}
// TODO: Add write to file
// TODO: Finish Autoruns
string binp = string.Empty;
string servicename = string.Empty;
bool quiet = false;
bool allpaths = false;
bool electron = false;
if (arguments... | 2,023 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
1f4e9f5cbe2db2c3c5907ae11ed043d4 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,155 | 42 | 33 | 1,158 | 1,161 | 1,164 | 1,122 | 1,161 | member_access | dot | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | Empty; |
string servicename = string.Empty;
bool quiet = false;
bool allpaths = false;
bool electron = false;
if (arguments.ContainsKey("electron") && arguments["electron"].ToString().ToLower() == "true")
{
electron = true;
... | 2,161 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
611c2f4cb06a951ec50169c24af07d19 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,175 | 43 | 12 | 1,178 | 1,209 | 1,212 | 1,163 | 1,209 | line_start | local_declaration | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | string servicename = string.Empty; |
bool quiet = false;
bool allpaths = false;
bool electron = false;
if (arguments.ContainsKey("electron") && arguments["electron"].ToString().ToLower() == "true")
{
electron = true;
}
if (arguments.ContainsKey("... | 2,209 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
88b50f132a92cb2eae665d51b404a6ab | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,223 | 44 | 12 | 1,226 | 1,242 | 1,245 | 1,211 | 1,242 | line_start | local_declaration | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | bool quiet = false; |
bool allpaths = false;
bool electron = false;
if (arguments.ContainsKey("electron") && arguments["electron"].ToString().ToLower() == "true")
{
electron = true;
}
if (arguments.ContainsKey("allpaths") && arguments["allpaths... | 2,242 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
394ac06e4e7de7a0509a1ffb2c7ecc32 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,292 | 46 | 12 | 1,295 | 1,314 | 1,317 | 1,280 | 1,314 | line_start | local_declaration | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | bool electron = false; |
if (arguments.ContainsKey("electron") && arguments["electron"].ToString().ToLower() == "true")
{
electron = true;
}
if (arguments.ContainsKey("allpaths") && arguments["allpaths"].ToString().ToLower() == "true")
{
allpa... | 2,314 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
cee4729998f90ecd7733e5216e960173 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,457 | 50 | 16 | 1,460 | 1,473 | 1,476 | 1,441 | 1,473 | line_start | assignment | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | electron = true; |
}
if (arguments.ContainsKey("allpaths") && arguments["allpaths"].ToString().ToLower() == "true")
{
allpaths = true;
}
if (arguments.ContainsKey("quiet") && arguments["quiet"].ToString().ToLower() == "true")
{
... | 2,473 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
9c6f57766e5b7cc7081ad26dff9bcc5e | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,755 | 56 | 93 | 1,758 | 1,762 | 1,765 | 1,662 | 1,762 | after_operator | == | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | "true") |
{
quiet = true;
}
if (arguments.ContainsKey("path"))
{
string path = arguments["path"].ToString();
if (File.Exists(path))
{
try
{
... | 2,762 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
07be2bde939e6255427cd51d526b177e | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,853 | 61 | 26 | 1,856 | 1,873 | 1,876 | 1,827 | 1,873 | member_access | dot | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | ContainsKey("path")) |
{
string path = arguments["path"].ToString();
if (File.Exists(path))
{
try
{
if(electron == true)
{
if (IsElectronApp(path, out string... | 2,873 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
7f4d48326e9c875375068fc2d836a39c | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,920 | 63 | 30 | 1,923 | 1,949 | 1,952 | 1,890 | 1,949 | after_operator | initializer | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | arguments["path"].ToString(); |
if (File.Exists(path))
{
try
{
if(electron == true)
{
if (IsElectronApp(path, out string asar))
{
Elec... | 2,949 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
881d6eae013fa8882fe684d99020d1f7 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,983 | 64 | 32 | 1,986 | 1,989 | 1,992 | 1,951 | 1,989 | argument_list | open_paren | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | path)) |
{
try
{
if(electron == true)
{
if (IsElectronApp(path, out string asar))
{
ElectronChecks(path, arguments, asar);
... | 2,989 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
33ff1e3cd1d71dbca3f5aa0b5c5f03dd | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 1,984 | 64 | 33 | 1,987 | 1,989 | 1,992 | 1,951 | 1,989 | identifier_partial | prefix | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | ath)) |
{
try
{
if(electron == true)
{
if (IsElectronApp(path, out string asar))
{
ElectronChecks(path, arguments, asar);
... | 2,989 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
89fc8331056bd49aa34e81de55a00a69 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 2,163 | 70 | 32 | 2,166 | 2,200 | 2,203 | 2,131 | 2,200 | control_flow | if | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | IsElectronApp(path, out string asar)) |
{
ElectronChecks(path, arguments, asar);
}
}
else
{
AssemblyName assemblyName = AssemblyName.GetAssemblyName(path);
... | 3,200 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
ecd62e17419d085f07d9316ee264323a | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 2,505 | 77 | 85 | 2,508 | 2,511 | 2,514 | 2,420 | 2,511 | argument_list | open_paren | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | path); |
AssemblyChecks(path, arguments);
}
}
catch { }
}
else
{
if (arguments.ContainsKey("recurse") && arguments["recurse"].ToString().ToLower() == "true"... | 3,511 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
6527e7195f444569168bc0f26d2bf8ea | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 2,562 | 78 | 49 | 2,565 | 2,573 | 2,576 | 2,513 | 2,573 | argument_list | after_comma | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | arguments); |
}
}
catch { }
}
else
{
if (arguments.ContainsKey("recurse") && arguments["recurse"].ToString().ToLower() == "true")
{
List<string>... | 3,573 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
e6b21c258bf8369e6d862bba4932dba1 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 2,754 | 87 | 34 | 2,757 | 2,832 | 2,835 | 2,720 | 2,832 | member_access | dot | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | ContainsKey("recurse") && arguments["recurse"].ToString().ToLower() == "true") |
{
List<string> files = DirSearch(path, allpaths, quiet);
foreach (var f in files)
{
try
{
if (electron == true)
... | 3,832 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
970accbd17c23c67c7de4f7b036cef56 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 3,223 | 96 | 55 | 3,226 | 3,242 | 3,245 | 3,168 | 3,242 | token_boundary | IdentifierToken | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | , out string asar)) |
{
ElectronChecks(f, arguments, asar);
}
}
else
{
AssemblyName assemb... | 4,242 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
835561aca0fef6ac9bea9f4603ffff06 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 3,930 | 113 | 42 | 3,933 | 3,955 | 3,958 | 3,888 | 3,955 | after_keyword | in | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | Directory.GetFiles(path)) |
{
try
{
if (electron == true)
{
if (IsElectronApp(f, out string asar))
{
... | 4,955 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
44dfe7a802e46d36d386ea79d9db224b | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 4,092 | 117 | 44 | 4,095 | 4,101 | 4,104 | 4,048 | 4,101 | token_boundary | IdentifierToken | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | == true) |
{
if (IsElectronApp(f, out string asar))
{
ElectronChecks(f, arguments, asar);
}
}
... | 5,101 | true | CRLF | [
"target_starts_with_whitespace"
] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
8538914db790d1ed07a8a1a03a704473 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 4,322 | 121 | 69 | 4,325 | 4,328 | 4,331 | 4,253 | 4,328 | argument_list | after_comma | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | asar); |
}
}
else
{
AssemblyName assemblyName = AssemblyName.GetAssemblyName(f);
AssemblyChecks(f, arguments);
... | 5,328 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
8caa3eaf2bdfbaf6f7ca827e0f0877fe | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 4,570 | 126 | 93 | 4,573 | 4,573 | 4,576 | 4,477 | 4,573 | argument_list | open_paren | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | f); |
AssemblyChecks(f, arguments);
}
}
catch { continue; }
}
}
}
watch.Stop();
var ct = watch.Elaps... | 5,573 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
e7e2bfc3ea4500af9bdeb751f724d118 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 4,873 | 135 | 16 | 4,876 | 4,917 | 4,920 | 4,857 | 4,917 | line_start | local_declaration | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | var ct = watch.ElapsedMilliseconds / 1000.0; |
Console.WriteLine("\n\n[+++] Completed in {0} seconds", ct);
}
else if (arguments.ContainsKey("file"))
{
string file = arguments["file"].ToString();
if (!File.Exists(file))
{
Console.WriteLin... | 5,917 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
232e1eea8060afa5d0964af424089407 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 5,120 | 140 | 40 | 5,123 | 5,139 | 5,142 | 5,080 | 5,139 | argument_list | open_bracket | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | "file"].ToString(); |
if (!File.Exists(file))
{
Console.WriteLine("[-] File doesn't exist");
return;
}
else
{
try
{
if (electron == true)
... | 6,139 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
85ba521cdd2102d2b61057f5b583f000 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 5,128 | 140 | 48 | 5,131 | 5,139 | 5,142 | 5,080 | 5,139 | member_access | dot | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | ToString(); |
if (!File.Exists(file))
{
Console.WriteLine("[-] File doesn't exist");
return;
}
else
{
try
{
if (electron == true)
... | 6,139 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
ca5434fc891e03d1c22a92b7274b372e | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 5,167 | 141 | 26 | 5,170 | 5,180 | 5,183 | 5,141 | 5,180 | member_access | dot | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | Exists(file)) |
{
Console.WriteLine("[-] File doesn't exist");
return;
}
else
{
try
{
if (electron == true)
{
... | 6,180 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
edb5cd9b4d599b3f558ef1da4ef1fc95 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 5,229 | 143 | 28 | 5,232 | 5,265 | 5,268 | 5,201 | 5,265 | member_access | dot | [] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | WriteLine("[-] File doesn't exist"); |
return;
}
else
{
try
{
if (electron == true)
{
if (IsElectronApp(file, out string asar))
{
... | 6,265 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
5b541b93912eb23dcaa9e64d02b0d1aa | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 5,432 | 150 | 28 | 5,435 | 5,449 | 5,452 | 5,404 | 5,449 | control_flow | if | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | electron == true) |
{
if (IsElectronApp(file, out string asar))
{
ElectronChecks(file, arguments, asar);
}
}
else
{
... | 6,449 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
24633067ce959baaf73ff53fb5275fea | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 5,506 | 152 | 28 | 5,509 | 5,547 | 5,550 | 5,478 | 5,547 | line_start | control_flow | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | if (IsElectronApp(file, out string asar)) |
{
ElectronChecks(file, arguments, asar);
}
}
else
{
AssemblyName assemblyName = AssemblyName.GetAssemblyName(file);
... | 6,547 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
e7d906b8e2d1f8581e8e77e26ee62530 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 5,836 | 159 | 69 | 5,839 | 5,858 | 5,861 | 5,767 | 5,858 | member_access | dot | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | GetAssemblyName(file); |
AssemblyChecks(file, arguments);
}
}
catch { }
}
}
else if (arguments.ContainsKey("collection"))
{
string file = arguments["collection"].ToString();
... | 6,858 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
89b38567f810da0e815e460ac62d1975 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 5,888 | 160 | 28 | 5,891 | 5,920 | 5,923 | 5,860 | 5,920 | line_start | invocation | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | AssemblyChecks(file, arguments); |
}
}
catch { }
}
}
else if (arguments.ContainsKey("collection"))
{
string file = arguments["collection"].ToString();
if (!File.Exists(file))
{
... | 6,920 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
178850e771219c80186939268473aec0 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 5,992 | 163 | 20 | 5,995 | 6,001 | 6,004 | 5,972 | 6,001 | line_start | continuation | [
"exception"
] | 0 | false | using System;
using System.IO;
using System.Xml.Linq;
using System.Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespac... | catch { } |
}
}
else if (arguments.ContainsKey("collection"))
{
string file = arguments["collection"].ToString();
if (!File.Exists(file))
{
Console.WriteLine("[-] File doesn't exist");
... | 7,001 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
8656777587e997c478094af8e4e98616 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 6,070 | 166 | 33 | 6,073 | 6,094 | 6,097 | 6,037 | 6,094 | identifier_partial | prefix | [] | 70 | true | Xml;
using System.Reflection;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32;
namespace AssemblyHunter
{
class Program
{
static void Mai... | ntainsKey("collection")) |
{
string file = arguments["collection"].ToString();
if (!File.Exists(file))
{
Console.WriteLine("[-] File doesn't exist");
return;
}
else
{
s... | 7,094 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
974f5c1e01e70a93d82852f8246b0729 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 6,499 | 177 | 39 | 6,502 | 6,514 | 6,517 | 6,460 | 6,514 | identifier_partial | prefix | [] | 499 | true | return;
}
if(args[0].ToLower() == "help")
{
Usage();
return;
}
var watch = System.Diagnostics.Stopwatch.StartNew();
var arguments = new Dictionary<string, string>();
foreach (strin... | e in readlines) |
{
try
{
if (electron == true)
{
if (IsElectronApp(line, out string asar))
{
ElectronChe... | 7,514 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
65119b5a8b0b2bf888b0ab07d023f845 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 6,639 | 181 | 44 | 6,642 | 6,644 | 6,647 | 6,595 | 6,644 | after_operator | == | [
"exception"
] | 639 | true | eturn;
}
var watch = System.Diagnostics.Stopwatch.StartNew();
var arguments = new Dictionary<string, string>();
foreach (string argument in args)
{
int idx = argument.IndexOf('=');
if (idx > 0)
argu... | true) |
{
if (IsElectronApp(line, out string asar))
{
ElectronChecks(line, arguments, asar);
}
}
else
... | 7,644 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
40bf9338766a686c92eb32bf63f736fd | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 6,711 | 183 | 34 | 6,714 | 6,750 | 6,753 | 6,677 | 6,750 | token_boundary | IfKeyword | [
"exception"
] | 711 | true | tch.StartNew();
var arguments = new Dictionary<string, string>();
foreach (string argument in args)
{
int idx = argument.IndexOf('=');
if (idx > 0)
arguments[argument.Substring(0, idx)] = argument.Substring(idx + 1);
... | (IsElectronApp(line, out string asar)) |
{
ElectronChecks(line, arguments, asar);
}
}
else
{
AssemblyName assemblyName = AssemblyName.Get... | 7,750 | true | CRLF | [
"target_starts_with_whitespace"
] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
84948afbc27cda9e492dcb175d99f259 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 6,733 | 183 | 56 | 6,736 | 6,750 | 6,753 | 6,677 | 6,750 | argument_list | after_comma | [
"exception"
] | 733 | true | var arguments = new Dictionary<string, string>();
foreach (string argument in args)
{
int idx = argument.IndexOf('=');
if (idx > 0)
arguments[argument.Substring(0, idx)] = argument.Substring(idx + 1);
}
... | out string asar)) |
{
ElectronChecks(line, arguments, asar);
}
}
else
{
AssemblyName assemblyName = AssemblyName.Get... | 7,750 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
232803cac086e1e5c98d1eb5f54b9355 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 6,838 | 185 | 51 | 6,841 | 6,861 | 6,864 | 6,787 | 6,861 | argument_list | open_paren | [
"exception"
] | 838 | true |
{
int idx = argument.IndexOf('=');
if (idx > 0)
arguments[argument.Substring(0, idx)] = argument.Substring(idx + 1);
}
// TODO: Add write to file
// TODO: Finish Autoruns
string binp = string.Emp... | line, arguments, asar); |
}
}
else
{
AssemblyName assemblyName = AssemblyName.GetAssemblyName(line);
AssemblyChecks(line, arguments);
... | 7,861 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
459acae1a8b7e42f67a6f5e2534d6020 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 6,844 | 185 | 57 | 6,847 | 6,861 | 6,864 | 6,787 | 6,861 | argument_list | after_comma | [
"exception"
] | 844 | true | {
int idx = argument.IndexOf('=');
if (idx > 0)
arguments[argument.Substring(0, idx)] = argument.Substring(idx + 1);
}
// TODO: Add write to file
// TODO: Finish Autoruns
string binp = string.Empty;
... | arguments, asar); |
}
}
else
{
AssemblyName assemblyName = AssemblyName.GetAssemblyName(line);
AssemblyChecks(line, arguments);
... | 7,861 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
f24a3e8e90323c0df26ff7841f1d9641 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 7,083 | 190 | 89 | 7,086 | 7,089 | 7,092 | 6,994 | 7,089 | argument_list | open_paren | [
"exception"
] | 1,083 | true | // TODO: Finish Autoruns
string binp = string.Empty;
string servicename = string.Empty;
bool quiet = false;
bool allpaths = false;
bool electron = false;
if (arguments.ContainsKey("electron") && arguments["electron"].ToString()... | line); |
AssemblyChecks(line, arguments);
}
}
catch { continue; }
}
}
}
else if (arguments.ContainsKey("autoruns"))
{
Cons... | 8,089 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
c2259c28de250a18fc3256a34bdb9621 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 7,405 | 200 | 16 | 7,408 | 7,431 | 7,434 | 7,389 | 7,431 | line_start | invocation | [] | 1,405 | true | oLower() == "true")
{
electron = true;
}
if (arguments.ContainsKey("allpaths") && arguments["allpaths"].ToString().ToLower() == "true")
{
allpaths = true;
}
if (arguments.ContainsKey("quiet") && arguments["qu... | Console.WriteLine("TODO"); |
return;
List<string> lmkeys = new List<string>
{
//@"SYSTEM\CurrentControlSet\Control\SafeBoot\AlternateShell",
//@"Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options",
//@"Softwar... | 8,431 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
34cb03743ed1f24ea41db97a087e005b | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 9,164 | 223 | 20 | 9,167 | 9,227 | 9,230 | 9,144 | 9,227 | line_start | continuation | [
"initializer"
] | 3,164 | true | {
if (IsElectronApp(f, out string asar))
{
ElectronChecks(f, arguments, asar);
}
}
else
... | @"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell", |
@"SYSTEM\CurrentControlSet\Control\SafeBoot\AlternateShell",
@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Taskman",
@"Software\Microsoft\Windows NT\CurrentVersion\Winlogon\AlternateShells\AvailableShells",
@"SOFTWARE\Microso... | 10,227 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
cd6d0384d351b15b58b4558f31a8c5db | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 9,529 | 227 | 20 | 9,532 | 9,651 | 9,654 | 9,509 | 9,651 | line_start | continuation | [
"initializer"
] | 3,529 | true | AssemblyName assemblyName = AssemblyName.GetAssemblyName(f);
AssemblyChecks(f, arguments);
}
}
catch { continue; }
}
}
... | @"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Windows\CurrentVersion\Runonce", |
@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Windows\CurrentVersion\RunonceEx",
@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Windows\CurrentVersion\Run",
@"SYSTEM\Cur... | 10,651 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
c5be0d41529d00b2e825f42eee5b9931 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 10,299 | 234 | 20 | 10,302 | 10,366 | 10,369 | 10,279 | 10,366 | line_start | continuation | [
"initializer"
] | 4,299 | true | onChecks(f, arguments, asar);
}
}
else
{
AssemblyName assemblyName = AssemblyName.GetAssemblyName(f);
Assembly... | @"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnceEx", |
@"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce",
@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run",
@"SOFTWARE\Microsoft\Active Setup\Installed Com... | 11,366 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
6ff0ade1e43c46e78f4713598dd1d127 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 11,301 | 247 | 38 | 11,304 | 11,317 | 11,320 | 11,263 | 11,317 | after_operator | initializer | [] | 5,301 | true | }
else
{
try
{
if (electron == true)
{
if (IsElectronApp(file, out string asar))
{
ElectronC... | new List<string> |
{
@"Software\Policies\Microsoft\Windows\System\Scripts\Logon",
@"Environment\UserInitMprLogonScript",
@"Software\Policies\Microsoft\Windows\System\Scripts\Logoff",
@"Software\Microsoft\Windows\CurrentVersion\Group Poli... | 12,317 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
ccfb65db5a5721ab0ffbac0471ff5910 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 11,868 | 255 | 20 | 11,871 | 11,943 | 11,946 | 11,848 | 11,943 | line_start | continuation | [
"initializer"
] | 5,868 | true | AssemblyChecks(file, arguments);
}
}
catch { }
}
}
else if (arguments.ContainsKey("collection"))
{
string file = arguments["collection"].ToString();
... | @"Software\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Shutdown", |
@"Software\Microsoft\Windows\CurrentVersion\Policies\System\Shell",
@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run",
@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersi... | 12,943 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
84414606e1c2ad6169b9ab5a36ac9844 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 11,965 | 256 | 20 | 11,968 | 12,032 | 12,035 | 11,945 | 12,032 | line_start | continuation | [
"initializer"
] | 5,965 | true | }
catch { }
}
}
else if (arguments.ContainsKey("collection"))
{
string file = arguments["collection"].ToString();
if (!File.Exists(file))
{
Console.WriteLine("[-] File... | @"Software\Microsoft\Windows\CurrentVersion\Policies\System\Shell", |
@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run",
@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",
... | 13,032 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
3164de8e3c1ce22a3561e85d2445b0eb | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 12,210 | 259 | 20 | 12,213 | 12,271 | 12,274 | 12,190 | 12,271 | line_start | continuation | [
"initializer"
] | 6,210 | true | (file))
{
Console.WriteLine("[-] File doesn't exist");
return;
}
else
{
string[] readlines = File.ReadAllLines(file);
foreach (string line in readlines)
... | @"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run", |
@"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",
@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnceEx",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce",
@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\R... | 13,271 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
3038def861b0ec5b943b5521e8c6a221 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 12,293 | 260 | 20 | 12,296 | 12,348 | 12,351 | 12,273 | 12,348 | line_start | continuation | [
"initializer"
] | 6,293 | true | exist");
return;
}
else
{
string[] readlines = File.ReadAllLines(file);
foreach (string line in readlines)
{
try
{
... | @"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx", |
@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnceEx",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce",
@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce",
@"Software\Microsoft\Windows NT\CurrentVersion\... | 13,348 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
f56754d9323ba50d0153a95d69e10ebe | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 12,786 | 266 | 20 | 12,789 | 12,853 | 12,856 | 12,766 | 12,853 | line_start | continuation | [
"initializer"
] | 6,786 | true |
ElectronChecks(line, arguments, asar);
}
}
else
{
AssemblyName assemblyName = AssemblyName.GetAssemblyName(line);
... | @"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run", |
@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Windows\CurrentVersion\Runonce",
@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Windows\CurrentVersion\RunonceEx",
@"SOFTWA... | 13,853 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
a5524236917b966b7c4fc3948107e54e | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 13,650 | 277 | 20 | 13,653 | 13,705 | 13,708 | 13,630 | 13,705 | line_start | continuation | [
"initializer"
] | 7,650 | true | e\Microsoft\Windows NT\CurrentVersion\Image File Execution Options",
//@"Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options",
//@"SOFTWARE\Classes\Htmlfile\Shell\Open\Command\(Default)",
@"System\CurrentControlSet\Control\... | @"Software\Classes\Directory\Shellex\CopyHookHandlers", |
@"Software\Classes\Folder\ShellEx\ContextMenuHandlers",
@"Software\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects",
@"Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects",
};
... | 14,705 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
a4c23abf673ca1a8e2ea46b3fd959648 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 14,472 | 292 | 53 | 14,475 | 14,476 | 14,479 | 14,419 | 14,476 | identifier_partial | prefix | [
"exception"
] | 8,472 | true | rentVersion\Winlogon\VmApplet",
@"Software\Policies\Microsoft\Windows\System\Scripts\Shutdown",
@"Software\Policies\Microsoft\Windows\System\Scripts\Logoff",
@"Software\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Startup",
@"S... | mes) |
{
object kobj = key.GetValue(vs);
if (kobj != null)
{
//Version version = new Version(o as String);
Console.WriteLine... | 15,476 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
3049470f95044d067a30fb1fd05b0fad | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 14,606 | 295 | 32 | 14,609 | 14,623 | 14,626 | 14,574 | 14,623 | line_start | control_flow | [
"exception"
] | 8,606 | true | @"Software\Policies\Microsoft\Windows\System\Scripts\Logoff",
@"Software\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Startup",
@"Software\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Logon",
@"Software\Microsoft\Windows\CurrentVersion... | if (kobj != null) |
{
//Version version = new Version(o as String);
Console.WriteLine("\t{0}", kobj.ToString());
}
}
}
}
... | 15,623 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
e89b2134642874839c262b868c1b5db0 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 14,618 | 295 | 44 | 14,621 | 14,623 | 14,626 | 14,574 | 14,623 | after_operator | != | [
"exception"
] | 8,618 | true | re\Policies\Microsoft\Windows\System\Scripts\Logoff",
@"Software\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Startup",
@"Software\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Logon",
@"Software\Microsoft\Windows\CurrentVersion\Group Polic... | null) |
{
//Version version = new Version(o as String);
Console.WriteLine("\t{0}", kobj.ToString());
}
}
}
}
... | 15,623 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
dea6d47adddfa832a39114b47c95af65 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 14,963 | 304 | 20 | 14,966 | 14,994 | 14,997 | 14,943 | 14,994 | line_start | control_flow | [
"exception"
] | 8,963 | true | @"Software\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Shutdown",
@"Software\Microsoft\Windows\CurrentVersion\Policies\System\Shell",
@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell",
@"SYSTEM\CurrentControlSet\Control... | foreach (string xkey in cukeys) |
{
Console.WriteLine("Current: {0}", xkey);
RegistryKey key = Registry.LocalMachine.OpenSubKey(xkey);
if (key != null)
{
string[] vnames = key.GetValueNames();
... | 15,994 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
a79766248ac760f79cfe7f3fb70e38aa | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 15,054 | 306 | 35 | 15,057 | 15,083 | 15,086 | 15,019 | 15,083 | identifier_partial | prefix | [
"exception"
] | 9,054 | true |
@"Software\Microsoft\Windows\CurrentVersion\Policies\System\Shell",
@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell",
@"SYSTEM\CurrentControlSet\Control\SafeBoot\AlternateShell",
@"SOFTWARE\Microsoft\Windows NT\CurrentVers... | teLine("Current: {0}", xkey); |
RegistryKey key = Registry.LocalMachine.OpenSubKey(xkey);
if (key != null)
{
string[] vnames = key.GetValueNames();
foreach (string vs in vnames)
{
... | 16,083 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
5a82f50ee8225124382c0ad0eae96751 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 15,159 | 307 | 74 | 15,162 | 15,166 | 15,169 | 15,085 | 15,166 | token_boundary | IdentifierToken | [
"exception"
] | 9,159 | true | @"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell",
@"SYSTEM\CurrentControlSet\Control\SafeBoot\AlternateShell",
@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Taskman",
@"Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Alter... | (xkey); |
if (key != null)
{
string[] vnames = key.GetValueNames();
foreach (string vs in vnames)
{
object kobj = key.GetValue(vs);
... | 16,166 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
cd86aeb187c62f52d2a580a918c56177 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 15,685 | 318 | 54 | 15,688 | 15,711 | 15,714 | 15,631 | 15,711 | argument_list | open_paren | [
"exception"
] | 9,685 | true | icrosoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Windows\CurrentVersion\RunonceEx",
@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Windows\CurrentVersion\Run",
@"SYSTEM\CurrentControlSet\Control\Terminal Se... | "\t{0}", kobj.ToString()); |
}
}
}
}
}
catch { }
}
else if (arguments.ContainsKey("tasks"))
{
ManagementObjectSearcher wmiData = null;
... | 16,711 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
8b035bcf31b1adc93c06010caa92e13b | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 15,699 | 318 | 68 | 15,702 | 15,711 | 15,714 | 15,631 | 15,711 | member_access | dot | [
"exception"
] | 9,699 | true | ws NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Windows\CurrentVersion\RunonceEx",
@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Windows\CurrentVersion\Run",
@"SYSTEM\CurrentControlSet\Control\Terminal Server\WinStatio... | ToString()); |
}
}
}
}
}
catch { }
}
else if (arguments.ContainsKey("tasks"))
{
ManagementObjectSearcher wmiData = null;
... | 16,711 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
50b26f30b19d232e9dfb1bead442a9cb | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 15,902 | 326 | 12 | 15,905 | 15,942 | 15,945 | 15,890 | 15,942 | line_start | continuation | [] | 9,902 | true | rosoft\Windows\CurrentVersion\Run",
@"SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\InitialProgram",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run",
@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run",
... | else if (arguments.ContainsKey("tasks")) |
{
ManagementObjectSearcher wmiData = null;
try
{
// WMI Code taken and modified from Seatbelt
wmiData = new ManagementObjectSearcher(@"Root\Microsoft\Windows\TaskScheduler", "SELECT * FROM MSFT_ScheduledTask");
... | 16,942 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
23b4d0e9dd8606ecf8ef42eea059c473 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 15,911 | 326 | 21 | 15,914 | 15,942 | 15,945 | 15,890 | 15,942 | control_flow | if | [] | 9,911 | true | ndows\CurrentVersion\Run",
@"SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\InitialProgram",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run",
@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run",
@"SOFTWAR... | arguments.ContainsKey("tasks")) |
{
ManagementObjectSearcher wmiData = null;
try
{
// WMI Code taken and modified from Seatbelt
wmiData = new ManagementObjectSearcher(@"Root\Microsoft\Windows\TaskScheduler", "SELECT * FROM MSFT_ScheduledTask");
... | 16,942 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
f260efef20457bae6d08d86985348295 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 16,033 | 329 | 16 | 16,036 | 16,036 | 16,039 | 16,017 | 16,036 | line_start | exception | [] | 10,033 | true | tialProgram",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run",
@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",
@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersio... | try |
{
// WMI Code taken and modified from Seatbelt
wmiData = new ManagementObjectSearcher(@"Root\Microsoft\Windows\TaskScheduler", "SELECT * FROM MSFT_ScheduledTask");
ManagementObjectCollection data = wmiData.Get();
forea... | 17,036 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
9688e6f20d4b44fc6f1a837bb4e2a931 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 16,325 | 333 | 64 | 16,328 | 16,329 | 16,332 | 16,261 | 16,329 | identifier_partial | prefix | [
"exception"
] | 10,325 | true | rosoft\Windows\CurrentVersion\RunOnceEx",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce",
@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run",
@"SOFT... | t(); |
foreach (ManagementObject result in data)
{
string taskname = result["TaskName"].ToString();
var actions = (ManagementBaseObject[])result["Actions"];
foreach (var obj in actions)
... | 17,329 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
c5da8fbe3d53702db7216c5997f2350a | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 16,387 | 334 | 56 | 16,390 | 16,392 | 16,395 | 16,331 | 16,392 | after_keyword | in | [
"exception"
] | 10,387 | true | @"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce",
@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run",
@"SOFTWARE\Microsoft\Active Setup\Installed Components",
... | data) |
{
string taskname = result["TaskName"].ToString();
var actions = (ManagementBaseObject[])result["Actions"];
foreach (var obj in actions)
{
var Properties = new Dictionar... | 17,392 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
0a387098d6477744a79f4e22740ac1ed | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 16,515 | 337 | 24 | 16,518 | 16,571 | 16,574 | 16,491 | 16,571 | line_start | local_declaration | [
"exception"
] | 10,515 | true | ion\RunOnce",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run",
@"SOFTWARE\Microsoft\Active Setup\Installed Components",
@"SOFTWARE\Wow6432Node\Microsoft\Active Setup\Installed Components",
@"Software\Microsoft\Windows... | var actions = (ManagementBaseObject[])result["Actions"]; |
foreach (var obj in actions)
{
var Properties = new Dictionary<string, object>();
foreach (var prop in obj.Properties)
{
if (!prop.Name.Equals("PSC... | 17,571 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
eba5d3a99155c5130c1d4f5f64f66917 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 16,529 | 337 | 38 | 16,532 | 16,571 | 16,574 | 16,491 | 16,571 | after_operator | initializer | [
"exception"
] | 10,529 | true |
@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run",
@"SOFTWARE\Microsoft\Active Setup\Installed Components",
@"SOFTWARE\Wow6432Node\Microsoft\Active Setup\Installed Components",
@"Software\Microsoft\Windows NT\CurrentVer... | (ManagementBaseObject[])result["Actions"]; |
foreach (var obj in actions)
{
var Properties = new Dictionary<string, object>();
foreach (var prop in obj.Properties)
{
if (!prop.Name.Equals("PSC... | 17,571 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
8ab02a6e8cef3593a708208ef60e1098 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 16,764 | 342 | 28 | 16,767 | 16,800 | 16,803 | 16,736 | 16,800 | line_start | control_flow | [
"exception"
] | 10,764 | true | nstalled Components",
@"Software\Microsoft\Windows NT\CurrentVersion\Windows\IconServiceLib",
@"SOFTWARE\Microsoft\Windows CE Services\AutoStartOnConnect",
@"SOFTWARE\Wow6432Node\Microsoft\Windows CE Services\AutoStartOnConnect",
@"SOFT... | foreach (var prop in obj.Properties) |
{
if (!prop.Name.Equals("PSComputerName"))
{
Properties[prop.Name] = prop.Value;
}
}
try
... | 17,800 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
45669d8d0ad2e6b2746b91b64655f0ef | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 16,869 | 344 | 36 | 16,872 | 16,905 | 16,908 | 16,833 | 16,905 | control_flow | if | [
"exception"
] | 10,869 | true | viceLib",
@"SOFTWARE\Microsoft\Windows CE Services\AutoStartOnConnect",
@"SOFTWARE\Wow6432Node\Microsoft\Windows CE Services\AutoStartOnConnect",
@"SOFTWARE\Microsoft\Windows CE Services\AutoStartOnDisconnect",
@"SOFTWARE\Wow6432Node\Mi... | !prop.Name.Equals("PSComputerName")) |
{
Properties[prop.Name] = prop.Value;
}
}
try
{
string targfile = Properties["Execute"].ToString... | 17,905 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
17dab49c98c27fed21e774cc62a83863 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 17,011 | 346 | 69 | 17,014 | 17,013 | 17,016 | 16,942 | 17,013 | identifier_partial | prefix | [
"exception"
] | 11,011 | true | soft\Windows CE Services\AutoStartOnConnect",
@"SOFTWARE\Microsoft\Windows CE Services\AutoStartOnDisconnect",
@"SOFTWARE\Wow6432Node\Microsoft\Windows CE Services\AutoStartOnDisconnect"
};
List<string> cukeys = new List<string>
... | e; |
}
}
try
{
string targfile = Properties["Execute"].ToString();
var fullpath = Environment.ExpandEnvironmentVariables(targfile);
... | 18,013 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
511c88d378cb698276e320f4d87ca3f9 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 17,262 | 352 | 32 | 17,265 | 17,326 | 17,329 | 17,230 | 17,326 | line_start | local_declaration | [
"exception"
] | 11,262 | true |
List<string> cukeys = new List<string>
{
@"Software\Policies\Microsoft\Windows\System\Scripts\Logon",
@"Environment\UserInitMprLogonScript",
@"Software\Policies\Microsoft\Windows\System\Scripts\Logoff",
... | var fullpath = Environment.ExpandEnvironmentVariables(targfile); |
fullpath = fullpath.Replace("\"", "");
if (electron == true)
{
if (IsElectronApp(fullpath, out string asar))
{
... | 18,326 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
80864cd9efd722a7a16903df0d8af22c | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 17,371 | 353 | 43 | 17,374 | 17,398 | 17,401 | 17,328 | 17,398 | after_operator | assignment | [
"exception"
] | 11,371 | true | licies\Microsoft\Windows\System\Scripts\Logon",
@"Environment\UserInitMprLogonScript",
@"Software\Policies\Microsoft\Windows\System\Scripts\Logoff",
@"Software\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Startup",
@"Software\M... | fullpath.Replace("\"", ""); |
if (electron == true)
{
if (IsElectronApp(fullpath, out string asar))
{
ElectronChecks(fullpath, arguments, asar, taskname, "tasks");
... | 18,398 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
adbf06b69d5f770190c90646d40965c3 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 17,380 | 353 | 52 | 17,383 | 17,398 | 17,401 | 17,328 | 17,398 | member_access | dot | [
"exception"
] | 11,380 | true | crosoft\Windows\System\Scripts\Logon",
@"Environment\UserInitMprLogonScript",
@"Software\Policies\Microsoft\Windows\System\Scripts\Logoff",
@"Software\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Startup",
@"Software\Microsoft\... | Replace("\"", ""); |
if (electron == true)
{
if (IsElectronApp(fullpath, out string asar))
{
ElectronChecks(fullpath, arguments, asar, taskname, "tasks");
... | 18,398 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
6748c12f97dcb6240ec5ec307d80f913 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 17,679 | 359 | 65 | 17,682 | 17,715 | 17,718 | 17,614 | 17,715 | argument_list | after_comma | [
"exception"
] | 11,679 | true | @"Software\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Logon",
@"Software\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Logoff",
@"Software\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Shutdown",
@"Software\Microsoft\Windows\Curre... | arguments, asar, taskname, "tasks"); |
}
}
else
{
AssemblyName assemblyName = AssemblyName.GetAssemblyName(fullpath);
AssemblyChecks(fullpath, argum... | 18,715 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
7fabffb9ffdf8e63beb03be59a1d512d | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 17,690 | 359 | 76 | 17,693 | 17,715 | 17,718 | 17,614 | 17,715 | argument_list | after_comma | [
"exception"
] | 11,690 | true | Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Logon",
@"Software\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Logoff",
@"Software\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Shutdown",
@"Software\Microsoft\Windows\CurrentVersion\P... | asar, taskname, "tasks"); |
}
}
else
{
AssemblyName assemblyName = AssemblyName.GetAssemblyName(fullpath);
AssemblyChecks(fullpath, argum... | 18,715 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
5f89b9da0a9644be9bf99ab2a77e6205 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 17,901 | 364 | 37 | 17,904 | 17,967 | 17,970 | 17,864 | 17,967 | identifier_partial | prefix | [
"exception"
] | 11,901 | true | entVersion\Group Policy\Scripts\Shutdown",
@"Software\Microsoft\Windows\CurrentVersion\Policies\System\Shell",
@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run",
@"SOFTWARE\... | ssemblyName assemblyName = AssemblyName.GetAssemblyName(fullpath); |
AssemblyChecks(fullpath, arguments, "tasks");
}
}
catch { }
}
}
}
catch (Exception ex)
{
... | 18,967 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
163d0fb389873921b56adcbf554879d1 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 18,005 | 365 | 36 | 18,008 | 18,050 | 18,053 | 17,969 | 18,050 | line_start | invocation | [
"exception"
] | 12,005 | true | ion\Policies\System\Shell",
@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run",
@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run",
@"SOFTWARE\Microsoft\Windows\Cur... | AssemblyChecks(fullpath, arguments, "tasks"); |
}
}
catch { }
}
}
}
catch (Exception ex)
{
Console.WriteLine(String.Format("[X] Exception {0}", ex.Message));
... | 19,050 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
dba897a8254fba3353ee0b6d0b1fd891 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 18,242 | 372 | 16 | 18,245 | 18,262 | 18,265 | 18,226 | 18,262 | line_start | continuation | [
"exception"
] | 12,242 | true | \Windows\CurrentVersion\Run",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",
@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnceEx",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce",
@"SOFTWARE\Wow6432Node\Micro... | catch (Exception ex) |
{
Console.WriteLine(String.Format("[X] Exception {0}", ex.Message));
}
watch.Stop();
var ct = watch.ElapsedMilliseconds / 1000.0;
Console.WriteLine("\n\n[+++] Completed in {0} seconds", ct);
}
... | 19,262 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
6ec7c44b43f1545371b1bb995d09fee5 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 18,450 | 377 | 29 | 18,453 | 18,481 | 18,484 | 18,421 | 18,481 | identifier_partial | prefix | [] | 12,450 | true | @"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce",
@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce",
@"Software\Microsoft\Windows NT\CurrentVersion\Windows\Load",
@"Software\Microsoft\Windows NT\CurrentVersion\Windows\Run",
... | h.ElapsedMilliseconds / 1000.0; |
Console.WriteLine("\n\n[+++] Completed in {0} seconds", ct);
}
else if (arguments.ContainsKey("services"))
{
if (arguments.ContainsKey("servicename"))
{
servicename = arguments["servicename"];
... | 19,481 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
bdfb7edfe6127f31e1d37b1b5f491cff | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 18,507 | 378 | 24 | 18,510 | 18,559 | 18,562 | 18,483 | 18,559 | member_access | dot | [] | 12,507 | true | nce",
@"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce",
@"Software\Microsoft\Windows NT\CurrentVersion\Windows\Load",
@"Software\Microsoft\Windows NT\CurrentVersion\Windows\Run",
@"SOFTWARE\Microsoft\Windows\CurrentVersi... | WriteLine("\n\n[+++] Completed in {0} seconds", ct); |
}
else if (arguments.ContainsKey("services"))
{
if (arguments.ContainsKey("servicename"))
{
servicename = arguments["servicename"];
}
ServiceController[] scServices;
scServ... | 19,559 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
25f84c5dd750cf6ba7af844340de2f02 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 18,678 | 382 | 30 | 18,681 | 18,705 | 18,708 | 18,648 | 18,705 | member_access | dot | [] | 12,678 | true | ad",
@"Software\Microsoft\Windows NT\CurrentVersion\Windows\Run",
@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run",
@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Windows\CurrentVersion\Runonce",
... | ContainsKey("servicename")) |
{
servicename = arguments["servicename"];
}
ServiceController[] scServices;
scServices = ServiceController.GetServices();
if (servicename != string.Empty)
{
ManagementObject... | 19,705 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
ae4e5db1636fd98ee648a88fe1c73559 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 19,028 | 391 | 39 | 19,031 | 19,037 | 19,040 | 18,989 | 19,037 | identifier_partial | prefix | [] | 13,028 | true | E\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Windows\CurrentVersion\RunonceEx",
@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Windows\CurrentVersion\Run"
};
List<s... | iService; |
wmiService = new ManagementObject("Win32_Service.Name='" + servicename + "'");
wmiService.Get();
binp = (string)wmiService["PathName"];
try
{
if (!binp.StartsWith("\""))
... | 20,037 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
9e232370ddbca41f1533f7bf1205b7b9 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 19,076 | 392 | 37 | 19,079 | 19,137 | 19,140 | 19,039 | 19,137 | after_keyword | new | [] | 13,076 | true | erver\Install\Software\Microsoft\Windows\CurrentVersion\RunonceEx",
@"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Windows\CurrentVersion\Run"
};
List<string> dlkeys = new List<string>
... | ManagementObject("Win32_Service.Name='" + servicename + "'"); |
wmiService.Get();
binp = (string)wmiService["PathName"];
try
{
if (!binp.StartsWith("\""))
{
string[] subs = binp.Split(' ');
... | 20,137 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
7dfbe24e28afbfffbdaf1b138d83f619 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 19,312 | 398 | 24 | 19,315 | 19,339 | 19,342 | 19,288 | 19,339 | line_start | control_flow | [
"exception"
] | 13,312 | true |
List<string> dlkeys = new List<string>
{
@"Software\Classes\*\ShellEx\ContextMenuHandlers",
@"Software\Classes\Directory\ShellEx\ContextMenuHandlers",
@"Software\Classes\Directory\Shellex\DragDropHandlers",
... | if (!binp.StartsWith("\"")) |
{
string[] subs = binp.Split(' ');
binp = subs[0];
}
binp = binp.Replace("\"", "");
AssemblyName assemblyName = AssemblyName.GetAssemblyName(binp);
... | 20,339 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
9431cfa53b87d11bc0869326a6f62ced | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 19,673 | 406 | 24 | 19,676 | 19,730 | 19,733 | 19,649 | 19,730 | line_start | invocation | [
"exception"
] | 13,673 | true | ctory\Shellex\CopyHookHandlers",
@"Software\Classes\Folder\ShellEx\ContextMenuHandlers",
@"Software\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects",
@"Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects",
... | AssemblyChecks(binp, arguments, servicename, "services"); |
}
catch { }
}
else
{
foreach (ServiceController scTemp in scServices)
{
//if (scTemp.Status == ServiceControllerStatus.Running)
//{
... | 20,730 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
163fad5b8604e4002c1db0a0e7e7f198 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 19,718 | 406 | 69 | 19,721 | 19,730 | 19,733 | 19,649 | 19,730 | argument_list | after_comma | [
"exception"
] | 13,718 | true | @"Software\Classes\Folder\ShellEx\ContextMenuHandlers",
@"Software\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects",
@"Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects",
};
try
... | "services"); |
}
catch { }
}
else
{
foreach (ServiceController scTemp in scServices)
{
//if (scTemp.Status == ServiceControllerStatus.Running)
//{
... | 20,730 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
e4d08ab4cd6af73e23b36c8e97e5339d | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 19,821 | 410 | 16 | 19,824 | 19,825 | 19,828 | 19,805 | 19,825 | line_start | continuation | [] | 13,821 | true | oft\Windows\CurrentVersion\Explorer\Browser Helper Objects",
@"Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects",
};
try
{
foreach (string ckey in lmkeys)
{
... | else |
{
foreach (ServiceController scTemp in scServices)
{
//if (scTemp.Status == ServiceControllerStatus.Running)
//{
ManagementObject wmiService;
wmiService... | 20,825 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
e3987633d94977329567533a5b75fb31 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 19,875 | 412 | 29 | 19,878 | 19,914 | 19,917 | 19,846 | 19,914 | control_flow | foreach | [] | 13,875 | true | ects",
@"Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects",
};
try
{
foreach (string ckey in lmkeys)
{
Console.WriteLine("Current: {0}", ckey... | ServiceController scTemp in scServices) |
{
//if (scTemp.Status == ServiceControllerStatus.Running)
//{
ManagementObject wmiService;
wmiService = new ManagementObject("Win32_Service.Name='" + scTemp.ServiceName + "'");
... | 20,914 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 | |
8cb9fd2f78b7a9b3cee9c3140b6646c2 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 20,169 | 417 | 62 | 20,172 | 20,220 | 20,223 | 20,107 | 20,220 | argument_list | open_paren | [] | 14,169 | true | eLine("Current: {0}", ckey);
RegistryKey key = Registry.LocalMachine.OpenSubKey(ckey);
if (key != null)
{
string[] vnames = key.GetValueNames();
foreach (string vs in vnames)
... | "Win32_Service.Name='" + scTemp.ServiceName + "'"); |
wmiService.Get();
string sname = scTemp.ServiceName;
binp = (string)wmiService["PathName"];
try
{
if (!binp.StartsWith("\""))
... | 21,220 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | partially_resolved | no_invocation_candidates | bulk/1 | flc-dataset/0.1.0 | |
64575097ab25fae9b8da199f501d4c23 | github.com/0xthirteen/AssemblyHunter | cc920e3c5fc4fd2fdc390459fd3f395fc96581d5 | BSD-3-Clause | AssemblyHunter/Program.cs | AssemblyHunter/AssemblyHunter.csproj | false | 3461594320af2ddece22f2eb431b479712e3f4b1cafbccb73a98f164e78fbf38 | 20,194 | 417 | 87 | 20,197 | 20,220 | 20,223 | 20,107 | 20,220 | after_operator | + | [] | 14,194 | true | y);
RegistryKey key = Registry.LocalMachine.OpenSubKey(ckey);
if (key != null)
{
string[] vnames = key.GetValueNames();
foreach (string vs in vnames)
{
... | scTemp.ServiceName + "'"); |
wmiService.Get();
string sname = scTemp.ServiceName;
binp = (string)wmiService["PathName"];
try
{
if (!binp.StartsWith("\""))
... | 21,220 | true | CRLF | [] | grp_0xthirteen-assemblyhunter | resolved | null | bulk/1 | flc-dataset/0.1.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.