p0dalirius / Coercer

A python script to automatically coerce a Windows server to authenticate on an arbitrary machine through 12 methods.
https://podalirius.net/
GNU General Public License v2.0
1.81k stars 182 forks source link

[bugfix] Add missing dependencies to pyproject file #76

Closed QU35T-code closed 7 months ago

QU35T-code commented 7 months ago

Hi,

You forgot the jinja2 and sectools dependencies into the pyproject.toml file.

Fail :

[Apr 04, 2024 - 12:03:27 (CEST)] exegol-ctf4 /workspace # pipx install --system-site-packages git+https://github.com/p0dalirius/Coercer
  installed package coercer 2.4.3, installed using Python 3.11.8
  These apps are now globally available
    - coercer
done! ✨ 🌟 ✨
[Apr 04, 2024 - 12:04:46 (CEST)] exegol-ctf4 /workspace # coercer
Traceback (most recent call last):
  File "/root/.local/bin/coercer", line 5, in <module>
    from coercer.__main__ import main
  File "/root/.local/share/pipx/venvs/coercer/lib/python3.11/site-packages/coercer/__main__.py", line 11, in <module>
    from sectools.network.domains import is_fqdn
ModuleNotFoundError: No module named 'sectools'

Works :

[Apr 04, 2024 - 12:01:37 (CEST)] exegol-ctf4 /workspace # pipx install --system-site-packages git+https://github.com/QU35T-code/Coercer@fix/pytoml
  installed package coercer 2.4.3, installed using Python 3.11.8
  These apps are now globally available
    - coercer
done! ✨ 🌟 ✨
[Apr 04, 2024 - 12:01:55 (CEST)] exegol-ctf4 /workspace # coercer
       ______
      / ____/___  ___  _____________  _____
     / /   / __ \/ _ \/ ___/ ___/ _ \/ ___/
    / /___/ /_/ /  __/ /  / /__/  __/ /      v2.4.3
    \____/\____/\___/_/   \___/\___/_/       by @podalirius_

usage: coercer [-h] [-v] {scan,coerce,fuzz} ...
coercer: error: the following arguments are required: mode

Catched by the Exegol pipeline