-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (23 loc) · 750 Bytes
/
Dockerfile
File metadata and controls
30 lines (23 loc) · 750 Bytes
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
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y
RUN apt-get install python3 python3-pip ipython3 wget -y
RUN apt-get install firefox -y
RUN apt-get install sqlite3 -y
RUN apt-get install libpcap0.8 -y
RUN apt-get install mitmproxy -y
WORKDIR /home/Cookietective
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY Dockerfile .
COPY database.db .
COPY crawler/ ./crawler
COPY traffic_parser/ ./traffic_parser
COPY sql/ ./sql
COPY sample_urls.txt .
COPY cookie.sh .
COPY mitmproxy-ca-cert.crt .
RUN sqlite3 database.db "delete from cnamepackets" ".exit"
RUN sqlite3 database.db "delete from cookie" ".exit"
RUN sqlite3 database.db "delete from ip" ".exit"
ENTRYPOINT ["bash", "cookie.sh"]