jofpin / trape

People tracker on the Internet: OSINT analysis and research tool by Jose Pino
https://x.com/jofpin
7.98k stars 1.28k forks source link

Error: local variable 'config_trape' referenced before assignment #215

Open Pentest00111234 opened 4 years ago

Pentest00111234 commented 4 years ago

When i set all API , then this error has show . And then loop the ngrok setup. Please let me know , how to fixed it?

Kali95739 commented 4 years ago

News flash the maker doesn't give a shit about this tool it's broke use beef xss

aeroxy commented 4 years ago

lol good to know @Kali95739

ofer026 commented 4 years ago

@Pentest00111234 you are right! this error is driving me nuts and i don't know what to do

Kuro-Arigami commented 4 years ago

Hello my good friends here is the solution to the loop. Steps:

  1. Visit your trape folder. 2 Open the core folder and you'll find trape.py.
  2. Open the trape.py file and do what I'll illustrate in step four.
  3. Do the following open trape.py in the core folder and:

    find: v = '{\n\t"ngrok_token" : "' + c_nGrokToken + '",\n\t"gmaps_api_key" : "' + c_gMapsToken + '",\n\t"gshortener_api_key" : "' + c_gOoglToken + '"\n\t"ipinfo_api_key" : "' + c_ipinfo + '",\n}'

    replace with: v = '{\n\t"ngrok_token" : "' + c_nGrokToken + '",\n\t"gmaps_api_key" : "' + c_gMapsToken + '",\n\t"gshortener_api_key" : "' + c_gOoglToken + '",\n\t"ipinfo_api_key" : "' + c_ipinfo + '"\n}'

It will solve the looping error after doing this find me and buy me lunch :) :) :)

WWWWSS commented 4 years ago

@Kuro-Arigami not working for me

trash3d commented 4 years ago

works for me https://www.youtube.com/watch?v=bm5120HSD0Q

sumit006485 commented 4 years ago

how fix this error??

ghost commented 4 years ago

Hello my good friends here is the solution to the loop. Steps:

  1. Visit your trape folder. 2 Open the core folder and you'll find trape.py.
  2. Open the trape.py file and do what I'll illustrate in step four.
  3. Do the following open trape.py in the core folder and: find: v = '{\n\t"ngrok_token" : "' + c_nGrokToken + '",\n\t"gmaps_api_key" : "' + c_gMapsToken + '",\n\t"gshortener_api_key" : "' + c_gOoglToken + '"\n\t"ipinfo_api_key" : "' + c_ipinfo + '",\n}'

replace with: v = '{\n\t"ngrok_token" : "' + c_nGrokToken + '",\n\t"gmaps_api_key" : "' + c_gMapsToken + '",\n\t"gshortener_api_key" : "' + c_gOoglToken + '",\n\t"ipinfo_api_key" : "' + c_ipinfo + '"\n}'

It will solve the looping error after doing this find me and buy me lunch :) :) :)

This is the same exact code.

roltsolen commented 4 years ago

Hello my good friends here is the solution to the loop. Steps:

  1. Visit your trape folder. 2 Open the core folder and you'll find trape.py.
  2. Open the trape.py file and do what I'll illustrate in step four.
  3. Do the following open trape.py in the core folder and: find: v = '{\n\t"ngrok_token" : "' + c_nGrokToken + '",\n\t"gmaps_api_key" : "' + c_gMapsToken + '",\n\t"gshortener_api_key" : "' + c_gOoglToken + '"\n\t"ipinfo_api_key" : "' + c_ipinfo + '",\n}'

replace with: v = '{\n\t"ngrok_token" : "' + c_nGrokToken + '",\n\t"gmaps_api_key" : "' + c_gMapsToken + '",\n\t"gshortener_api_key" : "' + c_gOoglToken + '",\n\t"ipinfo_api_key" : "' + c_ipinfo + '"\n}'

It will solve the looping error after doing this find me and buy me lunch :) :) :)

Sir you saved my life I got it fixed. I made an account just to thank you https://ibb.co/ZNT8GCv

Kali95739 commented 4 years ago

Yeah it works now thanks but why is it going so slow it takes like 20 minutes to load the panel page and the hook page doesn't even load is anyone else having this problem?

naimkowshik commented 4 years ago

Hello my good friends here is the solution to the loop. Steps:

1. Visit your trape folder.
   2 Open the core folder and you'll find trape.py.

2. Open the trape.py file and do what I'll illustrate in step four.

3. Do the following open trape.py in the core folder and:
   find:
   v = '{\n\t"ngrok_token" : "' + c_nGrokToken + '",\n\t"gmaps_api_key" : "' + c_gMapsToken + '",\n\t"gshortener_api_key" : "' + c_gOoglToken + '"\n\t"ipinfo_api_key" : "' + c_ipinfo + '",\n}'

replace with: v = '{\n\t"ngrok_token" : "' + c_nGrokToken + '",\n\t"gmaps_api_key" : "' + c_gMapsToken + '",\n\t"gshortener_api_key" : "' + c_gOoglToken + '",\n\t"ipinfo_api_key" : "' + c_ipinfo + '"\n}'

It will solve the looping error after doing this find me and buy me lunch :) :) :)

Thank You Bro solve this problem

https://prnt.sc/sy8d5s

Orangeeye777 commented 4 years ago

[x] ERROR: local variable 'config_trape' referenced before assignment

ISSUE RESOLVED :

Update the details properly while configuring the trape.config i have use below site, create the account

  1. ngrok - for ngrok_token
  2. app.ipgeolocation.io - for gmaps_api_key
  3. No need to update google url shorner
  4. ipinfo.io - for ipinfo_api_key Then hit ENTER. we are done...
ghost commented 4 years ago

replace with: v = '{\n\t"ngrok_token" : "' + c_nGrokToken + '",\n\t"gmaps_api_key" : "' + c_gMapsToken + '",\n\t"gshortener_api_key" : "' + c_gOoglToken + '",\n\t"ipinfo_api_key" : "' + c_ipinfo + '"\n}'

correct API Google Search Console API Google The Search Console API provides access to Search Console data for your verified websites. API Enabled

  1. ngrok - for ngrok_token
  2. Google Search Console API
  3. No need to update google url shorner
  4. https://app.ipgeolocation.io/ Then hit ENTER. we are done...