jofpin / trape

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

ERROR: [Errno 2] No such file or directory #80

Open Skeyelab opened 5 years ago

Skeyelab commented 5 years ago
----------------------------------------------
 TRAPE {stable} - Osint and analytics tool <
----------------------------------------------
| v2.0 |
--------

[!] Enter the information requested below to complete the execution

- Enter a URL to generate the lure :~> https://google.com
- What is your port to generate the server? :~> 8090

- Successful startup, get lucky on the way!

[x] ERROR: [Errno 2] No such file or directory

I think all the requirements are installed properly. Anything I could be missing?

bekawas commented 5 years ago

i have the same problem

vysecurity commented 5 years ago

Same.

Aeinsk commented 5 years ago

I retry downroad and unzipping Ngrok. But Error 2 will still appear. Is there a problem with placing ngrok.exe?

kgretzky commented 5 years ago

Code currently doesn't validate if unzip is available and it fails with that error if it doesn't exist: https://github.com/jofpin/trape/blob/master/core/ngrok.py#L66

This will fix it for you:

apt-get install unzip

@vysec

Skeyelab commented 5 years ago

I found that all of this is needed on a new Ubuntu machine for this to work:

apt-get install git unzip python python-dev python-pip build-essential

Maybe some of it can be removed, but that works for me.

ashokjayaprakash commented 5 years ago

Faced the same issue [ERROR: [Errno 2] No such file or directory] in Windows 10, Tried to unzip the ngrok.zip file but it didn't downloaded properly in trape root folder. Working solution is,

hayekr commented 5 years ago

Code currently doesn't validate if unzip is available and it fails with that error if it doesn't exist: https://github.com/jofpin/trape/blob/master/core/ngrok.py#L66

This will fix it for you:

apt-get install unzip

@vysec Installing unzip using sudo apt-get install unzip fixed the issue

Dev-maker commented 5 years ago

i tried this commend using mac but does not work with me i mean brew install unzip