Comments (3)
Yeah, there are a few example subdomain files added by default. If the package is installed via pip
then you won't be able to use relative filesystem paths to access the subdomain files. I haven't found a particularly clean way to perform this action.
This looks promising. I'll have to do some investigation.
In the meantime, if you'd like to access those subdomain lists you can find them with the following:
$ pip3 show -f fierce
---
Metadata-Version: 2.0
Name: fierce
Version: 1.0
Summary: A DNS reconnaissance tool for locating non-contiguous IP space.
Home-page: https://github.com/mschwager/fierce
Author: UNKNOWN
Author-email: UNKNOWN
Installer: pip
License: GPLv3
Location: /usr/local/lib/python3.5/dist-packages
Requires: dnspython3
Classifiers:
Files:
../../../bin/fierce
../../../lists/20000.txt
../../../lists/5000.txt
../../../lists/default.txt
__pycache__/fierce.cpython-35.pyc
fierce-1.0.dist-info/DESCRIPTION.rst
fierce-1.0.dist-info/INSTALLER
fierce-1.0.dist-info/METADATA
fierce-1.0.dist-info/RECORD
fierce-1.0.dist-info/WHEEL
fierce-1.0.dist-info/entry_points.txt
fierce-1.0.dist-info/metadata.json
fierce-1.0.dist-info/top_level.txt
fierce.py
Entry-points:
[console_scripts]
fierce = fierce:main
And combine the Location
with the respective File
you want.
I.e.
$ fierce --subdomain-file /usr/local/lib/python3.5/dist-packages/../../../lists/5000.txt ...
from fierce.
When I was trying to solve a similar problem the recommendation was to use the appdirs module; have you looked into that?
from fierce.
I believe I've found a decent solution. Check out 72bfc7c for more information.
Note that you'll specify just the filename, not a path like lists/filename.txt
, just filename.txt
.
Let me know if this is what you were looking for.
EDIT: Also note that you'll have to install from Github, I haven't released the latest version to PyPI yet. That will be coming shortly.
from fierce.
Related Issues (20)
- Socket errors with --connect option HOT 1
- Doen't work with cloudflare DNS HOT 3
- ConnectionRefusedError: [Errno 111] Connection refused HOT 1
- NoneType issues when using DNS file HOT 3
- Problem for two subdomains separated by dot with --subdomain-file HOT 3
- Problem with subdomains and wildcard failure HOT 1
- `dns.name.EmptyLabel` stack trace HOT 4
- Timeout from DNS resolver crashes program HOT 3
- Timeout during AXFR HOT 1
- Homebrew formula? HOT 3
- FileNotFoundError: [Errno 2] No such file or directory: 'default.txt' HOT 26
- Zone transfer error: REFUSED / NOTAUTH HOT 5
- Traverse expander breaks on IP addresses close to zero HOT 4
- Zone: failure & Wildcard: failure
- Allow later dnspython releases
- problem using fierce against an internal DNS
- Pull
- Zone transfert not working when DNS is badly configured
- TypeError: 'NoneType' object is not subscriptable HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fierce.