Metasploit mailing list archives

Re: asm to hex, with a random string


From: AK <platsakos () gmail com>
Date: Fri, 27 Apr 2012 11:39:25 +0200

The question is not entirely clear to me but if by string you mean
something along the lines of changing for example /bin/bash to /tmp/tcsh
or something, indeed you can do that, provided that you keep endianess
and other factors in mind. Why is this useful?

On 4/18/12 7:09 PM, David3 Gonnella wrote:
Hi guys,
In my research i am trying to convert an assembly to a shellcode (and if
works to a msf module..) by assembling it on different architectures
to get the hex of the fresh binary.

I don't know if this is the most cleaner practice (if not just point me
pls..), but the big question is: is there a way to customize an hard
coded string with a random one of the same length, straight in the
assembly code?

Any help would be really appreciated.
Thanks

David
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


Current thread: