Giter Site home page Giter Site logo

ziconius / fudgec2 Goto Github PK

View Code? Open in Web Editor NEW
246.0 14.0 51.0 926 KB

FudgeC2 - a command and control framework designed for team collaboration and post-exploitation activities.

License: GNU General Public License v3.0

Python 69.14% JavaScript 6.34% CSS 1.47% HTML 22.97% Dockerfile 0.07%
powershell security-tools security command-and-control c2 python3 redteam readteaming purpleteam implant

fudgec2's People

Contributors

dependabot[bot] avatar ziconius 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

fudgec2's Issues

mac os install and start question????

chikkachun@chikdeMBP ~ % git clone https://github.com/Ziconius/FudgeC2
cd FudgeC2/FudgeC2
sudo pip3 install -r requirements.txt
sudo python3 Controller.py
fatal: destination path 'FudgeC2' already exists and is not an empty directory.
Password:
WARNING: The directory '/Users/chikkachun/Library/Caches/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Collecting flask==1.1.1
Downloading Flask-1.1.1-py2.py3-none-any.whl (94 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.5/94.5 kB 2.2 MB/s eta 0:00:00
Collecting flask_sqlalchemy==2.4.1
Downloading Flask_SQLAlchemy-2.4.1-py2.py3-none-any.whl (17 kB)
Collecting flask_login==0.5.0
Downloading Flask_Login-0.5.0-py2.py3-none-any.whl (16 kB)
Collecting flask-restful==0.3.8
Downloading Flask_RESTful-0.3.8-py2.py3-none-any.whl (25 kB)
Collecting bcrypt==3.1.7
Downloading bcrypt-3.1.7-cp34-abi3-macosx_10_6_intel.whl (53 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.9/53.9 kB 115.9 MB/s eta 0:00:00
Collecting requests==2.23.0
Downloading requests-2.23.0-py2.py3-none-any.whl (58 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.4/58.4 kB 128.9 MB/s eta 0:00:00
Collecting cryptography==3.2
Downloading cryptography-3.2-cp35-abi3-macosx_10_10_x86_64.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 40.4 MB/s eta 0:00:00
Collecting pycryptodome==3.9.7
Downloading pycryptodome-3.9.7.tar.gz (15.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.5/15.5 MB 12.7 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting pyyaml==5.3.1
Downloading PyYAML-5.3.1.tar.gz (269 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 269.4/269.4 kB 111.6 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting Werkzeug>=0.15
Downloading Werkzeug-2.3.6-py3-none-any.whl (242 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.5/242.5 kB 160.1 MB/s eta 0:00:00
Collecting Jinja2>=2.10.1
Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 151.5 MB/s eta 0:00:00
Collecting itsdangerous>=0.24
Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB)
Collecting click>=5.1
Downloading click-8.1.6-py3-none-any.whl (97 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 131.9 MB/s eta 0:00:00
Collecting SQLAlchemy>=0.8.0
Downloading SQLAlchemy-2.0.19-cp311-cp311-macosx_10_9_x86_64.whl (2.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 5.6 MB/s eta 0:00:00
Collecting aniso8601>=0.82
Downloading aniso8601-9.0.1-py2.py3-none-any.whl (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.8/52.8 kB 119.6 MB/s eta 0:00:00
Requirement already satisfied: six>=1.3.0 in /usr/local/lib/python3.11/site-packages (from flask-restful==0.3.8->-r requirements.txt (line 4)) (1.16.0)
Collecting pytz
Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 54.1 MB/s eta 0:00:00
Requirement already satisfied: cffi>=1.1 in /usr/local/lib/python3.11/site-packages (from bcrypt==3.1.7->-r requirements.txt (line 5)) (1.15.1)
Collecting chardet<4,>=3.0.2
Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 kB 146.7 MB/s eta 0:00:00
Collecting idna<3,>=2.5
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB 121.8 MB/s eta 0:00:00
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Downloading urllib3-1.25.11-py2.py3-none-any.whl (127 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.0/128.0 kB 101.0 MB/s eta 0:00:00
Collecting certifi>=2017.4.17
Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 kB 153.1 MB/s eta 0:00:00
Requirement already satisfied: pycparser in /usr/local/lib/python3.11/site-packages (from cffi>=1.1->bcrypt==3.1.7->-r requirements.txt (line 5)) (2.21)
Collecting MarkupSafe>=2.0
Downloading MarkupSafe-2.1.3-cp311-cp311-macosx_10_9_x86_64.whl (13 kB)
Requirement already satisfied: typing-extensions>=4.2.0 in /usr/local/lib/python3.11/site-packages (from SQLAlchemy>=0.8.0->flask_sqlalchemy==2.4.1->-r requirements.txt (line 2)) (4.7.1)
Collecting greenlet!=0.4.17
Downloading greenlet-2.0.2-cp311-cp311-macosx_10_9_universal2.whl (243 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 243.0/243.0 kB 64.0 MB/s eta 0:00:00
Building wheels for collected packages: pycryptodome, pyyaml
Building wheel for pycryptodome (setup.py) ... done
Created wheel for pycryptodome: filename=pycryptodome-3.9.7-cp311-cp311-macosx_13_0_x86_64.whl size=13325962 sha256=5cda0e92a07af27894413d13311d2523dafb218f73415dbcc830185b199f5654
Stored in directory: /private/tmp/pip-ephem-wheel-cache-mtktlkg8/wheels/5f/46/7e/a2edaa445b3bb13b09215cf8415a027c7b417077a92336533b
Building wheel for pyyaml (setup.py) ... done
Created wheel for pyyaml: filename=PyYAML-5.3.1-cp311-cp311-macosx_13_0_x86_64.whl size=44639 sha256=411c8adfa9fe2c69c171992c43a057c9d2e3e93ddb3622a24123dbfc2e790e0e
Stored in directory: /private/tmp/pip-ephem-wheel-cache-mtktlkg8/wheels/93/d0/25/0923993e11f9273a21be3d272ca3dfe97c757a255a55c56bad
Successfully built pycryptodome pyyaml
Installing collected packages: pytz, chardet, aniso8601, urllib3, pyyaml, pycryptodome, MarkupSafe, itsdangerous, idna, greenlet, click, certifi, Werkzeug, SQLAlchemy, requests, Jinja2, cryptography, bcrypt, flask, flask_sqlalchemy, flask-restful, flask_login
Attempting uninstall: pyyaml
Found existing installation: PyYAML 6.0.1
Uninstalling PyYAML-6.0.1:
Successfully uninstalled PyYAML-6.0.1
Successfully installed Jinja2-3.1.2 MarkupSafe-2.1.3 SQLAlchemy-2.0.19 Werkzeug-2.3.6 aniso8601-9.0.1 bcrypt-3.1.7 certifi-2023.7.22 chardet-3.0.4 click-8.1.6 cryptography-3.2 flask-1.1.1 flask-restful-0.3.8 flask_login-0.5.0 flask_sqlalchemy-2.4.1 greenlet-2.0.2 idna-2.10 itsdangerous-2.1.2 pycryptodome-3.9.7 pytz-2023.3 pyyaml-5.3.1 requests-2.23.0 urllib3-1.25.11
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: /usr/local/opt/[email protected]/bin/python3.11 -m pip install --upgrade pip
Traceback (most recent call last):
File "/Users/chikkachun/FudgeC2/FudgeC2/Controller.py", line 14, in
from ServerApp import ImplantManager
File "/Users/chikkachun/FudgeC2/FudgeC2/ServerApp/ImplantManager.py", line 6, in
from flask_login import LoginManager, login_required, current_user, login_user, logout_user
ModuleNotFoundError: No module named 'flask_login'
chikkachun@chikdeMBP FudgeC2 % sudo pip3 install -r requirements.txt
sudo python3 Controller.py
WARNING: The directory '/Users/chikkachun/Library/Caches/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Requirement already satisfied: flask==1.1.1 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 1)) (1.1.1)
Requirement already satisfied: flask_sqlalchemy==2.4.1 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 2)) (2.4.1)
Requirement already satisfied: flask_login==0.5.0 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 3)) (0.5.0)
Requirement already satisfied: flask-restful==0.3.8 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 4)) (0.3.8)
Requirement already satisfied: bcrypt==3.1.7 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 5)) (3.1.7)
Requirement already satisfied: requests==2.23.0 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 6)) (2.23.0)
Requirement already satisfied: cryptography==3.2 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 7)) (3.2)
Requirement already satisfied: pycryptodome==3.9.7 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 8)) (3.9.7)
Requirement already satisfied: pyyaml==5.3.1 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 9)) (5.3.1)
Requirement already satisfied: Werkzeug>=0.15 in /usr/local/lib/python3.11/site-packages (from flask==1.1.1->-r requirements.txt (line 1)) (2.3.6)
Requirement already satisfied: Jinja2>=2.10.1 in /usr/local/lib/python3.11/site-packages (from flask==1.1.1->-r requirements.txt (line 1)) (3.1.2)
Requirement already satisfied: itsdangerous>=0.24 in /usr/local/lib/python3.11/site-packages (from flask==1.1.1->-r requirements.txt (line 1)) (2.1.2)
Requirement already satisfied: click>=5.1 in /usr/local/lib/python3.11/site-packages (from flask==1.1.1->-r requirements.txt (line 1)) (8.1.6)
Requirement already satisfied: SQLAlchemy>=0.8.0 in /usr/local/lib/python3.11/site-packages (from flask_sqlalchemy==2.4.1->-r requirements.txt (line 2)) (2.0.19)
Requirement already satisfied: aniso8601>=0.82 in /usr/local/lib/python3.11/site-packages (from flask-restful==0.3.8->-r requirements.txt (line 4)) (9.0.1)
Requirement already satisfied: six>=1.3.0 in /usr/local/lib/python3.11/site-packages (from flask-restful==0.3.8->-r requirements.txt (line 4)) (1.16.0)
Requirement already satisfied: pytz in /usr/local/lib/python3.11/site-packages (from flask-restful==0.3.8->-r requirements.txt (line 4)) (2023.3)
Requirement already satisfied: cffi>=1.1 in /usr/local/lib/python3.11/site-packages (from bcrypt==3.1.7->-r requirements.txt (line 5)) (1.15.1)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.11/site-packages (from requests==2.23.0->-r requirements.txt (line 6)) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.11/site-packages (from requests==2.23.0->-r requirements.txt (line 6)) (2.10)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.11/site-packages (from requests==2.23.0->-r requirements.txt (line 6)) (1.25.11)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.11/site-packages (from requests==2.23.0->-r requirements.txt (line 6)) (2023.7.22)
Requirement already satisfied: pycparser in /usr/local/lib/python3.11/site-packages (from cffi>=1.1->bcrypt==3.1.7->-r requirements.txt (line 5)) (2.21)
Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.11/site-packages (from Jinja2>=2.10.1->flask==1.1.1->-r requirements.txt (line 1)) (2.1.3)
Requirement already satisfied: typing-extensions>=4.2.0 in /usr/local/lib/python3.11/site-packages (from SQLAlchemy>=0.8.0->flask_sqlalchemy==2.4.1->-r requirements.txt (line 2)) (4.7.1)
Requirement already satisfied: greenlet!=0.4.17 in /usr/local/lib/python3.11/site-packages (from SQLAlchemy>=0.8.0->flask_sqlalchemy==2.4.1->-r requirements.txt (line 2)) (2.0.2)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Traceback (most recent call last):
File "/Users/chikkachun/FudgeC2/FudgeC2/Controller.py", line 14, in
from ServerApp import ImplantManager
File "/Users/chikkachun/FudgeC2/FudgeC2/ServerApp/ImplantManager.py", line 6, in
from flask_login import LoginManager, login_required, current_user, login_user, logout_user
ModuleNotFoundError: No module named 'flask_login'
chikkachun@chikdeMBP FudgeC2 % ENV PIP_ROOT_USER_ACTION=ignore
__CFBundleIdentifier=com.apple.Terminal
TMPDIR=/var/folders/br/zm7nrly17tx1w8vszsf9tlhw0000gn/T/
XPC_FLAGS=0x0
TERM=xterm-256color
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.8iwAhHsmfM/Listeners
XPC_SERVICE_NAME=0
TERM_PROGRAM=Apple_Terminal
TERM_PROGRAM_VERSION=447
TERM_SESSION_ID=74E23D49-1460-4FED-AC60-93FD3E7E0815
SHELL=/bin/zsh
HOME=/Users/chikkachun
LOGNAME=chikkachun
USER=chikkachun
PATH=/Users/chikkachun/go/bin:/Users/chikkachun/.go/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/Python.framework/Versions/3.8/bin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/go/bin:/usr/local/share/dotnet:/opt/X11/bin:/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/chikkachun/.cargo/bin
SHLVL=1
PWD=/Users/chikkachun/FudgeC2/FudgeC2
OLDPWD=/Users/chikkachun
GOROOT=/Users/chikkachun/.go
GOPATH=/Users/chikkachun/go
LANG=zh_HK.UTF-8
_=/usr/bin/ENV
PIP_ROOT_USER_ACTION=ignore
chikkachun@chikdeMBP FudgeC2 % ENV PIP_ROOT_USER_ACTION=ignore
__CFBundleIdentifier=com.apple.Terminal
TMPDIR=/var/folders/br/zm7nrly17tx1w8vszsf9tlhw0000gn/T/
XPC_FLAGS=0x0
TERM=xterm-256color
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.8iwAhHsmfM/Listeners
XPC_SERVICE_NAME=0
TERM_PROGRAM=Apple_Terminal
TERM_PROGRAM_VERSION=447
TERM_SESSION_ID=74E23D49-1460-4FED-AC60-93FD3E7E0815
SHELL=/bin/zsh
HOME=/Users/chikkachun
LOGNAME=chikkachun
USER=chikkachun
PATH=/Users/chikkachun/go/bin:/Users/chikkachun/.go/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/Python.framework/Versions/3.8/bin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/go/bin:/usr/local/share/dotnet:/opt/X11/bin:
/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/chikkachun/.cargo/bin
SHLVL=1
PWD=/Users/chikkachun/FudgeC2/FudgeC2
OLDPWD=/Users/chikkachun
GOROOT=/Users/chikkachun/.go
GOPATH=/Users/chikkachun/go
LANG=zh_HK.UTF-8
_=/usr/bin/ENV
PIP_ROOT_USER_ACTION=ignore
chikkachun@chikdeMBP FudgeC2 % pip install --root-user-action=ignore
ERROR: You must give at least one requirement to install (see "pip help install")
chikkachun@chikdeMBP FudgeC2 % sudo pip3 install -r requirements.txt
sudo python3 Controller.py
WARNING: The directory '/Users/chikkachun/Library/Caches/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Requirement already satisfied: flask==1.1.1 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 1)) (1.1.1)
Requirement already satisfied: flask_sqlalchemy==2.4.1 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 2)) (2.4.1)
Requirement already satisfied: flask_login==0.5.0 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 3)) (0.5.0)
Requirement already satisfied: flask-restful==0.3.8 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 4)) (0.3.8)
Requirement already satisfied: bcrypt==3.1.7 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 5)) (3.1.7)
Requirement already satisfied: requests==2.23.0 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 6)) (2.23.0)
Requirement already satisfied: cryptography==3.2 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 7)) (3.2)
Requirement already satisfied: pycryptodome==3.9.7 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 8)) (3.9.7)
Requirement already satisfied: pyyaml==5.3.1 in /usr/local/lib/python3.11/site-packages (from -r requirements.txt (line 9)) (5.3.1)
Requirement already satisfied: Werkzeug>=0.15 in /usr/local/lib/python3.11/site-packages (from flask==1.1.1->-r requirements.txt (line 1)) (2.3.6)
Requirement already satisfied: Jinja2>=2.10.1 in /usr/local/lib/python3.11/site-packages (from flask==1.1.1->-r requirements.txt (line 1)) (3.1.2)
Requirement already satisfied: itsdangerous>=0.24 in /usr/local/lib/python3.11/site-packages (from flask==1.1.1->-r requirements.txt (line 1)) (2.1.2)
Requirement already satisfied: click>=5.1 in /usr/local/lib/python3.11/site-packages (from flask==1.1.1->-r requirements.txt (line 1)) (8.1.6)
Requirement already satisfied: SQLAlchemy>=0.8.0 in /usr/local/lib/python3.11/site-packages (from flask_sqlalchemy==2.4.1->-r requirements.txt (line 2)) (2.0.19)
Requirement already satisfied: aniso8601>=0.82 in /usr/local/lib/python3.11/site-packages (from flask-restful==0.3.8->-r requirements.txt (line 4)) (9.0.1)
Requirement already satisfied: six>=1.3.0 in /usr/local/lib/python3.11/site-packages (from flask-restful==0.3.8->-r requirements.txt (line 4)) (1.16.0)
Requirement already satisfied: pytz in /usr/local/lib/python3.11/site-packages (from flask-restful==0.3.8->-r requirements.txt (line 4)) (2023.3)
Requirement already satisfied: cffi>=1.1 in /usr/local/lib/python3.11/site-packages (from bcrypt==3.1.7->-r requirements.txt (line 5)) (1.15.1)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.11/site-packages (from requests==2.23.0->-r requirements.txt (line 6)) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.11/site-packages (from requests==2.23.0->-r requirements.txt (line 6)) (2.10)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.11/site-packages (from requests==2.23.0->-r requirements.txt (line 6)) (1.25.11)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.11/site-packages (from requests==2.23.0->-r requirements.txt (line 6)) (2023.7.22)
Requirement already satisfied: pycparser in /usr/local/lib/python3.11/site-packages (from cffi>=1.1->bcrypt==3.1.7->-r requirements.txt (line 5)) (2.21)
Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.11/site-packages (from Jinja2>=2.10.1->flask==1.1.1->-r requirements.txt (line 1)) (2.1.3)
Requirement already satisfied: typing-extensions>=4.2.0 in /usr/local/lib/python3.11/site-packages (from SQLAlchemy>=0.8.0->flask_sqlalchemy==2.4.1->-r requirements.txt (line 2)) (4.7.1)
Requirement already satisfied: greenlet!=0.4.17 in /usr/local/lib/python3.11/site-packages (from SQLAlchemy>=0.8.0->flask_sqlalchemy==2.4.1->-r requirements.txt (line 2)) (2.0.2)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Traceback (most recent call last):
File "/Users/chikkachun/FudgeC2/FudgeC2/Controller.py", line 14, in
from ServerApp import ImplantManager
File "/Users/chikkachun/FudgeC2/FudgeC2/ServerApp/ImplantManager.py", line 6, in
from flask_login import LoginManager, login_required, current_user, login_user, logout_user
ModuleNotFoundError: No module named 'flask_login'
chikkachun@chikdeMBP FudgeC2 %

Missing "=" character in the request line for requirements.txt

Describe the bug
During Installation of Fudge C2 the requirements.txt file compiled an error that an "=" sign was missing for the following package:

requests=2.21.0

To Reproduce
Edit the requirements.txt file to include another "=" character:

requests==2.21.0

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: Kali Linux 2020.1

Latest Version of Fudge C2 today.

Additional context

Looking to get FudgeC2 packaged into Kali Linux full time if possible :D

Error: No valid network profiles submitted.

Describe the bug
Created a new campaign (test) and then went to create Implant but get error:
Error: No valid network profiles submitted.

I fill out the required fields:
Implant title: HTTP
Implant domain/IP: 10.0.0.112 (IP of my C2 server)
Implant description: HTTPTest
Basic HTTP Profile: Check
TCP Port for Binary Listener: 80
Everything else is default.

I tried with a Listener running and stopped:
Configured listeners:
Name: HTTP
Network Profile: BasicHttpProfile
Port: 80
State: Stopped

To Reproduce
Steps to reproduce the behavior:
Fresh install on 2/11/2020

Created Listener:
127.0.0.1 - - [11/Feb/2020 14:51:33] "GET /listener HTTP/1.1" 200 -

  • Serving Flask app "939de6b9-5342-4e6f-87fe-d440a81ab8f0" (lazy loading)
    127.0.0.1 - - [11/Feb/2020 14:53:09] "POST /api/v1/listener/change HTTP/1.1" 302 -
  • Environment: production
    WARNING: Do not use the development server in a production environment.
    Use a production WSGI server instead.
  • Debug mode: off
  • Running on http://0.0.0.0:80/ (Press CTRL+C to quit)
    127.0.0.1 - - [11/Feb/2020 14:53:09] "GET /listener HTTP/1.1" 200 -

