GitMiner icon indicating copy to clipboard operation
GitMiner copied to clipboard

Error while execute the script

Open cafeitduong opened this issue 6 years ago • 9 comments

Hello,

Thanks for releasing new version, the older one is not working recently. However, I've followed the installation guideline with below steps:

  1. Git clone the latest repos
  2. Update the requirement.txt with (lxml, requests, argparse, json, re), looks like it's missing in code
  3. pip3 install -r requirements
  4. Execute the sample command: python3 gitminer-v2.0.py -q 'filename:wp-config extension:php FTP_HOST in:file ' -m wordpress -c <my_cookies> 5 Got below error message: Traceback (most recent call last): File "gitminer-v2.0.py", line 11, in <module> from core.Parser import Parser File "/home/scumblr/GitMiner/core/Parser.py", line 6, in <module> from core.sendRequest import requestPage File "/home/scumblr/GitMiner/core/sendRequest.py", line 3, in <module> from core import Parser ImportError: cannot import name 'Parser'

Please help me, am I missing something?

Thanks.

cafeitduong avatar Aug 22 '18 04:08 cafeitduong

Hi, please, remove and clone again

danilovazb avatar Aug 27 '18 23:08 danilovazb

Hi,

Still have the same error after remove and clone.

cafeitduong avatar Aug 28 '18 02:08 cafeitduong

what is your OS?

danilovazb avatar Sep 06 '18 18:09 danilovazb

It is: Ubuntu 14.04.3 LTS (GNU/Linux 3.19.0-25-generic x86_64)

cafeitduong avatar Sep 07 '18 02:09 cafeitduong

Me too,My OS is centos_7.

icxcoffee avatar Sep 30 '18 08:09 icxcoffee

This problem may be caused by python34. When I use python35, there is no such problem.

icxcoffee avatar Sep 30 '18 08:09 icxcoffee

Using python27 also has this problem.

icxcoffee avatar Sep 30 '18 08:09 icxcoffee

I see let me try to use python35. Thanks!

cafeitduong avatar Oct 01 '18 02:10 cafeitduong

Hi All, I have no problem with Ubuntu 16.04 with below python version and pip.

apt install python3.5 apt install python3-pip Git Clone GitMiner and run install follow the guideline.

Hope this will help. Thanks

tanphamit4vn avatar Jun 13 '19 07:06 tanphamit4vn