Closed irruzzz closed 12 years ago
If you are on windows :
The creepy.conf you need to edit with the new key and secret is the one in your home directory ( i.e. C:\Users\yourusername in windows 7 ) and not the one in C:\Program Files\creepy\include .
Open the creepy.conf with a proper editor (like notepad++) and check you have copy pasted the consumer key and secret correctly and every line is in the form of
name = value
I have to the .conf file added my own keys (access and consumer), and secrets (access and consumer), but searching does not work (says I have to authorize) and the authorize button does not have visible results. I had the same issue on Linux Mint and Windows 7.
I can post messages to the account I used with this auth info, so the auth info should work.
Edit: No visible result is only on Windows. Linux gives "tweepy.error.TweepError: HTTP Error 401: Unauthorized"
Edit: I printed the oauth-values before they were submitted (line 509~ in creepymap.py), they were for some reason not my values, but the defaults, even though I added mine to the cfg file. Solved my issue by inputting my values directly into the authorizing-thingy
def button_authorize_twitter(self, button):
#print (self.config['twitter_auth']['consumer_key'], self.config['twitter_auth']['consumer_secret'])
#self.oauth = oauth(self.config['twitter_auth']['consumer_key'], self.config['twitter_auth']['consumer_secret'])
consec = "" #set
conkey = "" #set
self.oauth = oauth(conkey, consec)
url = self.oauth.get_authorization_url(True)
webbrowser.open(url)
I will ask again : Which conf file are you editing ? In windows the creepy.conf you need to edit is in C:\Users\YourUsername\creepy\creepy.conf and NOT the one in C:\Program Files\creepy\include\creepy.conf
In Linux it is the file located in /home/youruserame/.creepy/creepy.conf and NOT the one in /usr/share/pyshared/creepy/include/creepy.conf
You should not edit your access key and secret directly. Provided that you have added the consumer key and secret, creepy will get authorization to use your credentials and populate the access key and secret.
So, find the correct creepy.conf file , edit ONLY the consumer key and secret, leave the access key and secret blank, ensure that the structure of the file is as it is supposed to :
[stanza] name = value
and then start the application, got to Edit -> Settings and click on authorize creepy.
Reinstalled OS and creepy to get rid of messy previous configurations.
I searched my file system for creepy.conf, only result was in /pentest/something/creepy/ (on Backtrack that is).
Anyways, I added the consumer values to it, tried clicking the authorize button - And nothing seemed to happen (no browser opened to show me the pin). This was with a brand new "dummy app" that had not yet had its access values generated.
However, after that I tried geolocation my profile, and though it gave me errors every now and then, the status messages implied tweets were being gathered (it said something along the lines of x of y tweets obtained).
Does this mean it works?
""" In Linux it is the file located in /home/youruserame/.creepy/creepy.conf and NOT the one in /usr/share/pyshared/creepy/include/creepy.conf """
My /home/root folder was completely empty, no conf files there (or any other files for that matter).
The .creepy (as in dot creepy ) is a hidden folder and you need to use "ls -a" to see it listed. The browser does not open because of the problem with the keys. Version 0.1.95 is here that solves the key issue and it's up to the Backtrack maintainers to update the package in the repos.
anyone help me?