Metasploit mailing list archives

Re: Making bind_tcp bind only to localhost


From: pvv <pvv () tormail net>
Date: Tue, 13 Sep 2011 21:41:29 +0000

Use the build script here to compile all the stubs.

$ cd msf/trunk/external/source/shellcode/windows/x86
$ python build.py all 
(...)
src/stager/stager_reverse_http.asm:17: fatal: unable to open include file `./src/block/block_reverse_http.asm'
[-]  [Errno 2] No such file or directory: 'bin/stager_reverse_http.bin'

Happens with a current SVN checkout and 4.0, too.

I also tried "./build.sh stager_bind_tcp" in the parent directory,
but it gave an output different to what's included in bind_tcp.rb.

You will need to implement a way to patch the bind address into the
shellcode at runtime during generate.

To hardcode 127.0.0.1 is aiming high enough for me. :)
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


Current thread: