Skip to content

pipx error #122

Description

@sec13b
┌──(kali㉿kali)-[~]
└─$ pipx install donpapi
Traceback (most recent call last):
  File "/usr/bin/pipx", line 5, in <module>
    from pipx.main import cli
  File "/usr/lib/python3/dist-packages/pipx/main.py", line 20, in <module>
    from packaging.utils import canonicalize_name
  File "/home/kali/.local/lib/python3.13/site-packages/packaging/utils.py", line 9, in <module>
    from .tags import Tag, parse_tag
  File "/home/kali/.local/lib/python3.13/site-packages/packaging/tags.py", line 7, in <module>
    import distutils.util
ModuleNotFoundError: No module named 'distutils'
┌──(kali㉿kali)-[~]
└─$ pipx install git+https://github.com/login-securite/DonPAPI.git
Traceback (most recent call last):
  File "/usr/bin/pipx", line 5, in <module>
    from pipx.main import cli
  File "/usr/lib/python3/dist-packages/pipx/main.py", line 20, in <module>
    from packaging.utils import canonicalize_name
  File "/home/kali/.local/lib/python3.13/site-packages/packaging/utils.py", line 9, in <module>
    from .tags import Tag, parse_tag
  File "/home/kali/.local/lib/python3.13/site-packages/packaging/tags.py", line 7, in <module>
    import distutils.util
ModuleNotFoundError: No module named 'distutils'
                                                                                                                                                                                
┌──(kali㉿kali)-[~]

Python 3.13.2

or (to dev)

git clone git+https://github.com/login-securite/DonPAPI.git
cd DonPAPI
poetry update
poetry run DonPAPI
 - Installing termcolor (2.5.0): Failed

  DBusErrorResponse

  [org.freedesktop.DBus.Error.UnknownMethod] ('Object does not exist at path “/org/freedesktop/secrets/collection/_fbC_8f_89_3bV”',)

  at /usr/lib/python3/dist-packages/secretstorage/util.py:48 in send_and_get_reply
       44│     def send_and_get_reply(self, msg: Message) -> Any:
       45│         try:
       46│             resp_msg: Message = self._connection.send_and_get_reply(msg)
       47│             if resp_msg.header.message_type == MessageType.error:
    →  48│                 raise DBusErrorResponse(resp_msg)
       49│             return resp_msg.body
       50│         except DBusErrorResponse as resp:
       51│             if resp.name in (DBUS_UNKNOWN_METHOD, DBUS_NO_SUCH_OBJECT):
       52│                 raise ItemNotFoundException('Item does not exist!') from resp

The following error occurred when trying to handle this error:


  ItemNotFoundException

  Item does not exist!
┌──(kali㉿kali)-[~/DonPAPI]
└─$ poetry update termcolor 
The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.
Updating dependencies
Resolving dependencies... (2.1s)

Package operations: 1 install, 0 updates, 0 removals

  - Installing termcolor (2.5.0)

Writing lock file
┌──(kali㉿kali)-[~/DonPAPI]
└─$ poetry update          
The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.
Updating dependencies
Resolving dependencies... (2.0s)

No dependencies to install or update
                                                                                                                                                                                
┌──(kali㉿kali)-[~/DonPAPI]

┌──(kali㉿kali)-[~/DonPAPI]
└─$ poetry install  
The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: donpapi (2.1.0)
                                                                                                                                                                                
┌──(kali㉿kali)-[~/DonPAPI]

└─$ poetry run DonPAPI
The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.
usage: DonPAPI [-h] [-v] [-o DIRNAME] {collect,gui} ...

Password Looting at scale, with defense evasion in mind. Version: 2.1.0

positional arguments:
  {collect,gui}         DonPAPI Action
    collect             Dump secrets on a target list
    gui                 Spawn a Flask webserver to crawl DonPAPI database

options:
  -h, --help            show this help message and exit
  -v                    Verbosity level (-v or -vv)
  -o, --output-directory DIRNAME
                        Output directory. Default is ~/.donpapi/loot/
                                                                                                                                                                                
┌──(kali㉿kali)-[~/DonPAPI]
└─$ ls -at
donpapi  poetry.lock  .  .git  utils  frontend  pyproject.toml  assets  README.md  .gitignore  LICENSE  ..
┌──(kali㉿kali)-[~/DonPAPI]
└─$ locate poetry.group.dev.dependencies
                                                                                                                                                                                
┌──(kali㉿kali)-[~/DonPAPI]
└─$ 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions