+ Responder Tema
Resultados 1 al 2 de 2
  1. #1
    Fecha de Ingreso
    14 sep, 08
    Ubicación
    aldea oculta del troyano
    Mensajes
    2,100
    Say 'Thank You!' for this post.
    0 For This Post
    191 Total
    Points
    28,948
    Level
    99

    Predeterminado Agregar EOF A Crypters By masangel

    [Dear Guest/Member you can't see link before replyclick here to register]


    Código PHP:
    Modulo De EOF
    Public Function ReadEOFData(sFilePath As String) As String
    On Error GoTo Err
    :
    Dim sFileBuf As StringsEOFBuf As StringsChar As String
    Dim lFF 
    As LonglPos As LonglPos2 As LonglCount As Long
    If Dir(sFilePath) = "" Then GoTo Err:
    lFF FreeFile
    Open sFilePath 
    For Binary As #lFF
    sFileBuf Space(LOF(lFF))
    Get #lFF, , sFileBuf
    Close #lFF
    lPos InStr(1StrReverse(sFileBuf), GetNullBytes(30))
    sEOFBuf = (Mid(StrReverse(sFileBuf), 1lPos 1))
    ReadEOFData StrReverse(sEOFBuf)
    If 
    ReadEOFData "" Then
    MsgBox 
    "EOF data was not detected!"vbInformation"Info"
    End If
    Exit Function
    Err:
    ReadEOFData vbNullString
    End 
    Function
    Sub WriteEOFData(sFilePath As StringsEOFData As String)
    Dim sFileBuf As String
    Dim lFF 
    As Long
    On Error Resume Next
    If Dir(sFilePath) = "" Then Exit Sub
    lFF 
    FreeFile
    Open sFilePath 
    For Binary As #lFF
    sFileBuf Space(LOF(lFF))
    Get #lFF, , sFileBuf
    Close #lFF
    Kill sFilePath
    lFF 
    FreeFile
    Open sFilePath 
    For Binary As #lFF
    Put #lFF, , sFileBuf & sEOFData
    Close #lFF
    End Sub
    Public Function GetNullBytes(lNum) As String
    Dim sBuf 
    As String
    Dim i 
    As Integer
    For 1 To lNum
    sBuf 
    sBuf Chr(0)
    Next
    GetNullBytes 
    sBuf
    End 
    Function 
    Videotutorial
    You must click 'Thank You' before you can see the data contained here.
    You do not have sufficient rights to see the hidden data contained here.


    saludos


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    Citar Citar
    Thanks

  2. #2
    Fecha de Ingreso
    28 may, 09
    Ubicación
    Castellon, España
    Mensajes
    259
    Say 'Thank You!' for this post.
    0 For This Post
    79 Total
    Points
    7,704
    Level
    58

    Predeterminado

    grandisimo aporte, cada vez estoy mas cerca de tener mi propio crypter
    sigue posteando cosas de este tipo, que siempre sirven de algo jeje

    salu2

    EDITO: donde se agrega ese code? al stub?

    EDITO OTRA VEZ: ya esta, tranquilo, despues de ver el tuto ya tengo la duda resuelta jeje, perdon por las molestias

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

    "El ordenador no es una máquina inteligente que ayuda a gente estúpida, de hecho, es una estúpida máquina que funciona sólo en manos de gente inteligente"

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    Citar Citar
    Thanks

Etiquetas para este Tema

Permisos de Publicación

  • No puedes crear nuevos temas
  • No puedes responder temas
  • No puedes subir archivos adjuntos
  • No puedes editar tus mensajes