Giter Site home page Giter Site logo

numirias / firefed Goto Github PK

View Code? Open in Web Editor NEW
95.0 4.0 10.0 235 KB

๐Ÿ•ต๏ธ A tool for Firefox profile analysis, data extraction, forensics and hardening

License: MIT License

Python 99.34% Makefile 0.66%
firefox forensics security python privacy mozilla-firefox

firefed's Issues

Handle sameSite cookies

  • Older databases don't have a sameSite column in cookies.sqlite.
  • load_ss_cookies() doesn't consider sameSite at all.

Getting 'PosixPath' object is not iterable

Running firefed on Mac (using python 3.6.0 with pyenv,hoping that is not a issue)

Got this error for all the options of firefed

firefed addons
Traceback (most recent call last):
  File "/Users/shiv/.pyenv/versions/3.6.0/bin/firefed", line 11, in <module>
    sys.exit(main())
  File "/Users/shiv/.pyenv/versions/3.6.0/lib/python3.6/site-packages/firefed/__main__.py", line 47, in main
    run()
  File "/Users/shiv/.pyenv/versions/3.6.0/lib/python3.6/site-packages/firefed/__main__.py", line 18, in run
    profile = util.profile_dir(args.pop('profile'))
  File "/Users/shiv/.pyenv/versions/3.6.0/lib/python3.6/site-packages/firefed/util.py", line 65, in profile_dir
    profiles = list(read_profiles())
  File "/Users/shiv/.pyenv/versions/3.6.0/lib/python3.6/site-packages/firefed/util.py", line 49, in read_profiles
    config.read(mozilla_dir() / PROFILES_INI)
  File "/Users/shiv/.pyenv/versions/3.6.0/lib/python3.6/configparser.py", line 693, in read
    for filename in filenames:
TypeError: 'PosixPath' object is not iterable

Is there something which I am missing here or I have missed any configuration?
firefed -h seems to work though, just for the heads up.

sqlite3.OperationalError: database is locked

Similar issues happen for bookmarks, downloads, cookies, inputhistory.
The only feature that worked so far is addons. I haven't tried other ones.

I'm on a macbook M2. Got firefed in my virtualenv using pip install firefed --upgrade.

I can help fix the code as well! Just let me know and show me some hints. Thank you for your work!

$ firefed --version
firefed v0.1.14

$ whereis firefed
firefed: /Users/jin/.python/jin/jin-python/bin/firefed

$ firefed -p default-release bookmarks -s
Traceback (most recent call last):
  File "/Users/jin/.python/jin/jin-python/bin/firefed", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/jin/.python/jin/jin-python/lib/python3.12/site-packages/firefed/__main__.py", line 55, in main
    run()
  File "/Users/jin/.python/jin/jin-python/lib/python3.12/site-packages/firefed/__main__.py", line 33, in run
    feature()
  File "/Users/jin/.python/jin/jin-python/lib/python3.12/site-packages/firefed/feature/feature.py", line 210, in __call__
    self.summarize()
  File "/Users/jin/.python/jin/jin-python/lib/python3.12/site-packages/firefed/feature/bookmarks.py", line 46, in summarize
    out('%d bookmarks found.' % len(list(self.bmarks)))
                                    ^^^^^^^^^^^^^^^^^
  File "/Users/jin/.python/jin/jin-python/lib/python3.12/site-packages/firefed/feature/bookmarks.py", line 42, in <genexpr>
    bmarks = (b for b in bmarks if not str(b.url).startswith('place:'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jin/.python/jin/jin-python/lib/python3.12/site-packages/firefed/feature/feature.py", line 94, in load_sqlite
    cursor.execute(query)
sqlite3.OperationalError: database is locked

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.