Try to create an Implant on "test" campaign with following options:
Implant title: HTTP
Implant domain/IP: 10.0.0.112 (IP of my C2 server)
Implant description: HTTPTest
Basic HTTP Profile: Check
TCP Port for Binary Listener: 80
Everything else is default.

Get this error in GUI:
Error: No valid network profiles submitted.

This error in console:
127.0.0.1 - - [11/Feb/2020 14:54:01] "GET /1/implant/create HTTP/1.1" 200 -
Returning obf_a: 0 to ofb_b: 0
Error: No valid network profiles submitted.
127.0.0.1 - - [11/Feb/2020 14:54:14] "POST /1/implant/create HTTP/1.1" 409 -

Expected behavior
Implant created.

Screenshots
image

Desktop (please complete the following information):

  • OS: Linux slingshot 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
  • Browser Firefox
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

  • Implant configuration
  • Listener configuration
  • Powershell version on target (if known)

How activate created implants in compagins?

Hi.
After creating campaign and implants in my campaign, on active implants tab this message has been appeared.

""" No implants have called back in association with this campaign - create an implant base and use the stager page. """

Please help to activate my implants for my campaign.
Weaponize stagers to create a new active implant.
thank you.

11

Unable to execute

If Controller.py is placed in FudgeC2/FudgeC2 then the package mapping is incorrect.

