Coder Social home page Coder Social logo

Comments (6)

wikijm avatar wikijm commented on June 2, 2024

Hi @christophetd,

To make it works in Windows, you just have to:

  • Install Python 3.6.4 (Windows x86-64 executable installer)
  • Restart the computer
  • Start a cmd console
  • Type python firepwned.py --profile C:\Users\%username%\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxx.default (Be sure to replace xxxxxx by the name of your profile)

Tip: If you have a message like ERROR - Couldn't initialize NSS, maybe '********' is not a valid profile?, it is not related by NSS presence, it's certainly related to a bad profile path. I find not presence of NSS of my system, and assume that is not a prerequisite on a Windows context.

My python skills are near to zero, but if I execute code below, I get that result:

Python version: ['3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)]']
system: Windows

The code (get_platform_info.py, inspired by https://stackoverflow.com/questions/1854/python-what-os-am-i-running-on):

import platform
import sys

def linux_distribution():
  try:
    return platform.linux_distribution()
  except:
    return "N/A"

print("""Python version: %s
system: %s
""" % (
sys.version.split('\n'),
platform.system(),
))

from firepwned.

christophetd avatar christophetd commented on June 2, 2024

Thank you for the extra info!

from firepwned.

wikijm avatar wikijm commented on June 2, 2024

Here are the steps to install Python on Windows, then prerequisites:
1
2
3
4
5
6

from firepwned.

Suleman-Elahi avatar Suleman-Elahi commented on June 2, 2024

image

image

Didn't work for me on Windows 10. Tried on both the profiles folders; one ifn Roamin and other in Local.

from firepwned.

christophetd avatar christophetd commented on June 2, 2024

Looks like these errors come from firefox_decrypt, so unfortunately I won't be able to help here. Maybe try with the Docker image if you have the means to do so?

from firepwned.

vladtepesch avatar vladtepesch commented on June 2, 2024

@Suleman-Elahi

image

image

Didn't work for me on Windows 10. Tried on both the profiles folders; one ifn Roamin and other in Local.

This happens if either

  • your firefox is in another directory than the default one
  • your browsers binaries bittage does not match pythons (32bit vs 64bit)

The latter also applies if you run a 64bit python and you have the 32bit and the 64 bit versions of Firefox installed. Then it tries to load the dll from the 32bit version.

I posted a fix at #13

from firepwned.

Related Issues (6)

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.