Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ashutosh1206
GitHub Repository: ashutosh1206/crypton
Path: blob/master/Block-Cipher/Attack-ECB-Byte-at-a-Time/Challenges/Baby-Crypt/Dockerfile
1402 views
FROM ubuntu:14.04

RUN apt-get update && apt-get install -y python python-crypto socat
COPY ./baby_crypt.py /opt/baby_crypt.py
RUN chmod +x /opt/baby_crypt.py

CMD socat -T60 TCP-LISTEN:8000,reuseaddr,fork EXEC:"python -u /opt/baby_crypt.py"