zMarch / Orc

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

Search home 01 #41

Closed UlrichBerntien closed 5 years ago

UlrichBerntien commented 5 years ago

The /dev/shm directory could be mounted as noexec. The merge contains a new function orc_makeHome to search a home directory where chmod +x is possible. If no directory was found, then the /dev/shm/.q directory is used as fallback option. Later more possible home directories to test could be added in the function orc_makeHome. All /dev/shm/.q reference in the script are change to $HOME.