mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-09 02:16:46 +00:00
29 lines
1.1 KiB
C#
29 lines
1.1 KiB
C#
using BinaryObjectScanner.Interfaces;
|
|
using SabreTools.Serialization.Wrappers;
|
|
|
|
namespace BinaryObjectScanner.Packer
|
|
{
|
|
/// <summary>
|
|
/// Spoon Installer
|
|
/// </summary>
|
|
public class SpoonInstaller : IExecutableCheck<PortableExecutable>
|
|
{
|
|
/// <inheritdoc/>
|
|
public string? CheckExecutable(string file, PortableExecutable exe, bool includeDebug)
|
|
{
|
|
// <see href="https://www.virustotal.com/gui/file/ad876d9aa59a2c51af776ce7c095af69f41f2947c6a46cfe87a724ecf8745084/details"/>
|
|
string? name = exe.AssemblyDescription;
|
|
if (name.OptionalEquals("Spoon Installer"))
|
|
return "Spoon Installer";
|
|
|
|
// <see href="https://www.virustotal.com/gui/file/40e222d35fe8bdd94360462e2f2b870ec7e2c184873e2a481109408db790bfe8/details"/>
|
|
// This was found in a "Create Install 2003"-made installer
|
|
name = exe.AssemblyName;
|
|
if (name.OptionalEquals("Illustrate.Spoon.Installer"))
|
|
return "Spoon Installer";
|
|
|
|
return null;
|
|
}
|
|
}
|
|
}
|