From 4924d823f981dd54b9b65c1422211ac1bb867a66 Mon Sep 17 00:00:00 2001 From: Cyber Celt <33097451+Cyb3rC3lt@users.noreply.github.com> Date: Fri, 15 Sep 2023 13:31:21 +0100 Subject: [PATCH] Update net.py Fixed the join and unjoin text as it was the wrong way around --- examples/net.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/net.py b/examples/net.py index 2ed61a1da0..e2f5e50129 100644 --- a/examples/net.py +++ b/examples/net.py @@ -357,12 +357,12 @@ def run(self, remoteName, remoteHost): print("[+] {} account deleted succesfully!".format(self.__action)) elif self.__is_option_present(self.__options, 'join'): - print("[*] Adding user account '{}' to group '{}'".format(self.__options.name, self.__options.join)) + print("[*] Adding user account '{}' to group '{}'".format(self.__options.join,self.__options.name)) actionObject.Join(self.__options.name, self.__options.join) print("[+] User account added to {} succesfully!".format(self.__options.name)) elif self.__is_option_present(self.__options, 'unjoin'): - print("[*] Removing user account '{}' from group '{}'".format(self.__options.name, self.__options.unjoin)) + print("[*] Removing user account '{}' from group '{}'".format(self.__options.unjoin,self.__options.name)) actionObject.UnJoin(self.__options.name, self.__options.unjoin) print("[+] User account removed from {} succesfully!".format(self.__options.name))