elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: ¿Eres nuevo? ¿Tienes dudas acerca del funcionamiento de la comunidad? Lee las Reglas Generales


  Mostrar Mensajes
Páginas: 1 ... 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 [474] 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 ... 620
4731  Foros Generales / Foro Libre / Re: ¿Cuantos años teneis? en: 13 Enero 2013, 07:38 am
Efectivamente, 36...  :)
4732  Foros Generales / Foro Libre / Re: ¿Cuantos años teneis? en: 13 Enero 2013, 03:29 am
A ojo digo 27?

Mmmmm nop...

Vas a tener que pasar por el oftalmólogo  :xD
4733  Foros Generales / Foro Libre / Re: ¿Cuantos años teneis? en: 13 Enero 2013, 03:09 am
Hace 72 meses tuve la tercera parte del doble de la edad que tenía Nikola Tesla en 1901 (después del 10 de julio, por supuesto)

 :P
4734  Programación / .NET (C#, VB.NET, ASP) / Re: consulta sobre pasar varios argumentos a un ejecutable de un textbox en: 12 Enero 2013, 12:42 pm
Parece que te falta el + entre las referencias a los textboxes.
4735  Programación / ASM / Re: Problema IP, enviar datos [WinSock] en: 12 Enero 2013, 11:10 am
Chat-TCP

Sacado de aqui: http://en.pudn.com/downloads83/sourcecode/asm/detail320272_en.html

Cliente: http://read.pudn.com/downloads83/sourcecode/asm/320272/Chat-TCP/Client.asm__.htm

Servidor: http://read.pudn.com/downloads83/sourcecode/asm/320272/Chat-TCP/Server.asm__.htm

Varios (Resources):

Cliente.rc: http://read.pudn.com/downloads83/sourcecode/asm/320272/Chat-TCP/Client.rc__.htm

Server.rc: http://read.pudn.com/downloads83/sourcecode/asm/320272/Chat-TCP/Server.rc__.htm

Saludos!
4736  Programación / Programación Visual Basic / Re: Conectar visual Basic6 a MYSQL en: 12 Enero 2013, 04:38 am
Y los orígenes de datos para VB los haz instalado?

MDAC: http://msdn.microsoft.com/en-us/data/aa937729.aspx

Saludos!
4737  Programación / Ingeniería Inversa / Re: Duda sobre el crack de un programa en: 12 Enero 2013, 04:28 am
En qué lenguaje está hecho? Está empacado? Con qué packer?

El curso de ricnar te da lo básico. Una vez que lo termines, ya tienes una base desde la cual partir. No pienses que porque el curso no "te ha servido" hasta el momento, el resto del curso tampoco lo hará.

Mi mejor consejo es que lo termines. Después hay muchos tutoriales para seguir aprendiendo...  :P

Saludos!
4738  Programación / Programación Visual Basic / Re: [RETO] Ruta más oculta en: 12 Enero 2013, 04:24 am
Cometi el error de copypastear tu codigo en una CMD.
CUIDADO CON EL PESO DEL TXT!
:xD

Si, hice un par de pruebas mas y vi que puede obtenerse un archivo grande, aunque habría que hacer algunas comparativas para ver si el método conviene o no...

Ni bien tenga VB a mano, armo code y copio...

EDIT: Mi intento

Código
  1. Option Explicit
  2.  
  3. Public Declare Function GetTempPath Lib "kernel32" Alias "GetTempPathA" (ByVal nBufferLength As Long, ByVal lpBuffer As String) As Long
  4. Public Declare Function GetTempFileName Lib "kernel32" Alias "GetTempFileNameA" (ByVal lpszPath As String, ByVal lpPrefixString As String, ByVal wUnique As Long, ByVal lpTempFileName As String) As Long
  5. Public Declare Function lstrlen Lib "kernel32" Alias "lstrlenA" (ByVal lpString As String) As Long
  6.  
  7. Const sEmpty = ""
  8. Const cMaxPath = 260
  9. Const cmDbl = """"
  10.  
  11. Public Function getDeeperPath(Folder As String) As String
  12. 'Function does not check if Folder is a valid path name
  13. 'Folder must NOT end with backslash (\)
  14.  
  15. Dim tmpFilePath As String
  16. Dim sComm As String
  17. Dim taskId As Long
  18. Dim sLine As String
  19. Dim lDepth As Long
  20. Dim mPaths() As String
  21. Dim curDeeperFolder As String
  22.  
  23. tmpFilePath = GetTempFile
  24.  
  25. sComm = "cmd /c dir " + cmDbl + Folder + "\*" + cmDbl + " /ad /s /b > " + cmDbl + tmpFilePath + cmDbl
  26.  
  27. Err.Clear
  28. On Error GoTo Hell
  29.  
  30. taskId = Shell(sComm, vbHide)
  31.  
  32. Do While FileLen(tmpFilePath) = 0
  33.    DoEvents
  34. Loop
  35.  
  36. lDepth = 0
  37. curDeeperFolder = sEmpty
  38. Open tmpFilePath For Input Access Read As #1
  39. Do While Not EOF(1)
  40.    Line Input #1, sLine
  41.    If sLine <> sEmpty Then
  42.        If InStr(1, sLine, "\") > 0 Then
  43.            mPaths = Split(sLine, "\")
  44.            If UBound(mPaths) > lDepth Then
  45.                lDepth = UBound(mPaths)
  46.                curDeeperFolder = sLine
  47.            End If
  48.        End If
  49.    End If
  50. Loop
  51. Close #1
  52. Kill tmpFilePath
  53.  
  54. getDeeperPath = curDeeperFolder
  55. Exit Function
  56. Hell:
  57.    MsgBox "Error in getDeeperPath: " & Err.Description
  58. End Function
  59.  
  60. Function GetTempDir() As String
  61. Dim sRet As String, c As Long
  62.  
  63. sRet = String(cMaxPath, 0)
  64. c = GetTempPath(cMaxPath, sRet)
  65. 'If c = 0 Then ApiRaise Err.LastDllError
  66. GetTempDir = Left$(sRet, c)
  67. End Function
  68.  
  69. Function GetTempFile(Optional Prefix As String, Optional PathName As String) As String
  70. Dim sRet As String
  71.  
  72. If Prefix = sEmpty Then Prefix = sEmpty
  73. If PathName = sEmpty Then PathName = GetTempDir
  74.  
  75. sRet = String(260, 0)
  76. GetTempFileName PathName, Prefix, 0, sRet
  77. 'GetTempFile = GetFullPath(StrZToStr(sRet))
  78. GetTempFile = StrZToStr(sRet)
  79. End Function
  80.  
  81. ' Strip junk at end from null-terminated string
  82. Function StrZToStr(s As String) As String
  83.    StrZToStr = Left$(s, lstrlen(s))
  84. End Function
  85.  
4739  Programación / Programación Visual Basic / Re: [RETO] Ruta más oculta en: 11 Enero 2013, 23:53 pm
Tampoco tengo VB acá, pero se me ocurre hacer un comando dir, guardar el resultado en un txt y parsear lineas buscando la que tiene mas barras "\", osea, el path mas profundo.

El comando dir sería:

Código:
dir * /ad /s /b > c:\lista.txt

donde "c:\lista.txt" sería el path completo al archivo donde se guardan los dirs.
Despues se abre, se recorre linea 1 a 1 y se devuelve la mas profunda (contando las barras invertidas "\")

Si hago tiempo subo code.

Saludos!
4740  Seguridad Informática / Hacking / Re: Obtener contraseñas de correo mediante Análisis Forense en Memoria RAM en: 10 Enero 2013, 04:07 am
Usando algunos filtros locos, la pass parece ser: Sup3rmFn*41092=gmail

Aunque no estoy seguro del 4 y el asterisco  :huh:

De todas formas, la probé y no funciona...  :P

Saludos!
Páginas: 1 ... 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 [474] 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 ... 620
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines