Skip to content

[bug] AttributeError: 'Namespace' object has no attribute 'path_ip' #99

@p0dalirius

Description

@p0dalirius
# coercer coerce -d "$DOMAIN" -u "$USER" -p "$PASSWORD" --target-ip "$DOMAIN" -l 10.1.2.3 
       ______
      / ____/___  ___  _____________  _____
     / /   / __ \/ _ \/ ___/ ___/ _ \/ ___/
    / /___/ /_/ /  __/ /  / /__/  __/ /      v2.4.3
    \____/\____/\___/_/   \___/\___/_/       by Remi GASCOU (Podalirius)

[info] Starting coerce mode
[info] Scanning target domain.lab
[info] DCERPC portmapper discovered ports: 49664,49665,61152,64767,64601,64686,61145,61147,61150,64703
[+] SMB named pipe '\PIPE\efsrpc' is accessible!
   [+] Successful bind to interface (df1941c5-fe89-4e79-bf10-463657acf44d, 1.0)!
Traceback (most recent call last):
  File "/root/.local/share/pipx/venvs/coercer/lib/python3.11/site-packages/coercer/__main__.py", line 257, in main
    action_coerce(target, available_methods, options, credentials)
  File "/root/.local/share/pipx/venvs/coercer/lib/python3.11/site-packages/coercer/core/modes/coerce.py", line 40, in action_coerce
    execute_tasks(tasks, options, target, credentials, Modes.COERCE)
  File "/root/.local/share/pipx/venvs/coercer/lib/python3.11/site-packages/coercer/core/tasks/execute.py", line 88, in execute_tasks
    listener=options.path_ip or listening_ip or options.listener_ip,
             ^^^^^^^^^^^^^^^
AttributeError: 'Namespace' object has no attribute 'path_ip'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/.local/bin/coercer", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/root/.local/share/pipx/venvs/coercer/lib/python3.11/site-packages/coercer/__main__.py", line 259, in main
    reporter.print_warn("An unexpected error occurred: %s" % e)
  File "/root/.local/share/pipx/venvs/coercer/lib/python3.11/site-packages/coercer/core/Reporter.py", line 51, in wrapper
    return func(self, prefix, message, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/share/pipx/venvs/coercer/lib/python3.11/site-packages/coercer/core/Reporter.py", line 181, in print_warn
    self.print(message, prefix=prefix, symbol=("warn", EscapeCodes.BRIGHT_RED), log_level=logging.WARN **kwargs)
                                                                                          ~~~~~~~~~~~~~^^~~~~~~
TypeError: unsupported operand type(s) for ** or pow(): 'int' and 'dict'

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions