gator2022 Posted January 14, 2022 Share Posted January 14, 2022 Is there anyway to set a static DNS server on the SharkJack? I can't get it to connect to my C2 server that is using a FQDN. Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted January 14, 2022 Share Posted January 14, 2022 Probably something like this (reading the OpenWrt documentation): # Configure DNS provider uci -q delete network.wan.dns uci add_list network.wan.dns="8.8.8.8" uci add_list network.wan.dns="8.8.4.4" #or whatever DNS that is desired # Disable peer DNS uci set network.wan.peerdns="0" # Save and apply uci commit network /etc/init.d/network restart #or #service network reload Quote Link to comment Share on other sites More sharing options...
gator2022 Posted January 17, 2022 Author Share Posted January 17, 2022 Ok, that fixed the DNS resolution but still can't get it to connect. I have C2CONNECT in the payload, have the device.config dumped in the /etc folder, but it never registers with the server. If I SSH into the Shark, and run C2CONNECT it says it's already connected. Any idea where the logs are? Quote Link to comment Share on other sites More sharing options...
Solution gator2022 Posted January 17, 2022 Author Solution Share Posted January 17, 2022 Nevermind, I figured it out. Needed to add the C2PROVISION line. Thanks! Quote Link to comment Share on other sites More sharing options...
Brandnewhak Posted February 12, 2022 Share Posted February 12, 2022 Hi, gator my name is Lou I have no clue of the hak5 shark I’m bran new at this. I can use all the advise and where do I begin? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.