add caps to ruby
parent
e93ed889df
commit
eb525840cd
|
@ -45,6 +45,8 @@ RUN chmod o+r /usr/local/bundle/gems/robots-*/lib/robots.rb
|
|||
|
||||
RUN adduser -g msfconsole -D $MSF_USER
|
||||
|
||||
RUN /usr/sbin/setcap cap_net_raw,cap_net_bind_service=+eip $(which ruby)
|
||||
|
||||
USER $MSF_USER
|
||||
|
||||
ADD ./ $APP_HOME
|
||||
|
|
Loading…
Reference in New Issue