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

Issue on install #4

Open
Jopa0226 opened this issue Mar 30, 2022 · 5 comments
Open

Issue on install #4

Jopa0226 opened this issue Mar 30, 2022 · 5 comments

Comments

@Jopa0226
Copy link

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
@cckuailong
Copy link
Owner

cckuailong commented Mar 30, 2022

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

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

@Jopa0226
Copy link
Author

Jopa0226 commented Mar 30, 2022 via email

@cckuailong
Copy link
Owner

What is your OS platform? CentOS?

@Jopa0226
Copy link
Author

Jopa0226 commented Mar 30, 2022 via email

@cckuailong
Copy link
Owner

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

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