Giter VIP home page Giter VIP logo

Comments (3)

mschwager avatar mschwager commented on August 23, 2024

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.

scherma avatar scherma commented on August 23, 2024

When I was trying to solve a similar problem the recommendation was to use the appdirs module; have you looked into that?

from fierce.

mschwager avatar mschwager commented on August 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.