ilektrojohn / creepy

A geolocation OSINT tool. Offers geolocation information gathering through social networking platforms.
http://www.geocreepy.com
GNU General Public License v3.0
1.26k stars 302 forks source link

Permission problem for log file in windows version #7

Closed ilektrojohn closed 10 years ago

ilektrojohn commented 13 years ago

Copying here as it was sent to me :


OS: Windows 7 enteprise, 64-bit english

Login to windows as normal user (non-admin user) Start CreepySetup_0.1.92.exe Give admin password to allow installation to work.

Start "creepy" => You get following error:

Errors occurred The logfire 'C:\Program Files (x86)\creepy\creepymap.exe.log' could not be opened: [Errno 13] Permission denied: 'C:\Program Files (x86)\creepy\creepymap.exe.log'

To make the program work you need to copy the folder to users private area (f. ex. desktop) and start creepymap.exe from there.


riggs commented 13 years ago

The above is what happens when you get an error and you're not running the program as an administrator.

When you 'run as administrator', the admin doesn't have the HOMEPATH environment variable, leading to the traceback: Traceback (most recent call last): File "creepymap.py", line 966, in File "creepymap.py", line 55, in init File "os.pyo", line 423, in getitem KeyError: 'HOMEPATH'

Changing the permissions for the log file to allow users write access leads to the following traceback: Traceback (most recent call last): File "creepymap.py", line 966, in File "creepymap.py", line 88, in init File "creepymap.py", line 885, in create_directory TypeError: not all arguments converted during string formatting

This last traceback is the root of the problem, I believe. I suspect it may have something to do with the directory name "Program Files (x86)".

And as mentioned above, copying the entire creepy folder onto my desktop works.

ilektrojohn commented 13 years ago

I think ( test so we can be sure) that the binary for 0.1.93 fixes the problem. Try and give me some feedback ;)