Skip to content

Commit

Permalink
Merge pull request #17 from x3rz/Multiple-ci-fix
Browse files Browse the repository at this point in the history
Multiple ci fix
  • Loading branch information
SofianeHamlaoui committed Jun 13, 2021
2 parents d003c9f + f56d05c commit 59e4277
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
3 changes: 2 additions & 1 deletion lockdoors/encdyc.py
@@ -1,6 +1,7 @@
import os import os
import sys import sys
from lockdoors import main from lockdoors import main
from lockdoors import sanitize
from lockdoors import shrts from lockdoors import shrts
from pathlib import Path from pathlib import Path
from datetime import datetime from datetime import datetime
Expand Down Expand Up @@ -79,7 +80,7 @@ def findmyhash():
LDAP_SHA1 - SHA1 Base64 encoded LDAP_SHA1 - SHA1 Base64 encoded
""") """)
algo = input("What Algo you want to use ? : ") algo = input("What Algo you want to use ? : ")
hash = input("Enter the hash : ") hash = sanitize.bash_escape_restrictor(input("Enter the hash : "))
os.system("python2 " + shrts.getinstalldir() + tool_dir + "/findmyhash.py " +algo+ " -h " +hash) os.system("python2 " + shrts.getinstalldir() + tool_dir + "/findmyhash.py " +algo+ " -h " +hash)
shrts.okenc() shrts.okenc()
else: else:
Expand Down
11 changes: 6 additions & 5 deletions lockdoors/exploitation.py
@@ -1,5 +1,6 @@
import os import os
from lockdoors import main from lockdoors import main
from lockdoors import sanitize
from lockdoors import shrts from lockdoors import shrts
import sys import sys
from pathlib import Path from pathlib import Path
Expand Down Expand Up @@ -28,7 +29,7 @@ def Findsploit():
shrts.prilogspc() shrts.prilogspc()
print("\033[92m " + Findsploit.title + "\033[90m") print("\033[92m " + Findsploit.title + "\033[90m")
shrts.spc() shrts.spc()
ans = input("\033[92mWhat exploits are you looking ? : \033[90m") ans = sanitize.bash_escape_restrictor(input("\033[92mWhat exploits are you looking ? : \033[90m"))
os.system("Findsploit " + ans) os.system("Findsploit " + ans)
shrts.okex() shrts.okex()
else: else:
Expand Down Expand Up @@ -58,7 +59,7 @@ def Pompem():
shrts.prilogspc() shrts.prilogspc()
print("\033[92m " + Pompem.title + "\033[90m") print("\033[92m " + Pompem.title + "\033[90m")
shrts.spc() shrts.spc()
ans = input("\033[92mWhat exploits are you looking ? : \033[90m") ans = sanitize.bash_escape_restrictor(input("\033[92mWhat exploits are you looking ? : \033[90m"))
os.system("python3 " + shrts.getinstalldir() + tool_dir + "/pompem.py -s " + ans) os.system("python3 " + shrts.getinstalldir() + tool_dir + "/pompem.py -s " + ans)
shrts.spc() shrts.spc()
shrts.okex() shrts.okex()
Expand Down Expand Up @@ -96,8 +97,8 @@ def rfix():
shrts.spc() shrts.spc()
print("Example: rfix http://target_host/index.php?flawed_param= php.txt ") print("Example: rfix http://target_host/index.php?flawed_param= php.txt ")
shrts.spc() shrts.spc()
target = input("\033[92m Choose a Target : \033[90m") target = sanitize.bash_escape_restrictor(input("\033[92m Choose a Target : \033[90m"))
payload = input("\033[92m Choose the payload path : \033[90m") payload = sanitize.bash_escape_restrictor(input("\033[92m Choose the payload path : \033[90m"))
os.system("python2 " + shrts.getinstalldir() + tool_dir + "/rfix.py " + target + " " + payload) os.system("python2 " + shrts.getinstalldir() + tool_dir + "/rfix.py " + target + " " + payload)
shrts.spc() shrts.spc()
shrts.okex() shrts.okex()
Expand Down Expand Up @@ -138,7 +139,7 @@ def inurlbr():
print("\033[92m" + shrts.getinstalldir() + '/GHDB.pdf \033[92m') print("\033[92m" + shrts.getinstalldir() + '/GHDB.pdf \033[92m')
shrts.spc() shrts.spc()
dork = input("\033[92m Choose a Dork : \033[90m") dork = input("\033[92m Choose a Dork : \033[90m")
savefile = input("\033[92m output file ? (Ex : results.txt) : \033[90m") savefile = sanitize.bash_escape_restrictor(input("\033[92m output file ? (Ex : results.txt) : \033[90m"))
os.system("php " + shrts.getinstalldir() + tool_dir + "/inurlbr.php --dork " + dork + " -s " + savefile) os.system("php " + shrts.getinstalldir() + tool_dir + "/inurlbr.php --dork " + dork + " -s " + savefile)
shrts.okex() shrts.okex()
else: else:
Expand Down
5 changes: 3 additions & 2 deletions lockdoors/reverse.py
@@ -1,6 +1,7 @@
import os import os
import sys import sys
from lockdoors import main from lockdoors import main
from lockdoors import sanitize
from lockdoors import shrts from lockdoors import shrts
from pathlib import Path from pathlib import Path
from datetime import datetime from datetime import datetime
Expand Down Expand Up @@ -38,8 +39,8 @@ def virustotal():
shrts.prilogspc() shrts.prilogspc()
print("\033[92m " + virustotal.title + "\033[90m") print("\033[92m " + virustotal.title + "\033[90m")
shrts.spc() shrts.spc()
key = input("\033[92mEnter the Virtustoal Api ? : \033[90m") key = sanitize.bash_escape_restrictor(input("\033[92mEnter the Virtustoal Api ? : \033[90m"))
outp = input("\033[92mEnter directory containing files to scan ? : \033[90m") outp = sanitize.bash_escape_restrictor(input("\033[92mEnter directory containing files to scan ? : \033[90m"))
os.system("python2 " + shrts.getinstalldir() + tool_dir + "/vt.py --key "+key+" " +outp) os.system("python2 " + shrts.getinstalldir() + tool_dir + "/vt.py --key "+key+" " +outp)
shrts.okrev() shrts.okrev()
else: else:
Expand Down

0 comments on commit 59e4277

Please sign in to comment.