INNER CODE UNIT · Python

dizinScan

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

def dizinScan():
    counter = 0
    try:
        print(Colors.y + "e.g ==> http://target.com/cgi-bin\n (Dont add / symbol at the end of the url!)")
        bb = input("Enter target\t:")
        anadizin = os.getcwd()
        print(Colors.y + "e.g==> /usr/share/wordlists/dirb\t")
        os.chdir(input(Colors.r + "Please Enter Wordlist Path:\t"))
        dizinn = os.getcwd()
        print(Colors.g + "Selected Directory Path\t:" + dizinn)
        gecici = dict()
        sayac = 0
        for i in os.listdir():
            if os.path.isfile(i):
                sayac += 1
                print(Colors.y, sayac, i)
                gecici[sayac] = "{}/{}".format(os.getcwd(), i)
            else:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…