credmap icon indicating copy to clipboard operation
credmap copied to clipboard

Not opening?

Open ROELopYT opened this issue 9 years ago • 6 comments

Hi there!

First of all, i'l have to admit that im am very new to all of this... :| Just a hobby-ist trying out some things. I am very intreseted in this project, but i simply cant get it to work...

Ive installed python, and the Github and git shell, aswell as the downloaded program om my desk (wich is windows btw) now i found that i have to execute the /credmap.py --username janedoe --email [email protected] command. but where exactly do i execute that? because when i try to use it in GitShell of cmd (probably noobish) it opens and directly closes...

is there a more explaining guido as to how i use Python scripts and your scripts? would love to try some things out. 👍

ROELopYT avatar Jan 02 '17 15:01 ROELopYT

Hello, thank you for taking an interest in credmap.

To run it, make sure you have Python installed, I recommend 2.7+ and have it set in your PATH (https://docs.python.org/2.7/using/windows.html#excursus-setting-environment-variables).

Once Python has been configured in your PATH, you should be able to open a command terminal (Start/Run/cmd.exe) and type python --version, which should display the installed version, confirming you have set everything up correctly.

Then to run credmap, make sure you are in the directory where credmap is installed within the cmd terminal and run python credmap.py, which will print the help menu.

I should note that I am in the process of re-writing credmap from scratch and will be releasing an entire new version soon.

lightos avatar Jan 02 '17 18:01 lightos

Hi there, once again (haha)

Ive gotten quite some further, but when i execute the command (see screen) It said that there is no such file 'websites' in the directory. Where exactly do the websites have to go? what file directory?

PS. Great to hear that you will be rewriting it.

Thanks in advance :)

081c5b65a946e91a8bce4ee2e667769e

ROELopYT avatar Jan 02 '17 19:01 ROELopYT

*Correction: system cannot find the path specified: "websites/"

ROELopYT avatar Jan 02 '17 19:01 ROELopYT

This is happening because it is looking for the "websites" folder in your home directory "C:\Users\Roeland" instead of looking for that folder in "credmap-master". I will push a fix later today, but in the meantime you should be able to run it by going into the directory where the script is located.

cd C:\Users\Roeland\Desktop\credmap-master\
python credmap.py

lightos avatar Jan 02 '17 21:01 lightos

Hi, I tried to run credmap fromCMD, this is what I got:

c:\Users\root\Desktop\credmap-master>credmap.py Traceback (most recent call last): File "C:\Users\root\Desktop\credmap-master\credmap.py", line 38, in
from urllib2 import build_opener, install_opener, ProxyHandler ModuleNotFoundError: No module named 'urllib2'

Then I installed Six which include urllib2 and urllib3(urllib3 were previously succefully installed). I used Cygwin: root@root-PC ~ $ pip install six Collecting six Downloading six-1.11.0-py2.py3-none-any.whl Installing collected packages: six Successfully installed six-1.11.0 You are using pip version 9.0.1, however version 9.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

Still have the same result: No module named 'urllib2'

Please assit, I strongly believe that I got something wrong in the process.

Thank you

mongaza avatar Mar 20 '18 05:03 mongaza

Make sure you are running credmap with Python 2.X, as I haven't tested it with Python 3. The urllib2 library is included with Python 2.7, not sure about older versions.

lightos avatar Mar 20 '18 18:03 lightos