Code Monkey home page Code Monkey logo

fsociety's Introduction

fsociety-team/fsociety

fsociety

PyPI Python Version PyPI - Downloads Docker Image Size (tag) PRs Welcome Open in Visual Studio Code Twitter Follow

A Modular Penetration Testing Framework

Packages Changelog

fsociety cli

Install

pip install fsociety

Update

pip install --upgrade fsociety

Usage

usage: fsociety [-h] [-i] [-s]

A Penetration Testing Framework

optional arguments:
  -h, --help     show this help message and exit
  -i, --info     gets fsociety info
  -s, --suggest  suggest a tool

Docker

docker pull fsocietyteam/fsociety
docker run -it fsocietyteam/fsociety fsociety

Developing

git clone https://github.com/fsociety-team/fsociety.git
pip install -e ".[dev]"

License

This software is licensed under the MIT License.

Fuck It Ship It

fsociety's People

Contributors

dependabot[bot] avatar hacdan avatar manisso avatar marksmayo avatar pre-commit-ci[bot] avatar pyup-bot avatar sarvesh4396 avatar snyk-bot avatar thehappydinoa avatar tobitenno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fsociety's Issues

Hi im using ubuntu 22.04.1 Lts

ive installed fsociety and everthing but every time i try and run it this pops up /fsociety: line 2: python: command not found

bash: /usr/local/bin/fsociety: No such file or directory

pip install fsociety
Defaulting to user installation because normal site-packages is not writeable
Collecting fsociety
Using cached fsociety-3.2.8-py2.py3-none-any.whl (26 kB)
Requirement already satisfied: rich>=9.2.0 in /home/utkarsh/.local/lib/python3.10/site-packages (from fsociety) (12.6.0)
Requirement already satisfied: distro>=1.7.0 in /usr/lib/python3/dist-packages (from fsociety) (1.7.0)
Requirement already satisfied: requests>=2.23.0 in /usr/lib/python3/dist-packages (from fsociety) (2.25.1)
Requirement already satisfied: GitPython>=3.1.3 in /home/utkarsh/.local/lib/python3.10/site-packages (from fsociety) (3.1.29)
Requirement already satisfied: gitdb<5,>=4.0.1 in /home/utkarsh/.local/lib/python3.10/site-packages (from GitPython>=3.1.3->fsociety) (4.0.9)
Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in /home/utkarsh/.local/lib/python3.10/site-packages (from rich>=9.2.0->fsociety) (0.9.1)
Requirement already satisfied: pygments<3.0.0,>=2.6.0 in /home/utkarsh/.local/lib/python3.10/site-packages (from rich>=9.2.0->fsociety) (2.13.0)
Requirement already satisfied: smmap<6,>=3.0.1 in /home/utkarsh/.local/lib/python3.10/site-packages (from gitdb<5,>=4.0.1->GitPython>=3.1.3->fsociety) (5.0.0)
Installing collected packages: fsociety
Successfully installed fsociety-3.2.8

TaWP

Link to Tool
https://github.com/tomrichard3011/TaWP

Why?
I was inspired to create this tool from a scene in Mr. Robot. You may remember when Elliot uses a social engineering attack to get some personal information on someone and create a word list for that specific person.
My tool does the same kind of thing. I understand my tool isn't very useful, but I thought I should submit it since both my tool and your framework have the same source of inspiration.
Thank you for your time.

P.S. If you have any suggestions or comments for my tool, feel free to let me know.

Sherlock is not working (for me at least)

Tool: Sherlock

Description: It doesn't execute the command because of an error.


Error: sherlock: error: unrecognized arguments: -r

Log:

fsociety ~/information_gathering/# sherlock

Enter one or more usernames: Demo
usage: sherlock [-h] [--version] [--verbose] [--folderoutput FOLDEROUTPUT]
                [--output OUTPUT] [--tor] [--unique-tor] [--csv]
                [--site SITE_NAME] [--proxy PROXY_URL] [--json JSON_FILE]
                [--timeout TIMEOUT] [--print-all] [--print-found]
                [--no-color] [--browse] [--local]
                USERNAMES [USERNAMES ...]
sherlock: error: unrecognized arguments: -r
sherlock returned a non-zero exit code

Fsociety information

# Config File

version = 3.2.5
agreement = true
ssh_clone = false
os = linux
host_file = hosts.txt
usernames_file = usernames.txt

# Python Version
3.9.2

# Platform
Linux-5.10.0-kali7-amd64-x86_64-with-glibc2.31

'Text' object has no attribute 'stylize_all'

Which Tool?
A clear and concise description of what the bug is.
information_gathering category

What is the error?
Stacktrace:

