Skip to content

hackcat105/shellshock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shellshock

Dockerfile

FROM ubuntu:20.04

# for apt to be noninteractive
ENV DEBIAN_FRONTEND noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN true

RUN apt-get update
RUN apt-get install -y libncurses5
RUN apt-get install -y iproute2
RUN apt-get -qq install -y apache2
RUN apt-get install -y supervisor
COPY ./bash /bin/bash
RUN a2enmod cgid

RUN mkdir /var/www/cgi-bin
COPY ./test-cgi.sh /var/www/cgi-bin/
RUN chmod 755 /var/www/cgi-bin/test-cgi.sh
COPY ./serve-cgi-bin.conf /etc/apache2/conf-available/serve-cgi-bin.conf
COPY ./000-default.conf /etc/apache2/site-available/000-default.conf
COPY ./supervisord.conf /supervisord.conf
EXPOSE 80
ENTRYPOINT ["supervisord", "-c", "/supervisord.conf"]

Docker Build

sudo docker build -t shellshock .

Docker Run

sudo docker run -it -p 8080:80 --name hackcat105 shellshock

Youtube

shellshock

About

從漏洞靶機建立到概念驗證

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages