PortKnocker icon indicating copy to clipboard operation
PortKnocker copied to clipboard

import from hosts.db

Open trueshanti opened this issue 4 years ago • 1 comments

how can i get a valid import-file(json?) from an hosts.db-file ?

can i get to it by sqlite3 / sed / awk ?

trueshanti avatar Jul 29 '21 23:07 trueshanti

@trueshanti There is no functionality to import from a db file. I guess there is somehow a way to get from a db to json, in the end it is the same data. But nothing out of the box. If you have a .db file you could copy it to the target phone. Or you do a json export on the source phone by the "export hostlist" and directly send it to the target phone where you could import it.

TDFKAOlli avatar Sep 01 '21 17:09 TDFKAOlli