Saataa andagii !
This commit is contained in:
parent
babfe360b6
commit
77339d0c7c
5 changed files with 8 additions and 11 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.venv/
|
|
@ -1,22 +1,17 @@
|
|||
services:
|
||||
proxy-server:
|
||||
build:
|
||||
context: ./proxy
|
||||
dockerfile: Dockerfile
|
||||
network: host
|
||||
image: proxy-server
|
||||
image: proxy-server:latest
|
||||
container_name: proxy-server
|
||||
networks:
|
||||
- server
|
||||
- server
|
||||
ports:
|
||||
- "8080:80"
|
||||
|
||||
web-server:
|
||||
image: nginx:latest
|
||||
container_name: web-server
|
||||
networks:
|
||||
- server
|
||||
ports:
|
||||
- "80:80"
|
||||
|
||||
networks:
|
||||
server:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FROM python:slim
|
||||
FROM python:alpine
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN pip install -r requirements.txt
|
||||
EXPOSE 80
|
||||
CMD ["python", "main.py"]
|
||||
CMD python main.py
|
|
@ -1,4 +1,5 @@
|
|||
from scapy.all import *
|
||||
from scapy.layers.http import *
|
||||
from scapy.layers.ntlm import *
|
||||
|
||||
class Custom_HTTP_Server(HTTP_Server):
|
||||
def answer(self, pkt):
|
Loading…
Add table
Add a link
Reference in a new issue