Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Server/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ def verify_file_signature(self):
b"%PDF": "PDF Document",
b"PK\x03\x04": "ZIP/Office Archive",
b"MZ": "Executable (Warning)",
b"\xd4\xc3\xb2\xa1": "PCAP Network Capture (Little Endian)",
b"\xa1\xb2\xc3\xd4": "PCAP Network Capture (Big Endian)",
b"\x0a\x0d\x0d\x0a": "PCAPNG Network Capture",
}
try:
with open(self.evidence_path, "rb") as f:
Expand Down
1 change: 0 additions & 1 deletion Server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],
allow_credentials=True,
)


Expand Down
Loading