https://github.com/heroesofcode/dirmagic
DirMagic is a library written in Python to brute force directories and subdomains
https://github.com/heroesofcode/dirmagic
Last synced: 7 months ago
JSON representation
DirMagic is a library written in Python to brute force directories and subdomains
- Host: GitHub
- URL: https://github.com/heroesofcode/dirmagic
- Owner: heroesofcode
- License: mit
- Created: 2022-11-21T20:40:02.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-08-19T03:58:06.000Z (7 months ago)
- Last Synced: 2025-08-19T05:41:15.079Z (7 months ago)
- Language: Python
- Homepage:
- Size: 650 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# DirMagic
[](https://github.com/heroesofcode/DirMagic/actions/workflows/Testing.yml)

[](https://www.python.org/)
[](https://github.com/joaolfp/DirMagic/blob/master/LICENSE)
DirMagic is a library written in Python to brute force directories and subdomains
## Installation
```
python3 -m pip install dir-magic
```
## Usage
```
python3 -m dir_magic
```
1 - Find directories

2 - Find subdomains

### WordLists
You can create your own wordlist with .txt, follow the example below
wordlist.txt
```
admin
login
dashboard
blog
```
Below are some WordList links for downloads
- If you're running on [Kali Linux](https://www.kali.org/), it's already installed on the system, just follow this [documentation](https://www.kali.org/tools/wordlists/).
- [SecLists](https://github.com/danielmiessler/SecLists) is a repository that has several wordlists to download.
## Contribution
* To contribute, from a fork in the project please feel free to give suggestions, improvements and feel free to add features. After you contribute, open a pull request.
## Contributors
## License
DirMagic is released under the MIT license. See [LICENSE](https://github.com/heroesofcode/DirMagic/blob/master/LICENSE) for details.