Metasploit mailing list archives
Re: Making bind_tcp bind only to localhost
From: egypt () metasploit com
Date: Tue, 13 Sep 2011 16:52:44 -0600
I'm quite curious what you want this for. If you only bind to 127.0.0.1, you can only reach the handler from 127.0.0.1... egypt On Tue, Sep 13, 2011 at 3:41 PM, pvv <pvv () tormail net> wrote:
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
_______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
Current thread:
- Making bind_tcp bind only to localhost pvv (Sep 12)
- Re: Making bind_tcp bind only to localhost HD Moore (Sep 12)
- Re: Making bind_tcp bind only to localhost pvv (Sep 13)
- Message not available
- Message not available
- Re: Making bind_tcp bind only to localhost pvv (Sep 13)
- Re: Making bind_tcp bind only to localhost egypt (Sep 13)
- Re: Making bind_tcp bind only to localhost Tod Beardsley (Sep 13)
- Re: Making bind_tcp bind only to localhost HD Moore (Sep 12)