예제 #1
0
def dllrunner():
    dllrunner.title = "Dllrunner : a smart DLL execution script for malware analysis"
    tool_dir = "/REVERSE/Tools/dllrunner"
    shrts.prilogspc()
    os.system("git clone https://github.com/Neo23x0/DLLRunner " +
              shrts.getinstalldir() + tool_dir + null)
    shrts.clr()
    shrts.prilogspc()
    print("\033[92m           Dllrunner Downlaoded successfully \033[90m")
    shrts.spc()
    print("\033[92m           Check " + shrts.getinstalldir() + tool_dir +
          " Folder\033[90m")
    shrts.okrev()
예제 #2
0
def Dnspy():
    Dnspy.title = "Dnspy : reverses the bytes of a file"
    tool_dir = "/REVERSE/Tools/Dnspy"
    shrts.prilogspc()
    os.system("git clone https://github.com/0xd4d/dnSpy.git " +
              shrts.getinstalldir() + tool_dir + null)
    shrts.clr()
    shrts.prilogspc()
    print("\033[92m           Dnspy Downlaoded successfully \033[90m")
    shrts.spc()
    print("\033[92m           Check " + shrts.getinstalldir() + tool_dir +
          " Folder\033[90m")
    shrts.okrev()
예제 #3
0
def mirror():
    mirror.title = "mirror : reverses the bytes of a file"
    tool_dir = "/REVERSE/Tools/mirror"
    shrts.prilogspc()
    os.system("git clone https://github.com/guelfoweb/mirror.git " +
              shrts.getinstalldir() + tool_dir + null)
    shrts.clr()
    shrts.prilogspc()
    print("\033[92m           Mirror Downlaoded successfully \033[90m")
    shrts.spc()
    print("\033[92m           Check " + shrts.getinstalldir() + tool_dir +
          " Folder\033[90m")
    shrts.okrev()
예제 #4
0
def dnsrecon():
    dnsrecon.title = "DnsRecon : A DNS Enumeration Script"
    tool_dir = "/INFO-GATH/Tools/DnsRecon"
    if os.path.exists('/usr/local/bin/dnsrecon'):
        shrts.prilogspc()
        os.system("git clone https://github.com/darkoperator/dnsrecon.git " +
                  shrts.getinstalldir() + tool_dir + null)
        shrts.prilogspc()
        print("\033[92m           " + dnsrecon.title + "\033[90m")
        shrts.spc()
        target = input(
            "Select a Target (use 'dnsrecon --help' for more options) : ")
        shrts.spc()
        print("\033[92mCheatsheets that can help you with this :")
        shrts.spc()
        os.system("find  " + shrts.getinstalldir() + " -type f | grep dns_")
        print("\033[90m")
        shrts.pop()
        os.system("python3 " + shrts.getinstalldir() + tool_dir +
                  "/dnsrecon.py -d " + target)
        shrts.spc()
        print("\033[92mFor more options, Use dnsrecon --help\033[0m")
        shrts.okinf()
    else:
        shrts.prilogspc()
        print("\033[92m           " + dnsrecon.title + "\033[90m")
        shrts.spc()
        print("\033[91mDownloading ...\033[0m")
        shrts.spc()
        os.system("git clone https://github.com/darkoperator/dnsrecon.git " +
                  shrts.getinstalldir() + tool_dir + null)
        shrts.clr()
        print("\033[92m           " + dnsrecon.title + "\033[90m")
        shrts.spc()
        shrts.printlogo()
        print("\033[91mInstalling ...\033[0m.")
        shrts.spc()
        os.system("cd " + shrts.getinstalldir() + tool_dir +
                  " && pip3 install -r " + shrts.getinstalldir() + tool_dir +
                  "/requirements.txt" + null)
        os.system("""echo "#!/bin/bash" > /usr/local/bin/dnsrecon""")
        os.system(
            """echo "#Dev : Sofiane Hamlaoui" >> /usr/local/bin/dnsrecon""")
        os.system("echo python3 " + shrts.getinstalldir() + tool_dir +
                  "/dnsrecon.py >> /usr/local/bin/dnsrecon")
        os.system("chmod +x /usr/local/bin/dnsrecon")
        shrts.prilogspc()
        print(("You can now use " + "\033[91m" + dnsrecon.title + "\033[90m" +
               " from Lockdoor [\033[92m Lockdoor \033[90m ]"))
        shrts.okinf()
예제 #5
0
def lockdoor():
    shrts.clr()
    shrts.printlogo()
    shrts.spc()
    choiceupdate = input("        \033[92m[Confirmation]\033[90m\033[94m You want to update Lockdoor and all tools ? (Y / N) : \033[90m")
    if not choiceupdate in no:
        print("\033[92mUpdating Lockdoor...\033[90m")
        shrts.spc()
        os.system('pip install --upgrade lockdoor')
        shrts.spc()
        shrts.oktocont()
        print("\033[92mUpdating The Tools...\033[90m")
        shrts.spc()
        os.system('sudo find ' + shrts.getinstalldir() + ' -type d -name .git -exec sh -c "cd \"{}\"/../ && git pull --ff-only origin master" \;')
        shrts.clr()
        main.menu()
예제 #6
0
def yara():
    yara.title = "YARA :  a tool to identify and classify malwares "
    tool_dir = "/REVERSE/Tools/yara"
    shrts.prilogspc()
    print("\033[92m           Installing \033[90m")
    shrts.spc()
    os.system("pip install yara-python")
    shrts.clr()
    shrts.prilogspc()
    print("\033[92m           YARA Downlaoded successfully \033[90m")
    shrts.spc()
    print(
        "\033[92m           Check YARA Docs to learn more about the tool\033[90m"
    )
    print("\033[92m           https://yara.readthedocs.io/en/latest/\033[90m")
    shrts.okrev()
예제 #7
0
def angrio():
    angrio.title = "angrio : a python framework for analyzing binaries"
    tool_dir = "/REVERSE/Tools/angrio"
    shrts.prilogspc()
    print("\033[92m           Installing \033[90m")
    shrts.spc()
    os.system("pip install angr ")
    shrts.clr()
    shrts.prilogspc()
    print("\033[92m           Dnspy Downlaoded successfully \033[90m")
    shrts.spc()
    print(
        "\033[92m           Check Angr.io docs to learn more about the tool \033[90m"
    )
    print("\033[92m           https://github.com/angr/angr-doc \033[90m")
    shrts.okrev()
예제 #8
0
def crunch():
    crunch.title = "Crunch : a wordlist generator"
    tool_dir = "/PASSWORD/Tools/crunch"
    shrts.prilogspc()
    os.system("git clone https://github.com/crunchsec/crunch.git " +
              shrts.getinstalldir() + tool_dir + null)
    shrts.clr()
    shrts.prilogspc()
    print("\033[92m           Crunch Downlaoded successfully \033[90m")
    shrts.spc()
    print("\033[92m           Installig..... \033[90m")
    shrts.clr()
    shrts.spc()
    os.system("cd " + shrts.getinstalldir() + tool_dir +
              " && make -j4 && make install")
    shrts.spc()
    print("\033[92m           Crunch Installed successfully \033[90m")
    shrts.spc()
    print("\033[92m           use the command 'crunch' on terminal\033[90m")
    print(
        "\033[92m           use 'man crunch to know more about the tool'\033[90m"
    )
    shrts.okpa()