File: full.Dockerfile

package info (click to toggle)
stegcracker 2.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,576 kB
  • sloc: python: 611; makefile: 3
file content (40 lines) | stat: -rw-r--r-- 1,055 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Inherit from the base Alpine image
FROM "python:3.8-alpine"

# Image metadata
LABEL name="StegCracker"
LABEL description="Steganography brute-force utility" 
LABEL version="v2.0.9"
LABEL maintainer="Paradoxis" 
LABEL website="https://github.com/Paradoxis/StegCracker/tree/v2.0.9"
LABEL license="MIT"

# Install dependencies
RUN apk update
RUN apk add steghide bash tar curl \
  --repository https://dl-3.alpinelinux.org/alpine/edge/testing

# Install default wordlist
RUN mkdir -p /usr/local/bin/ /usr/share/wordlists/

RUN curl -s -L -o \
  /usr/share/wordlists/rockyou.txt.tar.gz \
  https://github.com/danielmiessler/SecLists/raw/master/Passwords/Leaked-Databases/rockyou.txt.tar.gz

RUN tar xzf \
  /usr/share/wordlists/rockyou.txt.tar.gz \
  -C /usr/share/wordlists/

# Install StegCracker
WORKDIR /tmp/
COPY stegcracker /tmp/stegcracker
COPY setup.py README.md /tmp/
RUN pip install .
RUN rm -rf /tmp/stegcracker /tmp/setup.py /tmp/README.md

# Set data directory
VOLUME /data
WORKDIR /data

# Entrypoint
ENTRYPOINT ["/usr/local/bin/stegcracker"]