fofax is a command line query tool based on the API of https://fofa.info/, simple is the best!
xiecat