When I use the Hikvision CVE 2021 36260 exploit in Metasploit, it comes up with a strange, almost never-seen-before error
Command shell session x is not valid and will be closed. There is no other error message.
Options upon execution (payload is default
RHOSTS: Target IP RPORT: 81 SRVHOST: Local (VPN) IP SRVPORT: 81 SSL: false SSLCert: TARGETURI: / URIPATH: VHOST: LOGIN_CMD: whoami LPORT: 81 RHOST: (Target IP)
When I use a different port such as 4444, I get no error message and it just displays 'exploit completed, but no session was created.
I'm running msf6 on a virtual machine with the network bridged (as if it is its own computer and not disguising it to the host machine's IP). Also worth mentioning I'm using a VPN too. Any ideas?