Moving Controller.py from FudgeC2/FudgeC2 to FudgeC2/ tries to initiate the program however database error is encountered.

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/base.py", line 2262, in _wrap_pool_connect
    return fn()
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/pool/base.py", line 363, in connect
    return _ConnectionFairy._checkout(self)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/pool/base.py", line 760, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/pool/base.py", line 492, in checkout
    rec = pool._do_get()
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/pool/impl.py", line 238, in _do_get
    return self._create_connection()
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/pool/base.py", line 308, in _create_connection
    return _ConnectionRecord(self)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/pool/base.py", line 437, in __init__
    self.__connect(first_connect_check=True)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/pool/base.py", line 639, in __connect
    connection = pool._invoke_creator(self)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
    return dialect.connect(*cargs, **cparams)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/default.py", line 451, in connect
    return self.dbapi.connect(*cargs, **cparams)
sqlite3.OperationalError: unable to open database file

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "Controller.py", line 7, in <module>
    from FudgeC2.ServerApp import ImplantManager
  File "/home/user1/FudgeC2/FudgeC2/ServerApp/ImplantManager.py", line 7, in <module>
    from FudgeC2.Implant.Implant import ImplantSingleton
  File "/home/user1/FudgeC2/FudgeC2/Implant/Implant.py", line 1, in <module>
    from FudgeC2.Data.Database import Database
  File "/home/user1/FudgeC2/FudgeC2/Data/Database.py", line 10, in <module>
    from FudgeC2.Data.models import Users, ResponseLogs, Implants, ImplantLogs, Campaigns, CampaignUsers, GeneratedImplants, AppLogs, CampaignLogs
  File "/home/user1/FudgeC2/FudgeC2/Data/models.py", line 127, in <module>
    Base.metadata.create_all(engine)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/sql/schema.py", line 4287, in create_all
    ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/base.py", line 2032, in _run_visitor
    with self._optional_conn_ctx_manager(connection) as conn:
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/base.py", line 2024, in _optional_conn_ctx_manager
    with self._contextual_connect() as conn:
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/base.py", line 2226, in _contextual_connect
    self._wrap_pool_connect(self.pool.connect, None),
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/base.py", line 2266, in _wrap_pool_connect
    e, dialect, self
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/base.py", line 1536, in _handle_dbapi_exception_noconnection
    util.raise_from_cause(sqlalchemy_exception, exc_info)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/util/compat.py", line 399, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/util/compat.py", line 153, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/base.py", line 2262, in _wrap_pool_connect
    return fn()
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/pool/base.py", line 363, in connect
    return _ConnectionFairy._checkout(self)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/pool/base.py", line 760, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/pool/base.py", line 492, in checkout
    rec = pool._do_get()
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/pool/impl.py", line 238, in _do_get
    return self._create_connection()
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/pool/base.py", line 308, in _create_connection
    return _ConnectionRecord(self)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/pool/base.py", line 437, in __init__
    self.__connect(first_connect_check=True)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/pool/base.py", line 639, in __connect
    connection = pool._invoke_creator(self)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/strategies.py", line 114, in connect
    return dialect.connect(*cargs, **cparams)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/engine/default.py", line 451, in connect
    return self.dbapi.connect(*cargs, **cparams)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file
(Background on this error at: http://sqlalche.me/e/e3q8)

Suspected database file isn't configured

Describe the bug
Traceback (most recent call last):
File "Controller.py", line 14, in
from ServerApp import ImplantManager
File "/Users/2on5/Desktop/FudgeC2/FudgeC2/ServerApp/ImplantManager.py", line 9, in
from ServerApp.modules.UserManagement import UserManagementController
File "/Users/2on5/Desktop/FudgeC2/FudgeC2/ServerApp/modules/UserManagement.py", line 4, in
from email_client.email_notifications import EmailNotification
File "/Users/2on5/Desktop/FudgeC2/FudgeC2/email_client/email_notifications.py", line 16, in
ec = EmailClient()
File "/Users/2on5/Desktop/FudgeC2/FudgeC2/email_client/email_client.py", line 28, in init
host=data['host'],
TypeError: string indices must be integers

print(data)==>No email configuration exists

sql init

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

  • Implant configuration
  • Listener configuration
  • Powershell version on target (if known)

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.