From ddcf350f59a111388728b05a3b4694a9e5fdac2c Mon Sep 17 00:00:00 2001 From: donadelden <50483408+donadelden@users.noreply.github.com> Date: Thu, 30 Nov 2023 10:15:24 +0100 Subject: [PATCH] Fixed xml file is null #5 --- nps_payload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nps_payload.py b/nps_payload.py index 723dbda..30897b4 100755 --- a/nps_payload.py +++ b/nps_payload.py @@ -178,7 +178,7 @@ def generate_msbuild_nps_msf_payload(): -""" % psh_payload) +""" % psh_payload).close() print(bcolors.GREEN + "[+]" + bcolors.ENDC + " Metasploit resource script written to msbuild_nps.rc") print(bcolors.GREEN + "[+]" + bcolors.ENDC + " Payload written to msbuild_nps.xml")