rverton / webanalyze

Port of Wappalyzer (uncovers technologies used on websites) to automate mass scanning.
MIT License
955 stars 137 forks source link

Add newline for emitting multiple JSON records to create valid ndjson files #13

Closed hrbrmstr closed 6 years ago

hrbrmstr commented 6 years ago

Just doing os.Stdout.Write(b) won't emit a newline and to create sequential JSON records (when scanning multiple hosts at one time) that are valid ndjson requires a newline to be at the end. This tiny commit just adds a newline to the byte array before the Write.

rverton commented 6 years ago

Thanks for your contribution! :)