Skip to content

Instantly share code, notes, and snippets.

from pathlib import Path
import sys
def read_lines(filename):
with open(filename, encoding='utf-8') as f:
return f.readlines()
def write_lines(filename, lines):
@stash4
stash4 / Dockerfile
Created July 24, 2018 11:22
for WOWHoneypot
FROM debian:jessie-slim
RUN groupadd -g 1000 wow && \
useradd -g 1000 -d /wow -m -g wow wow
RUN apt-get update && \
apt-get install -y git python3 nano
RUN su - wow -c "git clone https://github.com/morihisa/WOWHoneypot.git /wow/wowhoneypot"
USER wow
WORKDIR /wow/wowhoneypot