'Text' object has no attribute 'stylize_all'
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /home/marcin/.local/lib/python3.8/site-packages/fsociety/cli.py:133 in mainloop                  │
│                                                                                                  │
│   130 │   │   return func()                                                                      │
│   131 │   try:                                                                                   │
│   132 │   │   func = items[selected_command].cli                                                 │
│ ❱ 133 │   │   return func()                                                                      │
│   134 │   except Exception as error:                                                             │
│   135 │   │   console.print(str(error))                                                          │
│   136 │   │   console.print_exception()                                                          │
│                                                                                                  │
│ /home/marcin/.local/lib/python3.8/site-packages/fsociety/information_gathering/cli.py:17 in cli  │
│                                                                                                  │
│   14                                                                                             │
│   15                                                                                             │
│   16 def cli():                                                                                  │
│ ❱ 17 │   tools_cli(__name__, __tools__)                                                          │
│                                                                                                  │
│ /home/marcin/.local/lib/python3.8/site-packages/fsociety/core/menu.py:95 in tools_cli            │
│                                                                                                  │
│    92 │   │   args = [str(tool), tool.description]                                               │
│    93 │   │   if links:                                                                          │
│    94 │   │   │   text_link = Text(f"{tool.path}")                                               │
│ ❱  95 │   │   │   text_link.stylize_all(                                                         │
│    96 │   │   │   │   Style(link=f"https://github.com/{tool.path}"))                             │
│    97 │   │   │   args.append(text_link)                                                         │
│    98 │   │   table.add_row(*args)                                                               │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
AttributeError: 'Text' object has no attribute 'stylize_all'

fsociety info
Run fsociety --info in your terminal and copy the results here.

# Config File

version = 3.2.3
agreement = true
ssh_clone = false
os = linux
host_file = hosts.txt
usernames_file = usernames.txt

# Python Version
3.8.4

# Platform
Linux-5.7.0-kali1-amd64-x86_64-with-glibc2.29

Initial Update

The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.

Fsociety doesn't work on Windows with Python 3.12

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.

Stand alone

Attempting to install fsociety onto a stand alone network that has no internet connectivity. Have downloaded all files on the GitHub, and attempted to modify the install.sh to install fsociety and it fails out. Any help welcome!!

CiLocks

you should add CiLocks im sure you have herd of it but its a brute force android and ios password cracker with quite a few exrta feures that are based on ADB and python i belive

you should add it because it is really easy to get the hang of the only downside is the target device has to have usb debugging on before the tool can recognize it and that is kinda rare in real world application

AttributeError: module 'os' has no attribute 'uname'

Which Tool?
Error message when I input fsociety

What is the error?
Stacktrace:
AttributeError: module 'os' has no attribute 'uname'

image

fsociety info
Run fsociety --info in your terminal and copy the results here.

DOCKER IMAGE FSOCIETY ARGUMENT NOT RECOGNIZED

I downloaded the latest image of FSociety as .readme suggests but the "fsociety" argument seems to not be recognized from the docker image.

PRE-REQUISITES :

  • A Windows host with a fully working docker installation
  • A correctly pulled docker image obtained after running the "docker pull fsocietyteam/fsociety" command

STEPS TO REPRODUCE :

  • Run the "docker run -it fsocietyteam/fsociety fsociety" command

WHAT I WAS EXPECTING TO GET :

I was expecting the FSociety startup menu in an interactive docker container shell

WHAT THE COMMAND RETURNS :

usage: fsociety [-h] [-i] [-s]
fsociety: error: unrecognized arguments: fsociety

WINDOWS TERMINAL SCREENSHOT :

image

sherlock: error: unrecognized arguments: -r

Which Tool?
Problem when running Sherlock.

What is the error?
Stacktrace:

fsociety ~/information_gathering/# sherlock

Enter one or more usernames: a
usage: sherlock [-h] [--version] [--verbose]
                [--folderoutput FOLDEROUTPUT] [--output OUTPUT] [--tor]
                [--unique-tor] [--csv] [--site SITE_NAME]
                [--proxy PROXY_URL] [--json JSON_FILE]
                [--timeout TIMEOUT] [--print-all] [--print-found]
                [--no-color] [--browse] [--local]
                USERNAMES [USERNAMES ...]
sherlock: error: unrecognized arguments: -r
sherlock returned a non-zero exit code
Do you want to reinstall? (y/n): n

Press [ENTER] to continue...

fsociety info
Run fsociety --info in your terminal and copy the results here.

# Config File

version = 3.2.5
agreement = true
ssh_clone = false
os = linux
host_file = hosts.txt
usernames_file = usernames.txt

# Python Version
3.9.6

# Platform
Linux-4.9.218+-aarch64-with-libc

Sherlock works fine if I run it using python outside of fsociety.

Fsociety installation

Discussed in #142

Originally posted by DarkS1deX January 31, 2023
Hi guys, I wanted to ask you why the python3 version can't be put on kali but can on termux.
On kali i can put the version with python2 can you help me to put but updated version i do this procedure:
git clone https://github.com/fsociety-team/fsociety.git
cd fsociety
fsociety
so on termux it goes on kali it doesn't work for me I'm waiting for your help

usage

hey anyone can help me with tool usage? I'm writing the tool name correctly but it says invalid command.
image

sherlock bug? I've updated as well

sherlock gives this error:
'python3' is not recognized as an internal or external command,
operable program or batch file.
sherlock returned a non-zero exit code
Do you want to reinstall? (y/n):

fsoc info:
version = 3.2.6
agreement = true
ssh_clone = false
os = windows
host_file = hosts.txt
usernames_file = usernames.txt

Python Version

3.9.5

Windows

10

Gj

Which Tool?
A clear and concise description of what the bug is.

What is the error?
Stacktrace:

fsociety info
Run fsociety --info in your terminal and copy the results here.

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.