pocsploit icon indicating copy to clipboard operation
pocsploit copied to clipboard

Issue on install

Open Jopa0226 opened this issue 2 years ago • 5 comments

python3 pocsploit.py -iF example.txt -r modules/ --poc

  if len(self.targets) is 0:

                                 __      _ __ 
    ____  ____  ______________  / /___  (_) /_
   / __ \/ __ \/ ___/ ___/ __ \/ / __ \/ / __/
  / /_/ / /_/ / /__(__  ) /_/ / / /_/ / / /_  
 / .___/\____/\___/____/ .___/_/\____/_/\__/  
/_/                   /_/                     
    { Version 0.0.1 by cckuailong }


2022-03-30 15:49:09.054 | INFO     | lib.core.option:EngineRegister:33 - Threads Num: 10
2022-03-30 15:49:09.054 | INFO     | lib.controller.loader:loadModule:16 - Initialize modules...
2022-03-30 15:49:09.346 | WARNING  | lib.cli:main:44 - Traceback (most recent call last):
  File "/opt/pocsploit/lib/cli.py", line 23, in main
    loadModule()
  File "/opt/pocsploit/lib/controller/loader.py", line 28, in loadModule
    tmp_module_objs.add(imp.load_module(module_name, fp, pathname, description))
  File "/usr/lib/python3.9/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/usr/lib/python3.9/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 711, in _load
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/opt/pocsploit/modules/vulnerabilities/wordpress/wp-xmlrpc-pingback-detection.py", line 2, in <module>
    from plugins.oob import verify_request, gen_oob_domain
ModuleNotFoundError: No module named 'plugins.oob'

2022-03-30 15:49:09.346 | WARNING  | lib.cli:main:45 - It seems like you reached a unhandled exception, please raise a issue via:<https://github.com/cckuailong/pocsploit/issues/new>. ```

I literally just installed (Yes, I installed requirements.txt) mind having a look?

Thanks

Jopa0226 avatar Mar 30 '22 10:03 Jopa0226

export PYTHONPATH=/usr/local/lib/python3.x/site-packages;

set the env with your own Python path, maybe it can solve the problem

cckuailong avatar Mar 30 '22 11:03 cckuailong

Nope, same error sorry

On Wed, 30 Mar 2022 at 22:16, cckuailong @.***> wrote:

export PYTHONPATH=/usr/local/lib/python3.x/site-packages;

— Reply to this email directly, view it on GitHub https://github.com/cckuailong/pocsploit/issues/4#issuecomment-1083001585, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO5DOIYQZTGAFCE5FPBYD43VCQZ2BANCNFSM5SBN4DFQ . You are receiving this because you authored the thread.Message ID: @.***>

Jopa0226 avatar Mar 30 '22 11:03 Jopa0226

What is your OS platform? CentOS?

cckuailong avatar Mar 30 '22 11:03 cckuailong

Debian

On Wed, 30 Mar 2022, 10:39 pm cckuailong, @.***> wrote:

What is your OS platform? CentOS?

— Reply to this email directly, view it on GitHub https://github.com/cckuailong/pocsploit/issues/4#issuecomment-1083028498, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO5DOIZC4A27XO67LZXASOTVCQ4ONANCNFSM5SBN4DFQ . You are receiving this because you authored the thread.Message ID: @.***>

Jopa0226 avatar Mar 30 '22 11:03 Jopa0226

Got it, I'll test on debian. It works well on Ubuntu/centos/mac, I have test on these platforms

cckuailong avatar Mar 30 '22 12:03 cckuailong