Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: can not open apps file technologies.json: open technologies.json: no such file or directory #64

Closed
3xyz opened this issue Oct 9, 2022 · 5 comments

Comments

@3xyz
Copy link

3xyz commented Oct 9, 2022

When I put symbolic link of binatry file to /usr/local/bin/ I cannot run webanalyzer in other directory, because technologies.json file is searched not relative to webanalyzer directory, can u fix that please? :)

@rverton
Copy link
Owner

rverton commented Oct 10, 2022

In your example, you would have to put the technologies.json file in the /usr/local/bin folder, which I'm not a fan of.

What do you think of default paths where the file is searched? First look in the current folder, then in the home folder, then in something like /etc?

I'm not yet sure where the update mechanism should put the file then. Maybe just in the current working directory?

@3xyz
Copy link
Author

3xyz commented Oct 11, 2022

Even if i copy the technologies.json to /usr/local/bin. The script do not see the technologies.json.

@rverton
Copy link
Owner

rverton commented Oct 12, 2022

Yeah, only the current working directory is checked for a technologies.json file. As mentioned above, I think I'm fine with adding a few more places to look. You can send a PR if you want, otherwise I will do this in the upcoming days when I'm free.

@timlaw71
Copy link

I was adding this project into some recon workflow and hit this same error.

@rverton
Copy link
Owner

rverton commented Nov 26, 2022

Fixed in master now, will add a release soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants