From 9649f90cff9ee4df5d00e3f3f4ebec34ec155a2f Mon Sep 17 00:00:00 2001
From: Mike Salvatore <mike.s.salvatore@gmail.com>
Date: Mon, 3 May 2021 13:22:37 -0400
Subject: [PATCH] agent: Remove unused parameter securityFlags from
 create_smb()

---
 monkey/infection_monkey/exploit/sambacry.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/monkey/infection_monkey/exploit/sambacry.py b/monkey/infection_monkey/exploit/sambacry.py
index 72d36e234..7a4c12429 100644
--- a/monkey/infection_monkey/exploit/sambacry.py
+++ b/monkey/infection_monkey/exploit/sambacry.py
@@ -465,7 +465,6 @@ class SambaCryExploiter(HostExploiter):
         creationDisposition,
         fileAttributes,
         impersonationLevel=SMB2_IL_IMPERSONATION,
-        securityFlags=0,
         oplockLevel=SMB2_OPLOCK_LEVEL_NONE,
         createContexts=None,
     ):