Git Product home page Git Product logo

Comments (3)

sempervictus avatar sempervictus commented on June 4, 2024

Are you trying to start a Rex::Socket::TcpServer on a remote host by hostname?

This won't play well because the only proper way to do that (aside from the IRB trick you taught me) is to add a route to the remote host's IP, once its in the switchboard rex can start sockets on it. Problem is that we dont have name resolution for hosts on the switchboard IIRC. Spoke with HDM about the remote servers as well, primarily to do a rev-portfwd but also to start things like http servers/session handlers on remote (which we can do now), and we would ideally have each host's available IP addrs enumerated on session start and added to the switchboard. Even if that were done, you'd still have the problem of a host with multiple IPs having a single hostname so starting the TcpServer would either require an iface or it would need to start on all iface's which resolve to that hostname locally. Calling a gethostbyname for the local machine name should give us all the IPs though... hmm.

from metasploit-framework.

sempervictus avatar sempervictus commented on June 4, 2024

#579 Should bring us closer to being able to resolve on the fly. Still need to have nameservers defined for routed subnets, but now we can use net-dns over Rex to do the resolution.

from metasploit-framework.

todb-r7 avatar todb-r7 commented on June 4, 2024

This kind of looks more like a mailing list discussion at this point, and less like a bug report or feature request. If it's not, please open a bug on Redmine?

from metasploit-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.