Ergebnis 1 bis 1 von 1
  1. #1
    Tron
    Registriert seit
    29.05.2007
    Beiträge
    894

    Standard [VB6] Pidgin Password Recovery

    Code:
    'LEave credits if u use this
    'by skilled
    Public Function sPidgin() As String
    On Error GoTo Err
    Dim sPath As String
    Dim f As Integer: f = FreeFile
    
    sPath = Environ("appdata") & "\.purple\Accounts.xml"
    If Dir(sPath) = vbNullString Then Exit Function
    
    Dim bUser As Boolean
    Dim bPass As Boolean
    
    Open sPath For Binary As #f
    Do While Not EOF(f)
        Line Input #f, sLine
        
            If bPass = True Then
                 sPidgin = sPidgin & "Password : " & parse(sLine,  "<password>", "</password>") & vbNewLine &  String(20, "-")
                bPass = False
            End If
            
            If bUser = True Then
                sPidgin = sPidgin & "Username : " & parse(sLine, "<name>", "</name>") & vbNewLine
                bUser = False: bPass = True
            End If
            
            If InStr(sLine, "<protocol>") > 0 Then
                 sPidgin = sPidgin & "Protocol : " & parse(sLine,  "<protocol>prpl-", "</protocol>") & vbNewLine
                bUser = True
            End If
    Loop
    Close #f
    
    Err:
    End Function
    
    Private Function parse(ByVal sString As String, ByVal S1 As String, ByVal S2 As String) As String
    Dim iPos As Integer, iPos2 As Integer
    iPos = InStr(sString, S1): iPos2 = InStr(sString, S2)
    If iPos = 0 Or iPos2 = 0 Then Exit Function
    If iPos > iPos2 Then Exit Function
    parse = Mid(sString, iPos + Len(S1), iPos2 - iPos - Len(S1))
    End Function

  2. Folgende Benutzer haben sich für diesen Beitrag bedankt:

    Funk_Doc (04.10.2010)

Ähnliche Themen

  1. ICQ Password Recovery
    Von c0der im Forum Instant Messaging
    Antworten: 8
    Letzter Beitrag: 17.09.2008, 11:26
  2. ICQ Password Recovery
    Von losl im Forum Instant Messaging
    Antworten: 3
    Letzter Beitrag: 28.08.2008, 20:25
  3. ICQ - Password Recovery
    Von Lennart im Forum Instant Messaging
    Antworten: 14
    Letzter Beitrag: 18.09.2007, 13:51
  4. QIP password recovery
    Von Gaara im Forum Sonstiges
    Antworten: 0
    Letzter Beitrag: 02.08.2007, 17:10
  5. ICQ Password Recovery
    Von laKiT im Forum Instant Messaging
    Antworten: 8
    Letzter Beitrag: 26.06.2007, 00:19

Stichworte

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •