#!/usr/bin/env python
import requests


files_n_folders_dictionary = "lists/dirs.txt"
files_found=[]
target_url = input("Enter the target url\n>")


class bcolors:
    HEADER = '\033[95m'
    OKBLUE = '\033[94m'
    OKGREEN = '\033[92m'
    WARNING = '\033[93m'
    FAIL = '\033[91m'
    ENDC = '\033[0m'
    BOLD = '\033[1m'
    UNDERLINE = '\033[4m'



def request(url):
	try:
		return requests.get("http://" + url,timeout=3)
		print(get_response)
	except requests.exceptions.ConnectionError:
		pass



try:

	with open(files_n_folders_dictionary, "r") as dir_wordlist_file:

					
				for line in dir_wordlist_file:
					dirs = line.strip()
					dir_url = target_url + "/" + dirs
					print("\r Testing : " + dir_url,end="")
					response_dir = request(dir_url)
					if response_dir:
						files_found.append(dir_url)
						print(bcolors.OKGREEN + "[+] Found files -->> " + dir_url + bcolors.ENDC)

except KeyboardInterrupt:

	print(bcolors.OKGREEN + "\nFound\n" + "="*45 + "\n" + bcolors.ENDC)
	
	for files in files_found:
		print(bcolors.OKBLUE + "[+] Found -->> " + "https://" + files + bcolors.ENDC)


f4084c15795b89a2aafa7e9977e49936ff84b542
<mask token>


class bcolors:
    HEADER = '\x1b[95m'
    OKBLUE = '\x1b[94m'
    OKGREEN = '\x1b[92m'
    WARNING = '\x1b[93m'
    FAIL = '\x1b[91m'
    ENDC = '\x1b[0m'
    BOLD = '\x1b[1m'
    UNDERLINE = '\x1b[4m'


def request(url):
    try:
        return requests.get('http://' + url, timeout=3)
        print(get_response)
    except requests.exceptions.ConnectionError:
        pass


<mask token>

<mask token>


class bcolors:
    HEADER = '\x1b[95m'
    OKBLUE = '\x1b[94m'
    OKGREEN = '\x1b[92m'
    WARNING = '\x1b[93m'
    FAIL = '\x1b[91m'
    ENDC = '\x1b[0m'
    BOLD = '\x1b[1m'
    UNDERLINE = '\x1b[4m'


def request(url):
    try:
        return requests.get('http://' + url, timeout=3)
        print(get_response)
    except requests.exceptions.ConnectionError:
        pass


try:
    with open(files_n_folders_dictionary, 'r') as dir_wordlist_file:
        for line in dir_wordlist_file:
            dirs = line.strip()
            dir_url = target_url + '/' + dirs
            print('\r Testing : ' + dir_url, end='')
            response_dir = request(dir_url)
            if response_dir:
                files_found.append(dir_url)
                print(bcolors.OKGREEN + '[+] Found files -->> ' + dir_url +
                    bcolors.ENDC)
except KeyboardInterrupt:
    print(bcolors.OKGREEN + '\nFound\n' + '=' * 45 + '\n' + bcolors.ENDC)
    for files in files_found:
        print(bcolors.OKBLUE + '[+] Found -->> ' + 'https://' + files +
            bcolors.ENDC)

<mask token>
files_n_folders_dictionary = 'lists/dirs.txt'
files_found = []
target_url = input("""Enter the target url
>""")


class bcolors:
    HEADER = '\x1b[95m'
    OKBLUE = '\x1b[94m'
    OKGREEN = '\x1b[92m'
    WARNING = '\x1b[93m'
    FAIL = '\x1b[91m'
    ENDC = '\x1b[0m'
    BOLD = '\x1b[1m'
    UNDERLINE = '\x1b[4m'


def request(url):
    try:
        return requests.get('http://' + url, timeout=3)
        print(get_response)
    except requests.exceptions.ConnectionError:
        pass


try:
    with open(files_n_folders_dictionary, 'r') as dir_wordlist_file:
        for line in dir_wordlist_file:
            dirs = line.strip()
            dir_url = target_url + '/' + dirs
            print('\r Testing : ' + dir_url, end='')
            response_dir = request(dir_url)
            if response_dir:
                files_found.append(dir_url)
                print(bcolors.OKGREEN + '[+] Found files -->> ' + dir_url +
                    bcolors.ENDC)
except KeyboardInterrupt:
    print(bcolors.OKGREEN + '\nFound\n' + '=' * 45 + '\n' + bcolors.ENDC)
    for files in files_found:
        print(bcolors.OKBLUE + '[+] Found -->> ' + 'https://' + files +
            bcolors.ENDC)

import requests
files_n_folders_dictionary = 'lists/dirs.txt'
files_found = []
target_url = input("""Enter the target url
>""")


class bcolors:
    HEADER = '\x1b[95m'
    OKBLUE = '\x1b[94m'
    OKGREEN = '\x1b[92m'
    WARNING = '\x1b[93m'
    FAIL = '\x1b[91m'
    ENDC = '\x1b[0m'
    BOLD = '\x1b[1m'
    UNDERLINE = '\x1b[4m'


def request(url):
    try:
        return requests.get('http://' + url, timeout=3)
        print(get_response)
    except requests.exceptions.ConnectionError:
        pass


try:
    with open(files_n_folders_dictionary, 'r') as dir_wordlist_file:
        for line in dir_wordlist_file:
            dirs = line.strip()
            dir_url = target_url + '/' + dirs
            print('\r Testing : ' + dir_url, end='')
            response_dir = request(dir_url)
            if response_dir:
                files_found.append(dir_url)
                print(bcolors.OKGREEN + '[+] Found files -->> ' + dir_url +
                    bcolors.ENDC)
except KeyboardInterrupt:
    print(bcolors.OKGREEN + '\nFound\n' + '=' * 45 + '\n' + bcolors.ENDC)
    for files in files_found:
        print(bcolors.OKBLUE + '[+] Found -->> ' + 'https://' + files +
            bcolors.ENDC)

#!/usr/bin/env python
import requests


files_n_folders_dictionary = "lists/dirs.txt"
files_found=[]
target_url = input("Enter the target url\n>")


class bcolors:
    HEADER = '\033[95m'
    OKBLUE = '\033[94m'
    OKGREEN = '\033[92m'
    WARNING = '\033[93m'
    FAIL = '\033[91m'
    ENDC = '\033[0m'
    BOLD = '\033[1m'
    UNDERLINE = '\033[4m'



def request(url):
	try:
		return requests.get("http://" + url,timeout=3)
		print(get_response)
	except requests.exceptions.ConnectionError:
		pass



try:

	with open(files_n_folders_dictionary, "r") as dir_wordlist_file:

					
				for line in dir_wordlist_file:
					dirs = line.strip()
					dir_url = target_url + "/" + dirs
					print("\r Testing : " + dir_url,end="")
					response_dir = request(dir_url)
					if response_dir:
						files_found.append(dir_url)
						print(bcolors.OKGREEN + "[+] Found files -->> " + dir_url + bcolors.ENDC)

except KeyboardInterrupt:

	print(bcolors.OKGREEN + "\nFound\n" + "="*45 + "\n" + bcolors.ENDC)
	
	for files in files_found:
		print(bcolors.OKBLUE + "[+] Found -->> " + "https://" + files + bcolors.ENDC)

