Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aclpwn error #11

Open
0xElmalky opened this issue Jun 19, 2024 · 1 comment
Open

aclpwn error #11

0xElmalky opened this issue Jun 19, 2024 · 1 comment

Comments

@0xElmalky
Copy link

aclpwn -f svc-alfresco -t htb.local --domain htb.local --server 10.10.10.161 --database bolt://LOCALHOST:7687 --database-user neo4j --database-password ahmed
Please supply the password or LM:NTLM hashes of the account you are escalating from:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/neobolt/addressing.py", line 132, in dns_resolve
info = getaddrinfo(address[0], address[1], 0, SOCK_STREAM, IPPROTO_TCP)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/socket.py", line 962, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/aclpwn", line 8, in
sys.exit(main())
^^^^^^
File "/home/ahmed/.local/lib/python3.11/site-packages/aclpwn/init.py", line 93, in main
database.init_driver(args.database, args.database_user, args.database_password)
File "/home/ahmed/.local/lib/python3.11/site-packages/aclpwn/database.py", line 14, in init_driver
driver = GraphDatabase.driver(uri, auth=(user, password))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ahmed/.local/lib/python3.11/site-packages/neo4j/init.py", line 120, in driver
return Driver(uri, **config)
^^^^^^^^^^^^^^^^^^^^^
File "/home/ahmed/.local/lib/python3.11/site-packages/neo4j/init.py", line 161, in new
return subclass(uri, **config)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ahmed/.local/lib/python3.11/site-packages/neo4j/init.py", line 235, in new
pool.release(pool.acquire())
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/neobolt/direct.py", line 715, in acquire
return self.acquire_direct(self.address)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/neobolt/direct.py", line 608, in acquire_direct
connection = self.connector(address, error_handler=self.connection_error_handler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ahmed/.local/lib/python3.11/site-packages/neo4j/init.py", line 232, in connector
return connect(address, **dict(config, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/neobolt/direct.py", line 958, in connect
resolver.dns_resolve()
File "/usr/lib/python3/dist-packages/neobolt/addressing.py", line 134, in dns_resolve
raise AddressError("Cannot resolve address {!r}".format(address))
neobolt.addressing.AddressError: Cannot resolve address Address(host='bolt', port=7687)

can anyone help

@dirkjanm
Copy link
Contributor

pretty sure the database parameter only accepts a hostname. You'll probably run into plenty of other errors though since this project has not been updated for a long time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants