Skip to content

Instantly share code, notes, and snippets.

View p5yph3r's full-sized avatar

Rohan Chavan p5yph3r

View GitHub Profile
@p5yph3r
p5yph3r / simple_dir_bruteforce.py
Created August 4, 2018 06:35
This is a simple script that bruteforces the web directory with a dictionary or wordlist, it is very simple and fast and does it works properly. You are free to modify the code according to your need.
'''
usage :-
python <url> <wordlist> <extension>
for example :
python http://www.google.com/ common.txt .php
it supports all extensions & wordlists.
if you just want subdirectories write "/" in place of extension it will find it for you.
'''
import requests