Codebase list kali-menu / 659a1167-7b9c-490e-80d9-a014368b68c0/main exec-in-shell
659a1167-7b9c-490e-80d9-a014368b68c0/main

Tree @659a1167-7b9c-490e-80d9-a014368b68c0/main (Download .tar.gz)

exec-in-shell @659a1167-7b9c-490e-80d9-a014368b68c0/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