Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Usage: docker run --rm -v .:/data -v .:/opt/sharpshooter/output -it sharpshooter --payload js --dotnetver 4 --stageless --rawscfile /data/shellcode.bin --output test
FROM python:2.7

ENV dir=/opt/sharpshooter

ADD . $dir

WORKDIR $dir

# Upgrade `setuptools`, otherwise you'll get an 'egg_info' error.
RUN pip2 install --upgrade setuptools && \
# Finally, install the requirements.
pip2 install -r requirements.txt

VOLUME /data
ENTRYPOINT ["python2", "SharpShooter.py"]