Es obvio que cualquier posible solución a esa pregunta implicaría cometer un delito. Tema Cerrado por infringir las reglas del foro.
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes MenúStart "" "C:\Users\pc\Desktop\Proyectos\CMD\verdaderos\Nuevo Hoja de cálculo de Microsoft Excel.xlsx"
@Echo OFF
"C:\Users\pc\Desktop\Proyectos\CMD\verdaderos\Nuevo Hoja de cálculo de Microsoft Excel.xlsx"
Cita de: rigorvzla en 8 Abril 2018, 20:06 PM
porque esto no sirvio?
string entrada = "\"" + ofd.FileName + "\"";
string input = @"C:\File.avi";
string output = Path.Combine(Path.GetDirectoryName(input), Path.GetFileNameWithoutExtension(input)) + ".mp3";
string args = string.Format(@"-i ""{0}"" -b:a 320k ""{1}""", input, output);
using (Process p = new Process()) {
p.StartInfo.FileName = "ffmpeg.exe";
p.StartInfo.Arguments = args;
p.Start();
p.WaitForExit(Timeout.Infinite);
}
Cita de: Eleкtro en 8 Abril 2018, 02:40 AMen cuanto tenga un rato largo y las suficientes ganas para ponerme a ello yo también me sumaré al carro de desarrollar un código para obtener los logins de Chrome (para VB.NET / C#) y lo compartiré.
Imports System
Imports System.Collections.Generic
Imports System.Data
Imports System.Data.SQLite
Imports System.IO
Imports System.Net
Imports System.Security.Cryptography
Imports System.Text
''' ----------------------------------------------------------------------------------------------------
''' <summary>
''' Gets the Google Chrome logins stored for the current user.
''' </summary>
''' ----------------------------------------------------------------------------------------------------
''' <example> This is a code example.
''' <code>
''' Dim loginsFile As New FileInfo("C:\Users\Administrator\AppData\Local\Google\Chrome\User Data\Default\Login Data")
''' Dim logins As IEnumerable(Of NetworkCredential) =
''' From login As NetworkCredential In
''' GetGoogleChromeLogins(loginsFile, "_NULL_", "_NULL_", "_UNDECRYPTABLE_")
''' Order By login.Domain Ascending
'''
''' For Each login As NetworkCredential In logins
''' Console.WriteLine("{0}; {1}; {2}", login.Domain, login.UserName, login.Password)
''' Next login
''' </code>
''' </example>
''' ----------------------------------------------------------------------------------------------------
''' <param name="loginDataFile">
''' The "Logins Data" file that stores the user logins.
''' <para></para>
''' This file is typically located at: 'C:\Users\{USERNAME}\AppData\Local\Google\Chrome\User Data\Default'.
''' </param>
'''
''' <param name="defaultIfUsernameEmpty">
''' A default value to assign for an empty username.
''' </param>
'''
''' <param name="defaultIfPasswordEmpty">
''' A default value to assign for an empty password.
''' </param>
'''
''' <param name="defaultIfPasswordUndecryptable">
''' A default value to assign for a undecryptable password.
''' </param>
''' ----------------------------------------------------------------------------------------------------
''' <returns>
''' A <see cref="IEnumerable(Of NetworkCredential)"/> containing the user logins.
''' </returns>
''' ----------------------------------------------------------------------------------------------------
<DebuggerStepperBoundary>
Public Shared Function GetGoogleChromeLogins(ByVal loginDataFile As FileInfo,
Optional ByVal defaultIfUsernameEmpty As String = "",
Optional ByVal defaultIfPasswordEmpty As String = "",
Optional ByVal defaultIfPasswordUndecryptable As String = ""
) As IEnumerable(Of NetworkCredential)
Return GetGoogleChromeLogins(loginDataFile.FullName, defaultIfUsernameEmpty, defaultIfPasswordEmpty, defaultIfPasswordUndecryptable)
End Function
''' ----------------------------------------------------------------------------------------------------
''' <summary>
''' Gets the Google Chrome logins stored for the current user.
''' </summary>
''' ----------------------------------------------------------------------------------------------------
''' <example> This is a code example.
''' <code>
''' Dim loginDataPath As String = "C:\Users\Administrator\AppData\Local\Google\Chrome\User Data\Default\Login Data"
''' Dim logins As IEnumerable(Of NetworkCredential) =
''' From login As NetworkCredential In
''' GetGoogleChromeLogins(loginDataPath, "_NULL_", "_NULL_", "_UNDECRYPTABLE_")
''' Order By login.Domain Ascending
'''
''' For Each login As NetworkCredential In logins
''' Console.WriteLine("{0}; {1}; {2}", login.Domain, login.UserName, login.Password)
''' Next login
''' </code>
''' </example>
''' ----------------------------------------------------------------------------------------------------
''' <param name="loginDataPath">
''' The full path to "Logins Data" file that stores the user logins.
''' <para></para>
''' This file is typically located at: 'C:\Users\{USERNAME}\AppData\Local\Google\Chrome\User Data\Default'.
''' </param>
'''
''' <param name="defaultIfUsernameEmpty">
''' A default value to assign for an empty username.
''' </param>
'''
''' <param name="defaultIfPasswordEmpty">
''' A default value to assign for an empty password.
''' </param>
'''
''' <param name="defaultIfPasswordUndecryptable">
''' A default value to assign for a undecryptable password.
''' </param>
''' ----------------------------------------------------------------------------------------------------
''' <returns>
''' A <see cref="IEnumerable(Of NetworkCredential)"/> containing the user logins.
''' </returns>
''' ----------------------------------------------------------------------------------------------------
<DebuggerStepperBoundary>
Public Shared Iterator Function GetGoogleChromeLogins(ByVal loginDataPath As String,
Optional ByVal defaultIfUsernameEmpty As String = "",
Optional ByVal defaultIfPasswordEmpty As String = "",
Optional ByVal defaultIfPasswordUndecryptable As String = ""
) As IEnumerable(Of NetworkCredential)
Dim sqlConnectionString As String = String.Format("data source={0};New=True;UseUTF16Encoding=True", loginDataPath)
Dim sqlCommandText As String = "SELECT origin_url, username_value, password_value FROM 'logins'"
Dim textEncoding As New UTF8Encoding(encoderShouldEmitUTF8Identifier:=True)
Using dt As New DataTable(),
sqlConnection As New SQLiteConnection(sqlConnectionString),
sqlCommand As New SQLiteCommand(sqlCommandText, sqlConnection),
sqlAdapter As New SQLiteDataAdapter(sqlCommand)
sqlAdapter.Fill(dt)
For Each row As DataRow In dt.Rows
Dim domain As String = row("origin_url")
Dim userName As String = row("username_value")
If String.IsNullOrEmpty(userName) Then
userName = defaultIfUsernameEmpty
End If
Dim passwordEncrypted As Byte() = DirectCast(row("password_value"), Byte())
Dim passwordDecrypted As Byte()
Dim passwordString As String = String.Empty
Try
passwordDecrypted = ProtectedData.Unprotect(passwordEncrypted, Nothing, DataProtectionScope.CurrentUser)
passwordString = textEncoding.GetString(passwordDecrypted)
Catch ex As CryptographicException When (ex.HResult = -2146893813) ' Key not valid for use in specified state.
' This means the current user can't decrypt the encrypted data,
' because the encryption key was derived using a different user credential.
passwordString = defaultIfPasswordUndecryptable
Catch ex As Exception
Throw
Finally
If String.IsNullOrEmpty(passwordString) Then
passwordString = defaultIfPasswordEmpty
End If
End Try
Yield New NetworkCredential(userName, passwordString, domain)
Next row
End Using
End Function
Dim loginDataPath As String = "C:\Users\Administrator\AppData\Local\Google\Chrome\User Data\Default\Login Data"
Dim logins As IEnumerable(Of NetworkCredential) =
From login As NetworkCredential In
GetGoogleChromeLogins(loginDataPath, "", "", "_UNDECRYPTABLE_")
Order By login.Domain Ascending
For Each login As NetworkCredential In logins
Console.WriteLine("{0}; {1}; {2}", login.Domain, login.UserName, login.Password)
Next login
Citarchrome://wmn/accounts/gmail; UserName; Password
chrome://wmn/accounts/hotmail; UserName; Password
http://foro.elhacker.net/; UserName; Password
http://forum.doom9.org/; UserName; Password
http://forum.soundarea.org/; UserName; Password
http://forums.nvidia.com/; UserName; Password
...