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:
|
services:
|
||||||
proxy-server:
|
proxy-server:
|
||||||
build:
|
image: proxy-server:latest
|
||||||
context: ./proxy
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
network: host
|
|
||||||
image: proxy-server
|
|
||||||
container_name: proxy-server
|
container_name: proxy-server
|
||||||
networks:
|
networks:
|
||||||
- server
|
- server
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
|
|
||||||
web-server:
|
web-server:
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
container_name: web-server
|
container_name: web-server
|
||||||
networks:
|
networks:
|
||||||
- server
|
- server
|
||||||
ports:
|
|
||||||
- "80:80"
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
server:
|
server:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
FROM python:slim
|
FROM python:alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
EXPOSE 80
|
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):
|
class Custom_HTTP_Server(HTTP_Server):
|
||||||
def answer(self, pkt):
|
def answer(self, pkt):
|
Loading…
Add table
Add a link
Reference in a new issue