File tree 6 files changed +49
-16
lines changed
6 files changed +49
-16
lines changed Original file line number Diff line number Diff line change @@ -152,4 +152,8 @@ server {
152
152
location /scanviz {
153
153
proxy_pass http://127.0.0.1:64303/spiderfoot/scanviz;
154
154
}
155
+
156
+ location /scandelete {
157
+ proxy_pass http://127.0.0.1:64303/spiderfoot/scandelete;
158
+ }
155
159
}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ RUN apk -U upgrade && \
16
16
python-dev \
17
17
py-pip \
18
18
py-setuptools && \
19
- apk -U add --repository https ://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
19
+ apk -U add --repository http ://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
20
20
py-qt && \
21
21
22
22
# Setup user
@@ -31,7 +31,7 @@ RUN apk -U upgrade && \
31
31
pyopenssl \
32
32
qt4reactor \
33
33
service_identity \
34
- rsa pyasn1==0.3.4 && \
34
+ rsa pyasn1 && \
35
35
cd rdpy && \
36
36
python setup.py install && \
37
37
@@ -43,6 +43,7 @@ RUN apk -U upgrade && \
43
43
# Clean up
44
44
rm -rf /root/* && \
45
45
apk del --purge build-base \
46
+ git \
46
47
libffi-dev \
47
48
openssl-dev \
48
49
python-dev \
@@ -51,4 +52,5 @@ RUN apk -U upgrade && \
51
52
rm -rf /var/cache/apk/*
52
53
53
54
# Start rdpy
55
+ USER rdpy:rdpy
54
56
CMD /usr/bin/python2 -i /usr/bin/rdpy-rdphoneypot.py /home/rdpy/1 /home/rdpy/2 /home/rdpy/3 >> /var/log/rdpy/rdpy.log
Original file line number Diff line number Diff line change 1
1
FROM alpine
2
- MAINTAINER MO
3
2
4
3
# Get and install dependencies & packages
5
4
RUN apk -U upgrade && \
6
- apk add bash build-base curl git libxml2-dev libxslt-dev openssl-dev procps python-dev py-lxml py-netaddr py-mako py-pip py-setuptools py-requests swig && \
7
- apk -U add --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ \
8
- py-beautifulsoup4 py-cherrypy && \
9
- pip install m2crypto && \
5
+ apk add bash \
6
+ build-base \
7
+ curl \
8
+ git \
9
+ libxml2-dev \
10
+ libxslt-dev \
11
+ openssl-dev \
12
+ procps \
13
+ python-dev \
14
+ py-lxml \
15
+ py-netaddr \
16
+ py-mako \
17
+ py-pip \
18
+ py-setuptools \
19
+ py-requests \
20
+ swig && \
21
+ pip install cherrypy \
22
+ bs4 \
23
+ m2crypto && \
10
24
11
25
# Setup user
12
26
addgroup -g 2000 spiderfoot && \
13
27
adduser -S -s /bin/bash -u 2000 -D -g 2000 spiderfoot && \
14
28
15
29
# Install spiderfoot
16
- git clone https://github.com/smicallef/spiderfoot -b v2.11 .0-final /home/spiderfoot && \
30
+ git clone https://github.com/smicallef/spiderfoot -b v2.12 .0-final /home/spiderfoot && \
17
31
chown -R spiderfoot:spiderfoot /home/spiderfoot && \
18
32
sed -i "s#'__docroot': ''#'__docroot': '\/ spiderfoot'#" /home/spiderfoot/sf.py && \
19
33
sed -i 's#raise cherrypy.HTTPRedirect("\/ ")#raise cherrypy.HTTPRedirect("\/ spiderfoot")#' /home/spiderfoot/sfwebui.py && \
20
34
21
35
# Clean up
22
- apk del build-base git libxml2-dev libxslt-dev openssl-dev python-dev py-pip py-setuptools && \
23
- apk add openssl libxml2 libxslt python && \
36
+ apk del --purge build-base \
37
+ git \
38
+ libxml2-dev \
39
+ libxslt-dev \
40
+ openssl-dev \
41
+ python-dev \
42
+ py-pip \
43
+ py-setuptools && \
44
+ apk add openssl \
45
+ libxml2 \
46
+ libxslt \
47
+ python && \
24
48
rm -rf /var/cache/apk/*
25
49
26
50
# Healthcheck
27
51
HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:8080'
28
52
29
53
# Set user, workdir and start spiderfoot
30
- USER spiderfoot
54
+ USER spiderfoot:spiderfoot
31
55
WORKDIR /home/spiderfoot
32
56
CMD ["/usr/bin/python" , "sf.py" , "0.0.0.0:8080" ]
Original file line number Diff line number Diff line change 1
1
# T-Pot (Standard)
2
2
# For docker-compose ...
3
- version : ' 2.1 '
3
+ version : ' 2.2 '
4
4
5
5
networks :
6
6
spiderfoot_local :
@@ -9,12 +9,13 @@ services:
9
9
10
10
# Spiderfoot service
11
11
spiderfoot :
12
+ build : .
12
13
container_name : spiderfoot
13
14
restart : always
14
15
networks :
15
16
- spiderfoot_local
16
17
ports :
17
18
- " 127.0.0.1:64303:8080"
18
- image : " dtagdevsec/spiderfoot:1710 "
19
+ image : " dtagdevsec/spiderfoot:1804 "
19
20
volumes :
20
21
- /data/spiderfoot/spiderfoot.db:/home/spiderfoot/spiderfoot.db
Original file line number Diff line number Diff line change @@ -162,13 +162,14 @@ services:
162
162
163
163
# Spiderfoot service
164
164
spiderfoot :
165
+ build : .
165
166
container_name : spiderfoot
166
167
restart : always
167
168
networks :
168
169
- spiderfoot_local
169
170
ports :
170
171
- " 127.0.0.1:64303:8080"
171
- image : " dtagdevsec/spiderfoot:1710 "
172
+ image : " dtagdevsec/spiderfoot:1804 "
172
173
volumes :
173
174
- /data/spiderfoot/spiderfoot.db:/home/spiderfoot/spiderfoot.db
174
175
Original file line number Diff line number Diff line change @@ -257,7 +257,8 @@ services:
257
257
- rdpy_local
258
258
ports :
259
259
- " 3389:3389"
260
- image : " dtagdevsec/rdpy:1710"
260
+ image : " dtagdevsec/rdpy:1804"
261
+ read_only : true
261
262
volumes :
262
263
- /data/rdpy/log:/var/log/rdpy
263
264
@@ -269,7 +270,7 @@ services:
269
270
- spiderfoot_local
270
271
ports :
271
272
- " 127.0.0.1:64303:8080"
272
- image : " dtagdevsec/spiderfoot:1710 "
273
+ image : " dtagdevsec/spiderfoot:1804 "
273
274
volumes :
274
275
- /data/spiderfoot/spiderfoot.db:/home/spiderfoot/spiderfoot.db
275
276
You can’t perform that action at this time.
0 commit comments