Skip to content

Commit

Permalink
Update net.py
Browse files Browse the repository at this point in the history
Fixed the join and unjoin text as it was the wrong way around
  • Loading branch information
Cyb3rC3lt authored Sep 15, 2023
1 parent 6a3ecf7 commit 4924d82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/net.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit 4924d82

Please sign in to comment.