fsociety icon indicating copy to clipboard operation
fsociety copied to clipboard

Fsociety doesn't work on Windows with Python 3.12

Open RealJosephKnapp opened this issue 8 months ago • 0 comments

Which Tool? I cannot load the tools.

What is the error? Microsoft Windows [Version 10.0.22631.3672] (c) Microsoft Corporation. All rights reserved.

C:\Users*******>fsociety ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ in run_module_as_main:198 │ │ in run_code:88 │ │ │ │ in :4 │ │ │ │ C:\Program Files\Python312\Lib\site-packages\fsociety_main.py:14 in │ │ │ │ 11 import fsociety.information_gathering │ │ 12 import fsociety.networking │ │ 13 import fsociety.obfuscation │ │ ❱ 14 import fsociety.passwords │ │ 15 import fsociety.web_apps │ │ 16 from fsociety.console import console │ │ 17 from fsociety.core.config import CONFIG_FILE, get_config, write_config │ │ │ │ C:\Program Files\Python312\Lib\site-packages\fsociety\passwords_init.py:1 in │ │ │ │ ❱ 1 from .cli import tools, cli │ │ 2 │ │ 3 all = ["cli", "tools"] + [str(tool) for tool in tools] │ │ 4 │ │ │ │ C:\Program Files\Python312\Lib\site-packages\fsociety\passwords\cli.py:8 in │ │ │ │ 5 from .cr3dov3r import cr3dov3r │ │ 6 from .cupp import cupp │ │ 7 from .hash_buster import hash_buster │ │ ❱ 8 from .traitor import traitor │ │ 9 │ │ 10 tools = [cupp, cr3dov3r, hash_buster, changeme, traitor] │ │ 11 │ │ │ │ C:\Program Files\Python312\Lib\site-packages\fsociety\passwords\traitor.py:56 in │ │ │ │ 53 │ │ return self.run() │ │ 54 │ │ 55 │ │ ❱ 56 traitor = TraitorRepo() │ │ 57 │ │ │ │ C:\Program Files\Python312\Lib\site-packages\fsociety\passwords\traitor.py:13 in init │ │ │ │ 10 │ │ 11 class TraitorRepo(GitHubRepo): │ │ 12 │ def init(self): │ │ ❱ 13 │ │ if os.uname().machine in arch_map: │ │ 14 │ │ │ self.arch = arch_map.get(os.uname().machine) │ │ 15 │ │ else: │ │ 16 │ │ │ self.arch = "" │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ AttributeError: module 'os' has no attribute 'uname'

C:\Users******>

fsociety info Run fsociety --info in your terminal and copy the results here. """ C:\Users*******>fsociety --info ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ in run_module_as_main:198 │ │ in run_code:88 │ │ │ │ in :4 │ │ │ │ C:\Program Files\Python312\Lib\site-packages\fsociety_main.py:14 in │ │ │ │ 11 import fsociety.information_gathering │ │ 12 import fsociety.networking │ │ 13 import fsociety.obfuscation │ │ ❱ 14 import fsociety.passwords │ │ 15 import fsociety.web_apps │ │ 16 from fsociety.console import console │ │ 17 from fsociety.core.config import CONFIG_FILE, get_config, write_config │ │ │ │ C:\Program Files\Python312\Lib\site-packages\fsociety\passwords_init.py:1 in │ │ │ │ ❱ 1 from .cli import tools, cli │ │ 2 │ │ 3 all = ["cli", "tools"] + [str(tool) for tool in tools] │ │ 4 │ │ │ │ C:\Program Files\Python312\Lib\site-packages\fsociety\passwords\cli.py:8 in │ │ │ │ 5 from .cr3dov3r import cr3dov3r │ │ 6 from .cupp import cupp │ │ 7 from .hash_buster import hash_buster │ │ ❱ 8 from .traitor import traitor │ │ 9 │ │ 10 tools = [cupp, cr3dov3r, hash_buster, changeme, traitor] │ │ 11 │ │ │ │ C:\Program Files\Python312\Lib\site-packages\fsociety\passwords\traitor.py:56 in │ │ │ │ 53 │ │ return self.run() │ │ 54 │ │ 55 │ │ ❱ 56 traitor = TraitorRepo() │ │ 57 │ │ │ │ C:\Program Files\Python312\Lib\site-packages\fsociety\passwords\traitor.py:13 in init │ │ │ │ 10 │ │ 11 class TraitorRepo(GitHubRepo): │ │ 12 │ def init(self): │ │ ❱ 13 │ │ if os.uname().machine in arch_map: │ │ 14 │ │ │ self.arch = arch_map.get(os.uname().machine) │ │ 15 │ │ else: │ │ 16 │ │ │ self.arch = "" │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ AttributeError: module 'os' has no attribute 'uname'

C:\Users******> """

I installed fsociety through pip with admin privilidges. I am using complete python 3.12.3 and precompiled standard library with the python visual C++ debugging available, but I do not have MSVC installed.

RealJosephKnapp avatar Jun 02 '24 23:06 RealJosephKnapp