mirror of
				https://github.com/telekom-security/tpotce.git
				synced 2025-10-30 20:12:53 +00:00 
			
		
		
		
	bump adbhoney to latest master with py3 support
This commit is contained in:
		
							parent
							
								
									878538e3df
								
							
						
					
					
						commit
						02bdc8194a
					
				
					 1 changed files with 6 additions and 6 deletions
				
			
		|  | @ -4,11 +4,11 @@ FROM alpine | ||||||
| ADD dist/ /root/dist/ | ADD dist/ /root/dist/ | ||||||
| # | # | ||||||
| # Install packages | # Install packages | ||||||
| RUN apk -U --no-cache add \ | RUN apk -U add \ | ||||||
|             git \ |             git \ | ||||||
|             libcap \ |             libcap \ | ||||||
|             python \ |             python3 \ | ||||||
|             python-dev && \ |             python3-dev && \ | ||||||
| # | # | ||||||
| # Install adbhoney from git | # Install adbhoney from git | ||||||
|     git clone --depth=1 https://github.com/huuck/ADBHoney /opt/adbhoney && \ |     git clone --depth=1 https://github.com/huuck/ADBHoney /opt/adbhoney && \ | ||||||
|  | @ -20,11 +20,11 @@ RUN apk -U --no-cache add \ | ||||||
|     addgroup -g 2000 adbhoney && \ |     addgroup -g 2000 adbhoney && \ | ||||||
|     adduser -S -H -s /bin/ash -u 2000 -D -g 2000 adbhoney && \ |     adduser -S -H -s /bin/ash -u 2000 -D -g 2000 adbhoney && \ | ||||||
|     chown -R adbhoney:adbhoney /opt/adbhoney && \ |     chown -R adbhoney:adbhoney /opt/adbhoney && \ | ||||||
|     setcap cap_net_bind_service=+ep /usr/bin/python2.7 && \ |     setcap cap_net_bind_service=+ep /usr/bin/python3.7 && \ | ||||||
| # | # | ||||||
| # Clean up | # Clean up | ||||||
|     apk del --purge git \ |     apk del --purge git \ | ||||||
|                     python-dev && \ |                     python3-dev && \ | ||||||
|     rm -rf /root/* && \ |     rm -rf /root/* && \ | ||||||
|     rm -rf /var/cache/apk/* |     rm -rf /var/cache/apk/* | ||||||
| # | # | ||||||
|  | @ -32,4 +32,4 @@ RUN apk -U --no-cache add \ | ||||||
| STOPSIGNAL SIGINT | STOPSIGNAL SIGINT | ||||||
| USER adbhoney:adbhoney | USER adbhoney:adbhoney | ||||||
| WORKDIR /opt/adbhoney/ | WORKDIR /opt/adbhoney/ | ||||||
| CMD nohup /usr/bin/python run.py | CMD nohup /usr/bin/python3 run.py | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 t3chn0m4g3
						t3chn0m4g3