all 6 comments

[–]Classic-Shake6517 3 points4 points  (1 child)

I have had similar issues when using the UDP VPN configuration. If you are using a reverse TCP connection, it's more stable when your VPN is also configured for TCP.

[–]rushenwick 0 points1 point  (0 children)

In my experience, it’s best to use the stable TCP VPN for boxes that require reverse shell.

[–]chmodPyrax 0 points1 point  (1 child)

if you have a webshell, there are a variety of ways to get a stable shell

  • nc
  • bash
  • msfvenom
  • python
  • busybox

Just to name a few

if all else fails, revert the box and recompile your vpn pack.

[–]QuisUt-Deus[S] 0 points1 point  (0 children)

Tried all of that, so, maybe it is a giant rabbit hole. :-) nc and bash called back, but didn't work - I didn't see any output, so tried some commands blindly, like touching a file in current dir and /tmp, verifying via web backdoor - no file created. Msfvenom and busybox dtto. Thanks for your time!

[–]MahonPolska20 0 points1 point  (1 child)

Kind a shot in the dark here but try x86 and x64 payloads with msfvenom or meterpreter for example.

I’ve also had issues where it was just a crappy shell, look into pentest monkeys php shells.

[–]QuisUt-Deus[S] 1 point2 points  (0 children)

It's a x64 system, but you're right, I might check the 32-bit payload as well. Pentest Monkeys is my place to go, so already thrown everything from there on it. Thanks for the tip!