How to use the fsociety.postExploitationMenu function in fsociety

To help you get started, we’ve selected a few fsociety examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Manisso / fsociety / fsociety.py View on Github external
if choice == "1":
            informationGatheringMenu()
        elif choice == "2":
            passwordAttacksMenu()
        elif choice == "3":
            wirelessTestingMenu()
        elif choice == "4":
            exploitationToolsMenu()
        elif choice == "5":
            sniffingSpoofingMenu()
        elif choice == "6":
            webHackingMenu()
        elif choice == "7":
            privateWebHacking()
        elif choice == "8":
            postExploitationMenu()
        elif choice == "0":
            self.update()
        elif choice == "11":
            self.githubContributors()
        elif choice == "99":
            with open(configFile, 'wb') as configfile:
                config.write(configfile)
            sys.exit()
        elif choice == "\r" or choice == "\n" or choice == "" or choice == " ":
            self.__init__()
        else:
            try:
                print(os.system(choice))
            except:
                pass
        self.completed()
github Manisso / fsociety / fsociety.py View on Github external
def poet():
    print("POET is a simple POst-Exploitation Tool.\n")
    if yesOrNo():
        os.system("git clone --depth=1 https://github.com/mossberg/poet.git")
        os.system("python poet/server.py")
    else:
        postExploitationMenu.completed("POET")