rverton / webanalyze

Port of Wappalyzer (uncovers technologies used on websites) to automate mass scanning.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot unmarshal array into Go struct field App.technologies.meta of type string

dogasantos opened this issue · comments

Hey there!
Thanks for this port, this is really awesome!

I'm havin an issue with, are you guys seeing this too ?

2021/02/04 19:21:07 initialization failed: json: cannot unmarshal array into Go struct field App.technologies.meta of type string

version 0.3.2
Ty

Looks like an update to the json there is causing issues, for now try this version of the apps:

https://raw.githubusercontent.com/AliasIO/wappalyzer/965f0fcad60c8dc774e8b949ca01b12565f2de09/src/technologies.json

It's Don't help

I guess its because wappalyzer changed their JSOn structure again, as @maxrev17 suggested. I think I can have a look later/tomorrow.

Thanks for the update.
@maxrev17 workaround works just fine.

I'd recommend keep a validated copy of technologies.json whitin the repository.
In case any change happens in the future, this tool will still work until an update is released.

@dogasantos thats a good idea. I checked the license and it looks like I can just include it because both are MIT.

I will fix the current schema and add the current technologies.json as a base to the repository in the next commit.

I pushed 4b7ed27 which fixes the schema bug. It also includes a current technologies.json file as suggested by @dogasantos. Feel free to check, I will tag and release later.

appreciate the update @rverton 👍 , i've got the same problem

Hello, what I see the issue comes back.
└─$ webanalyze -update
2024/03/26 09:43:02 app definition file updated from https://raw.githubusercontent.com/AliasIO/Wappalyzer/master/src/apps.json

└─$ webanalyze -host resources.bayer.com.au
2024/03/26 09:45:39 initialization failed: json: cannot unmarshal number into Go value of type webanalyze.AppsDefinition

So what I understand from the previous discussion, it should be updated from technologies.json rather than apps.json?