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

Governor resolve url error #63

Closed
mgerst opened this issue Apr 27, 2019 · 0 comments · Fixed by #65
Closed

Governor resolve url error #63

mgerst opened this issue Apr 27, 2019 · 0 comments · Fixed by #65
Labels
bug component:Autolib The supporting library for AutoPWN. Almost all autopwn functionality should be here.
Milestone

Comments

@mgerst
Copy link
Owner

mgerst commented Apr 27, 2019

multiprocessing.pool.RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar
    return list(map(*args))
  File "/home/mattg/projects/flag-slurper/flag_slurper/autopwn.py", line 45, in _pwn_service
    result = autolib.pwn_service(service, flag, limit_creds, config)
  File "/home/mattg/projects/flag-slurper/flag_slurper/autolib/service.py", line 64, in pwn_service
    message, success, skipped = PWN_FUNCS[proto](url, port, service, flag_conf, limit_creds, context)
  File "/home/mattg/projects/flag-slurper/flag_slurper/autolib/protocols.py", line 39, in pwn_ssh
    gov.attempt(gov.resolve_url(url))
  File "/home/mattg/projects/flag-slurper/flag_slurper/autolib/governor.py", line 64, in resolve_url
    return socket.gethostbyname(url)
socket.gaierror: [Errno -2] Name or service not known
"""

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

Traceback (most recent call last):
  File "/home/mattg/.virtualenvs/flag-slurper/bin/flag-slurper", line 11, in <module>
    load_entry_point('flag-slurper', 'console_scripts', 'flag-slurper')()
  File "/home/mattg/.virtualenvs/flag-slurper/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/home/mattg/.virtualenvs/flag-slurper/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/home/mattg/.virtualenvs/flag-slurper/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/mattg/.virtualenvs/flag-slurper/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/mattg/.virtualenvs/flag-slurper/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/mattg/.virtualenvs/flag-slurper/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/mattg/projects/flag-slurper/flag_slurper/autopwn.py", line 91, in pwn
    results = pool.map(pwn_service, services)
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 266, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 644, in get
    raise self._value
socket.gaierror: [Errno -2] Name or service not known
@mgerst mgerst added bug component:Autolib The supporting library for AutoPWN. Almost all autopwn functionality should be here. labels Apr 27, 2019
@mgerst mgerst added this to the v0.9.0 milestone Apr 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug component:Autolib The supporting library for AutoPWN. Almost all autopwn functionality should be here.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant