spmonkey / GHR

Golden-hooped Rod是一款对于web站点进行漏洞扫描的工具。
105 stars 9 forks source link

gevent.exceptions.LoopExit异常 #1

Open HuangLiyulu opened 9 months ago

HuangLiyulu commented 9 months ago

Traceback (most recent call last): File "C:\Users\UFO\Desktop\POC\漏扫\日常收集\GHR-main\GHR.py", line 176, in ghr.vuln_main() File "C:\Users\UFO\Desktop\POC\漏扫\日常收集\GHR-main\GHR.py", line 136, in vuln_main if self.dirb_scan(): File "C:\Users\UFO\Desktop\POC\漏扫\日常收集\GHR-main\GHR.py", line 96, in dirb_scan result = dirmap(url=self.url, proxies=self.proxies).main() File "C:\Users\UFO\Desktop\POC\漏扫\日常收集\GHR-main\lib\dirmap.py", line 110, in main pool.join() File "C:\Users\UFO\AppData\Local\Programs\Python\Python310\lib\site-packages\gevent\pool.py", line 430, in join result = self._empty_event.wait(timeout=timeout) File "src\gevent\event.py", line 163, in gevent._gevent_cevent.Event.wait File "src\gevent\_abstract_linkable.py", line 521, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait File "src\gevent\_abstract_linkable.py", line 487, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait_core File "src\gevent\_abstract_linkable.py", line 490, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait_core File "src\gevent\_abstract_linkable.py", line 442, in gevent._gevent_c_abstract_linkable.AbstractLinkable._AbstractLinkablewait_to_be_notified File "src\gevent\_abstract_linkable.py", line 451, in gevent._gevent_c_abstract_linkable.AbstractLinkable._switch_to_hub File "src\gevent\_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch File "src\gevent\_greenlet_primitives.py", line 65, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch File "src\gevent\_gevent_c_greenlet_primitives.pxd", line 35, in gevent._gevent_c_greenlet_primitives._greenlet_switch gevent.exceptions.LoopExit: This operation would block forever Hub: <Hub '' at 0x247540dddf0 backend=default ptr=<cdata 'struct uv_loop_s ' 0x00007FFBA884B250> default pending=0 ref=0 callbacks=0 resolver=<gevent.resolver.thread.Resolver at 0x2475632fe20 pool=<ThreadPool at 0x24753b3fdf0 tasks=0 size=7 maxsize=10 hub=<Hub at 0x247540dddf0 thread_ident=0x54ec>>> threadpool=<ThreadPool at 0x24753b3fdf0 tasks=0 size=7 maxsize=10 hub=<Hub at 0x247540dddf0 thread_ident=0x54ec>> thread_ident=0x54ec> Handles: [HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247533CCD78>, type=b'check', watcher=<gevent.libuv.loop.loop at 0x247559b7c40 backend=default ptr=<cdata 'struct uv_loop_s ' 0x00007FFBA884B250> default pending=0 ref=0 callbacks=0>, ref=0, active=1, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247536DA1D8>, type=b'timer', watcher=<gevent.libuv.loop.loop at 0x247559b7c40 backend=default ptr=<cdata 'struct uv_loop_s ' 0x00007FFBA884B250> default pending=0 ref=0 callbacks=0>, ref=0, active=1, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247533CCED8>, type=b'prepare', watcher=<gevent.libuv.loop.loop at 0x247559b7c40 backend=default ptr=<cdata 'struct uv_loop_s ' 0x00007FFBA884B250> default pending=0 ref=0 callbacks=0>, ref=0, active=1, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247533CC8A8>, type=b'check', watcher=<gevent.libuv.loop.loop at 0x247559b7c40 backend=default ptr=<cdata 'struct uv_loop_s ' 0x00007FFBA884B250> default pending=0 ref=0 callbacks=0>, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024753753FA8>, type=b'async', watcher=<async_ at 0x24755a57880 callback=<function AbstractLoop._init_loop_and_aux_watchers.. at 0x0000024755A6C700> args=() watcher=<cdata 'struct uv_async_s ' owning 224 bytes> handle=<cdata 'void ' 0x0000024755A5D880> ref=False>, ref=0, active=1, closing=0), HandleState(handle=<cdata 'struct uv_handles *' 0x0000024753752C88>, type=b'async', watcher=<async at 0x247562fa6b0 callback=<bound method ThreadPool._on_fork of <ThreadPool at 0x24753b3fdf0 tasks=0 size=7 maxsize=10 hub=<Hub at 0x247540dddf0 thread_ident=0x54ec>>> args=() watcher=<cdata 'struct uv_async_s ' owning 224 bytes> handle=<cdata 'void ' 0x00000247574C80C0> ref=False>, ref=0, active=1, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756836718>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x000002475670EE08>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x000002475401D608>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x000002475401E828>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756836E58>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756837028>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756836AB8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AE2038>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AE2B18>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AE2EB8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x000002475401E488>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x000002475401CCF8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247566C48C8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AACA08>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AABD58>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AAC498>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AAC668>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AAC2C8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AE1E68>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247566C3C18>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247566C4C68>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247566C34D8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247566C4528>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247566C3A48>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247566C3DE8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247566C4A98>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247566C3878>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247566C4188>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247566C4358>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247566C46F8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AACBD8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AAB448>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AACDA8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AABB88>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AABF28>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AAC838>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AAB7E8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AAB0A8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AAB9B8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AAC0F8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AAB278>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756AAB618>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247567C3088>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247567C37C8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247567C2948>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247567C2EB8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247567C2CE8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247567C3428>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247567C25A8>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247567C1C98>, type=b'poll', watcher=None, ref=1, active=0, closing=0)] Traceback (most recent call last): File "C:\Users\UFO\AppData\Local\Programs\Python\Python310\lib\weakref.py", line 667, in _exitfunc f() File "C:\Users\UFO\AppData\Local\Programs\Python\Python310\lib\weakref.py", line 591, in call return info.func(*info.args, **(info.kwargs or {})) File "C:\Users\UFO\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\connectionpool.py", line 1178, in _close_pool_connections conn = pool.get(block=False) File "C:\Users\UFO\AppData\Local\Programs\Python\Python310\lib\queue.py", line 165, in get with self.not_empty: File "C:\Users\UFO\AppData\Local\Programs\Python\Python310\lib\threading.py", line 265, in enter return self._lock.enter() File "src\gevent\_semaphore.py", line 282, in gevent._gevent_c_semaphore.Semaphore.enter File "src\gevent\_semaphore.py", line 283, in gevent._gevent_c_semaphore.Semaphore.enter File "src\gevent\_semaphore.py", line 184, in gevent._gevent_c_semaphore.Semaphore.acquire File "C:\Users\UFO\AppData\Local\Programs\Python\Python310\lib\site-packages\gevent\thread.py", line 112, in acquire acquired = BoundedSemaphore.acquire(self, blocking, timeout) File "src\gevent\_semaphore.py", line 184, in gevent._gevent_c_semaphore.Semaphore.acquire File "src\gevent\_semaphore.py", line 263, in gevent._gevent_c_semaphore.Semaphore.acquire File "src\gevent\_semaphore.py", line 253, in gevent._gevent_c_semaphore.Semaphore.acquire File "src\gevent\_abstract_linkable.py", line 521, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait File "src\gevent\_abstract_linkable.py", line 487, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait_core File "src\gevent\_abstract_linkable.py", line 490, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait_core File "src\gevent\_abstract_linkable.py", line 442, in gevent._gevent_c_abstract_linkable.AbstractLinkable._AbstractLinkablewait_to_be_notified File "src\gevent\_abstract_linkable.py", line 451, in gevent._gevent_c_abstract_linkable.AbstractLinkable._switch_to_hub File "src\gevent\_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch File "src\gevent\_greenlet_primitives.py", line 65, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch File "src\gevent\_gevent_c_greenlet_primitives.pxd", line 35, in gevent._gevent_c_greenlet_primitives._greenlet_switch gevent.exceptions.LoopExit: This operation would block forever Hub: <Hub '' at 0x247540dddf0 backend=default ptr=<cdata 'struct uv_loop_s ' 0x00007FFBA884B250> default pending=0 ref=0 callbacks=0 resolver=<gevent.resolver.thread.Resolver at 0x2475632fe20 pool=<ThreadPool at 0x24753b3fdf0 tasks=0 size=7 maxsize=10 hub=<Hub at 0x247540dddf0 thread_ident=0x54ec>>> threadpool=<ThreadPool at 0x24753b3fdf0 tasks=0 size=7 maxsize=10 hub=<Hub at 0x247540dddf0 thread_ident=0x54ec>> thread_ident=0x54ec> Handles: [HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247533CCD78>, type=b'check', watcher=<gevent.libuv.loop.loop at 0x247559b7c40 backend=default ptr=<cdata 'struct uv_loop_s ' 0x00007FFBA884B250> default pending=0 ref=0 callbacks=0>, ref=0, active=1, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247536DA1D8>, type=b'timer', watcher=<gevent.libuv.loop.loop at 0x247559b7c40 backend=default ptr=<cdata 'struct uv_loop_s ' 0x00007FFBA884B250> default pending=0 ref=0 callbacks=0>, ref=0, active=1, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247533CCED8>, type=b'prepare', watcher=<gevent.libuv.loop.loop at 0x247559b7c40 backend=default ptr=<cdata 'struct uv_loop_s ' 0x00007FFBA884B250> default pending=0 ref=0 callbacks=0>, ref=0, active=1, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x00000247533CC8A8>, type=b'check', watcher=<gevent.libuv.loop.loop at 0x247559b7c40 backend=default ptr=<cdata 'struct uv_loop_s ' 0x00007FFBA884B250> default pending=0 ref=0 callbacks=0>, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024753753FA8>, type=b'async', watcher=<async_ at 0x24755a57880 callback=<function AbstractLoop._init_loop_and_aux_watchers.. at 0x0000024755A6C700> args=() watcher=<cdata 'struct uv_async_s ' owning 224 bytes> handle=<cdata 'void ' 0x0000024755A5D880> ref=False>, ref=0, active=1, closing=0), HandleState(handle=<cdata 'struct uv_handles *' 0x0000024753752C88>, type=b'async', watcher=<async at 0x247562fa6b0 callback=<bound method ThreadPool._on_fork of <ThreadPool at 0x24753b3fdf0 tasks=0 size=7 maxsize=10 hub=<Hub at 0x247540dddf0 thread_ident=0x54ec>>> args=() watcher=<cdata 'struct uv_async_s ' owning 224 bytes> handle=<cdata 'void ' 0x00000247574C80C0> ref=False>, ref=0, active=1, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x0000024756836718>, type=b'poll', watcher=None, ref=1, active=0, closing=0), HandleState(handle=<cdata 'struct uv_handle_s ' 0x000002475670EE08>, type=b'poll', watcher=None, ref=1, active=0, closing=0)]

spmonkey commented 9 months ago

漏洞已修复,请更新后再尝试,如还存在问题,请继续反馈,或者在微信群艾特群主,感谢您的使用