assetnote / kiterunner

Contextual Content Discovery Tool
GNU Affero General Public License v3.0
2.53k stars 280 forks source link

Getting Failure when trying to convert .json file to .kite #42

Open santikris2003 opened 2 years ago

santikris2003 commented 2 years ago

Getting Failure when trying to convert .json file to .kite

root@metasplotable3:~# ./kr kb convert my.json my.kite   ▄▄▄▄ ██ ▄▄▀▀▀▀▄▄ █▀▄█▄█ █▄▄▄ ▒ ▄▄ █▄█ ▀▀▄▄▄ ▀▀▀▄▄██▀▀▀▀▀ ▄█▄█▄▄█▄ ▄▄▄ ▒█▒ ██▄▄▀▀██  ███ ▄▄▄▄▄▄▄▄▄▄▄▄█▄ █████▀▀▀▄█ ▄▄▄▓█ ▄▄  ▄█▄▀▓▄█▄ ▒ ▄▄ ▀█▀▄▌▐█▌█ █▓█ ██▀▀▀▀██▀██▓█ ██▄▀▀▐▓ ▄█▓▌ ▀▀█▓█ █▓█ ▄ ▀ █▄▀▀▀▄ ▄▄ ▄▄▄▄▄█▄ ▐██▌▐██▀ ▀▀▀ █▓█ █▄▓▀ █▀▀▄▄▄▄▄▄ ▐▓▄█▓▄▄█▄ ███▄▄▀ ██▄█ ▄▄▀   ▄▀ ▀ ▀███▀▀▄█▄ ▐▀███▄▄▄▄█▄▀▄▀▀ ███▄▄ ▄█▄▀▀▀▀▓███▄▀█▀▀▓█ ▀█▀▀█  █▓ ▀▄█▓█ ▄▓█ ██▀▀▀ ▄ ▐▓█ ▀█▀▀ ▐█▓▄█▀▀▀▀▀██ ▀▄ ▐▓▀▀ █▄▀▀▀▄▄▀▀████▀ █▓▌        ▐▀  ██▀ ▄ ▀▓█ █▓▄ ▄▄▀ ▐▓▌ ▐███▄ ▐▄██ ▄█ ▄█▌  █▀▄▄▄ ▀▀  ▐██ ▐▀▄ ▄█▓█ ▄▄█▄ ██ ▀▄▄▄▀▄ ▀▀▄▄▀▀ ▄▄▀ ▐▀▓█ █▓██▄▄▄███▄█ ▀█▀▄█ ▄█▄▄▓█ ▀▀▀▀▄█▄▄▄▄▄▀▄▄ ▀ █▓█▀▄█▌ ▄▀▄██ █▀█ ██▀▀▀▀▀▀▀▀▀▓█ ██ ▀▀▀ ███▀▓█ ▄▀█▀▀▀▀▀▀ ▀▀ ▐▓█ ▀▌ ▄▀▄▄▀█ ▀▀   ███ █▀▀▄▄█ ▀▓▀ ▐▀▀ ▀▀▄█▀ ▒       ▀█▄▄██ ▀▀ ▒█▒        ▀▄█▀ ▒ ▀ 9:14AM INF converting input=my.json input-type=JSON output=my.kite output-type=KITE 9:14AM FTL failed to convert files error="conversion error: parsing kitebuilder json input error: failed to unmarshal json: json: cannot unmarshal object into Go value of type []kitebuilder.API" root@metasplotable3:~#

infosec-au commented 2 years ago

Hi,

Have you considered downloading our pre-compiled kite files from https://wordlists.assetnote.io (Kiterunner Wordlists)

santikris2003 commented 2 years ago

my.json is json file with my endpoints which I tried to convert to .kite

hum4nG0D commented 1 year ago

Any update on this guys? I'm having the same issue. I have a schema file in .json and I can't seem to convert it to .kite file.

11:30AM INF converting input=schema.json input-type=JSON output=schema.kite output-type=KITE                                                                                                                                               
11:30AM FTL failed to convert files error="conversion error: parsing kitebuilder json input error: failed to unmarshal json: json: cannot unmarshal object into Go value of type []kitebuilder.API"