Codebase list kali-menu / 448ced64-3476-4593-98a0-41272481f39f/main exec-in-shell
448ced64-3476-4593-98a0-41272481f39f/main

Tree @448ced64-3476-4593-98a0-41272481f39f/main (Download .tar.gz)

exec-in-shell @448ced64-3476-4593-98a0-41272481f39f/mainraw · history · blame

1
2
3
4
5
6
7
8
#!/usr/bin/env sh

echo "$ $@"
eval $@

USER=${USER:-$(whoami)}
SHELL=${SHELL:-$(getent passwd $USER | cut -d: -f7)}
${SHELL:-bash} -i