Comments (3)
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.
#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.
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)
- after creating a simple payload for android it is not intaling in andrioid i dont know whats wronge I allowed instalation from unknow sources everthing is updated the payloads was installing before i used a tool called evil-droid and remove its apktool.jar file and replaced it with lastest one (i dont know)
- auxiliary/scanner/http/softing_sis_login no longer supports modern versions
- Intellisense with Ruby-LSP HOT 10
- auxiliary/scanner/oracle/oracle_login Cannot locate nmap binary HOT 2
- Use mysql database? HOT 4
- Judge0 sandbox escape
- Linux LPE (CVE-2024-1086)
- Android Overhaul HOT 1
- Delete hosts without services msf_db
- Spring Data MongoDB SpEL Injection [CVE-2022-22980] HOT 1
- Metasploit crashes when tab completing a partial path HOT 1
- Meterpreter hashdump extracts hashes from LSASS, and not from the SAM database HOT 4
- plzzz someone answer ;( how to auto connect android/metrerpreter/reverse_tcp even though the cellphone is off and then on again || and please find the solution for IP - Meterpreter session closed. Reason: Died
- Grafana SQL Injection "feature" HOT 1
- multi/http/tomcat_mgr_deploy and multi/http/tomcat_mgr_upload not working (anymore) in latest Metasploit versions against Tomcat 5.5 in Metasploitable 2 HOT 6
- Unable to start metasploit-framework on Fedora 40 - libcrypt.so.1: cannot open shared object file
- how do android/meterpreter/reverse_tcp auto connect to the session even after rebooting, so the target no longer needs to click on the payload app
- Won't load. HOT 7
- Infinite loop when waiting on a socket with no remote part
- Developing users enumeration module HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metasploit-framework.