Guest User

Untitled

a guest
Mar 2nd, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. That "Facebook Hacker by ruNe" was fake.
  2. I hacked into his FTP server (ftp://stushepard.st.ohost.de username: stushepard password: idontfeellike)
  3. The files are encrypted, but this should be all you need to decrypt them.
  4.  
  5.  
  6. Dim pass As String = "y3t14mn0th1ngm0r3th4n4l1n31ny0urb00k"
  7.     Dim salt As Byte() = New Byte() {2, 8, 0, 8, 2, 4, 0, 6}
  8.     Public Function decryptData(ByVal data As Byte()) As Byte()
  9.         Dim buffer2 As Byte()
  10.         Dim bytes As New Security.Cryptography.Rfc2898DeriveBytes(pass, salt)
  11.         Dim managed As New Security.Cryptography.AesManaged
  12.         managed.Key = bytes.GetBytes(managed.Key.Length)
  13.         managed.IV = bytes.GetBytes(managed.IV.Length)
  14.         Dim stream2 As New IO.MemoryStream
  15.         Dim stream As New Security.Cryptography.CryptoStream(stream2, managed.CreateDecryptor, Security.Cryptography.CryptoStreamMode.Write)
  16.         Try
  17.             Dim buffer As Byte() = data
  18.             stream.Write(buffer, 0, buffer.Length)
  19.             stream.Clear()
  20.             stream.Close()
  21.             managed.Clear()
  22.             buffer2 = stream2.ToArray
  23.         Catch exception1 As Exception
  24.             Microsoft.VisualBasic.CompilerServices.ProjectData.SetProjectError(exception1)
  25.             Dim exception As Exception = exception1
  26.             buffer2 = New Byte() {0}
  27.             Microsoft.VisualBasic.CompilerServices.ProjectData.ClearProjectError()
  28.         End Try
  29.         Return buffer2
  30.     End Function
Add Comment
Please, Sign In to add comment