You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, bash script links (ending in .sh), try and temporarily write the file in whatever directory it is run.
However, often when popping web RCE, the invoking user doesn't have permission to write in the current directory.
It would be cool if the script were to first try other folders like /tmp, /dev/shm, etc, before resorting to writing in the current directory.
Thank :)
The text was updated successfully, but these errors were encountered:
Huh, I was of the impression that if the script could be written to the current directory, it would also be able to write the binary. I'll have a look into this.
My only concern, is that people often set noexec on /tmp
Currently, bash script links (ending in
.sh
), try and temporarily write the file in whatever directory it is run.However, often when popping web RCE, the invoking user doesn't have permission to write in the current directory.
It would be cool if the script were to first try other folders like /tmp, /dev/shm, etc, before resorting to writing in the current directory.
Thank :)
The text was updated successfully, but these errors were encountered: