DragonFlyBSD Kernel Audit
DF-0624 / build.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
8
9
# DF-0624 — build the malicious SMB1 server (host-side Python, stdlib only).
# The kernel-side fix is built via nativekernel (see VERDICT.md / fix.diff).
set -e
cd "$(dirname "$0")"
echo "Compiling-check malicious_smb_server.py..."
python3 -c "import py_compile,sys; py_compile.compile('malicious_smb_server.py', doraise=True); print('syntax OK')"
chmod +x malicious_smb_server.py run_live.sh
echo "BUILD_EXIT=0"
ls -l malicious_smb_server.py run_live.sh