zMarch / Orc

Orc is a post-exploitation framework for Linux written in Bash
MIT License
390 stars 51 forks source link

add selection of hash or type command #63

Closed UlrichBerntien closed 5 years ago

UlrichBerntien commented 5 years ago

A check for a program or shell command could be executed by a hash or a type command. The hash command works in the bash and dash but not in the ksh. The type command works in bash, dash and ksh but is not POSIX conform.

So try to figure out which command works and define an alias to the command.