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

-silent option doesn't filter the -update output status #52

Closed
superhac opened this issue Jul 2, 2021 · 2 comments
Closed

-silent option doesn't filter the -update output status #52

superhac opened this issue Jul 2, 2021 · 2 comments

Comments

@superhac
Copy link

superhac commented Jul 2, 2021

When executing the following the "-silent" option is still providing the "-update" header in the output:

./webanalyze -apps technologies.json -update -silent -output json -host 10.10.10.238

The Output:

2021/07/01 20:43:09 app definition file updated from https://raw.githubusercontent.com/AliasIO/Wappalyzer/master/src/technologies.json {"hostname":"http://10.10.10.238","matches":[{"app":{"cats":["22"],"category_names":["Web servers"],"cookies":null,"headers":{"Server":"(?:Apache(?:$|/([\\d.]+)|[^/-])|(?:^|\\b)HTTPD)\\;version:\\1"},"meta":null,"html":null,"script":null,"url":null,"website":"http://apache.org","implies":null},"app_name":"Apache","matches":[["Apache/2.4.29","2.4.29"]],"version":"2.4.29"},{"app":{"cats":["28"],"category_names":["Operating systems"],"cookies":null,"headers":{"Server":"Ubuntu","X-Powered-By":"Ubuntu"},"meta":null,"html":null,"script":null,"url":null,"website":"http://www.ubuntu.com/server","implies":null},"app_name":"Ubuntu","matches":[["Ubuntu"]],"version":""}]}

Notice how the first line, "2021/07/01 20:43:09 app definition file updated from https://raw.githubusercontent.com/AliasIO/Wappalyzer/master/src/technologies.json" is still being included in the output.

Can we get that silenced too?

BTW - Great app!

@bugbaba
Copy link

bugbaba commented Jul 2, 2021

Hey @superhac,

I have just created a pull request to fix this, Please give it a try. Before it gets merged :)

--
Regards,
@bugbaba

@superhac
Copy link
Author

superhac commented Jul 2, 2021

It works! Thank you very much @bugbaba!

rverton added a commit that referenced this issue Jul 3, 2021
@rverton rverton closed this as completed Jul 3, 2021
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