Skip to content

Commit

Permalink
create /root/.ssh directory in dynamic analysis Dockerfile (#901)
Browse files Browse the repository at this point in the history
* create /root/.ssh directory in dynamic analysis Dockerfile

Signed-off-by: Max Fisher <[email protected]>

* add realistic mode to .ssh dir

Signed-off-by: Max Fisher <[email protected]>

---------

Signed-off-by: Max Fisher <[email protected]>
  • Loading branch information
maxfisher-g authored Sep 22, 2023
1 parent 26f3516 commit b98d966
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sandboxes/dynamicanalysis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ RUN apt-get update && apt-get -y upgrade && apt-get install -y --no-install-reco
# Configure sudo for passwordless execution
RUN echo "ALL ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

# Create ssh directory for root
RUN mkdir -m 0700 /root/.ssh

#
# PHP setup
#
Expand Down

0 comments on commit b98d966

Please sign in to comment.