Closed fecosco closed 6 years ago
Shows as open for me. Paste your Nmap commands.
Sorry,
MSF ver is v4.16.13-dev nmap -sV -T4 -O -F --version-light 10.2.0.110 -p <port 443, 80, 8080, any port used in msf>
-F
is incompatible with -p
, btw.
msf > use exploit/multi/handler
msf exploit(multi/handler) > set payload windows/x64/meterpreter/reverse_https
payload => windows/x64/meterpreter/reverse_https
msf exploit(multi/handler) > set lhost [redacted]
lhost => [redacted]
msf exploit(multi/handler) > set lport 443
lport => 443
msf exploit(multi/handler) > set exitonsession false
exitonsession => false
msf exploit(multi/handler) > run -j
[*] Exploit running as background job 0.
msf exploit(multi/handler) >
[*] Started HTTPS reverse handler on https://[redacted]:443
[*] https://[redacted]:443 handling request from [redacted]; (UUID: hrzqu8av) Unknown request to with UA ''
root@hiigara:~# nmap -sV -T4 -O --version-light [redacted] -p 443,80,8080
Starting Nmap 7.60 ( https://nmap.org ) at 2017-12-22 06:11 CST
Nmap scan report for [redacted]
Host is up (0.00022s latency).
PORT STATE SERVICE VERSION
80/tcp closed http
443/tcp open ssl/http Apache httpd
8080/tcp closed http-proxy
Device type: general purpose
Running: Linux 3.X|4.X
OS CPE: cpe:/o:linux:linux_kernel:3 cpe:/o:linux:linux_kernel:4
OS details: Linux 3.8 - 4.9
Network Distance: 0 hops
OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 13.73 seconds
root@hiigara:~#
Check your networking once again.
I found the problem, it works without DisablePayloadHandler set to true.
That's because DisablePayloadHandler
disables the payload handler.
Some times when use Multi/Handler on Kali (debian and ubuntu shows the same issues some times) it can't listen to conections, web_delivery works well.... so... there is no lan issues.... folow steps:
When scan with nmap, port 443 is closed:
Now, look the same enviroment with working psh_web_delivery
When scan with nmap, port 8080 ans 80 are opened: