From 72e579299ac2a11fb020d95bbde41d614e89a7c3 Mon Sep 17 00:00:00 2001 From: dadevel Date: Tue, 6 Aug 2024 14:16:59 +0200 Subject: [PATCH] responder: use always the same port for dcerpc --- responder/PKGBUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/responder/PKGBUILD b/responder/PKGBUILD index 93af2e03..47a65877 100644 --- a/responder/PKGBUILD +++ b/responder/PKGBUILD @@ -16,6 +16,7 @@ package() { sed -i 's|^netifaces==0\.10\.4$|netifaces==0.10.5|' ./requirements.txt # 0.10.4 fails to install pip install -r ./requirements.txt ./certs/gen-self-signed-cert.sh + sed -i -E 's|self\.RPCPort.*?=.*?$|self.RPCPort=45001|' ./settings.py cp -r . "${pkgdir}/opt/archpkgs/${pkgname}/" cat << EOF > "${pkgdir}/opt/archpkgs/bin/${pkgname}" #!/bin/sh