GU355WH0O0 Posted January 8, 2020 Share Posted January 8, 2020 Hello guys! So I have been awaiting over 12 mins now for my SJ to "connect" I have previously ssh'd into the shark jack. So i know it has proper connection to my laptop I ran script the sharkjack.sh script, but the script wont connect to my SJ It is stuck on Waiting for a Shark Jack to be connected..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................^C I also tried "[C]onnect - get a shell on your shark jack." This method also does not allow me to connect, I am running linux mint 19.3 Thank you guys in advance for any advice Link to comment Share on other sites More sharing options...
Irukandji Posted January 8, 2020 Share Posted January 8, 2020 Is the shark charged and powered on? Link to comment Share on other sites More sharing options...
GU355WH0O0 Posted January 8, 2020 Author Share Posted January 8, 2020 Yes, indeed it is. It died after i submitted my post. It is currently on charge till it is solid blue Link to comment Share on other sites More sharing options...
Irukandji Posted January 8, 2020 Share Posted January 8, 2020 Yep, when it's solid blue. And you can plug it in when it's changing. Link to comment Share on other sites More sharing options...
GU355WH0O0 Posted January 9, 2020 Author Share Posted January 9, 2020 Still nothing, I am not able to upgrade firmware or connect Link to comment Share on other sites More sharing options...
InfoSecREDD Posted January 9, 2020 Share Posted January 9, 2020 49 minutes ago, GU355WH0O0 said: Still nothing, I am not able to upgrade firmware or connect Hmm if you type "ifconfig" does your Machine see a interface with IP address "172.16.24.1"? Link to comment Share on other sites More sharing options...
GU355WH0O0 Posted January 9, 2020 Author Share Posted January 9, 2020 I do get the IP I am still not able to connect to device. I am able to ssh into it, which makes no sense. Im going to test this on an ubuntu box. Maybe mint is funky with this device box@X:~$ ssh root@172.16.24.1 root@172.16.24.1's password: BusyBox v1.28.4 () built-in shell (ash) \_____)\_____ Shark Jack _____/(_____/ /--v____ __°< by Hak5 >°__ ____v--\ )/ \( root@shark:~# ls VERSION loot payload root@shark:~# cat VERSION 1.0 root@shark:~# This is after i get into the executable ##################################################### \_____)\_____ Shark Jack _____/(_____/" /--v____ __°< by Hak5 >°__ ____v--" )/ \(" ##################################################### Press the highlighted key to select an option (example: press C to connect) [C]onnect - get a shell on your Shark Jack pgrade firmware [P]ush payload to Shark Jack [G]et loot saved on Shark Jack [R]eset known_hosts keys for the Shark Jack on this system etup ssh keys for easy access [Q]uit Waiting for a Shark Jack to be connected.................................................................................................................................................................................................................................................................................................................................................................^C I am in arming mode and connected to power. just for thought i also tried in attack mode. But still no luck Link to comment Share on other sites More sharing options...
Parabellum Posted January 24, 2020 Share Posted January 24, 2020 Any news regarding the connection problem with sharkjack.sh script? I'm also facing this issue Thanks Link to comment Share on other sites More sharing options...
9H057Fl0Ppy Posted March 25, 2020 Share Posted March 25, 2020 Same Issue with my Sharkjack on Version 1.1.0 Thx Link to comment Share on other sites More sharing options...
ot2i7ba Posted June 5, 2020 Share Posted June 5, 2020 I have the same problem. I get an IP. I can do SSH. ping -c 1 172.16.24.1 is successful. But a connection with the script is not possible. Any ideas? Tips? Developer comment maybe? I use a freshly installed Xubuntu 20.04 LTS. Link to comment Share on other sites More sharing options...
Darren Kitchen Posted June 6, 2020 Share Posted June 6, 2020 @ot2i7ba are you able to SCP files to / SSH into the Shark Jack manually? Link to comment Share on other sites More sharing options...
ot2i7ba Posted June 6, 2020 Share Posted June 6, 2020 @Darren Kitchen that ist possible. I upgrade the firmware manually, so yes scp works fine. So far, that's not a problem. However, I want to understand why the script doesn't work. Link to comment Share on other sites More sharing options...
ot2i7ba Posted June 6, 2020 Share Posted June 6, 2020 I find that the Shark Jack kills the internet connection from my notebook (WLAN). However, this cannot be the connection problem of the script. Link to comment Share on other sites More sharing options...
Darren Kitchen Posted June 6, 2020 Share Posted June 6, 2020 Powershell or Bash script? Link to comment Share on other sites More sharing options...
ot2i7ba Posted June 8, 2020 Share Posted June 8, 2020 Sorry about the late reply. I use the bash script. Link to comment Share on other sites More sharing options...
Darren Kitchen Posted June 8, 2020 Share Posted June 8, 2020 Interesting. I had a similar problem on Kali Linux 2020.2. It seems that interface enumeration may have changed. Replacing line 75 to the following solved the problem for me: IFACE=$(route | grep 172.16.24.0 | awk '{print $8}') Link to comment Share on other sites More sharing options...
ot2i7ba Posted June 10, 2020 Share Posted June 10, 2020 Strange, but this work for me, thx. Link to comment Share on other sites More sharing options...
Don Joe Posted June 15, 2020 Share Posted June 15, 2020 This sharkhack.sh script uses a tput command but this is not found. Neither on the default firmware version 1.0.0 nor on the latest 1.1.0 which I installed. Usually tput is part of ncurses packages in GNU/Linux but "opkg update && opkg install ncurses" doesn't show such a package. So my question is: how do we get this tput command onto the sharkjack so that script will work without output/formatting errors? thanks in advance. Link to comment Share on other sites More sharing options...
Darren Kitchen Posted June 26, 2020 Share Posted June 26, 2020 @Don Joe the tput command used in sharkjack.sh is to be executed on the host computer – not the Shark Jack itself. Link to comment Share on other sites More sharing options...
Jayel Posted March 6, 2022 Share Posted March 6, 2022 I also get Waiting for a Shark Jack to be connected............................................................................................................................................................................................................................................................................................................................................................................................................................................................................ on latest firmware 1.1.0 Link to comment Share on other sites More sharing options...
dark_pyrro Posted March 7, 2022 Share Posted March 7, 2022 What OS/distro? What have you tried of what's mentioned in this thread? Link to comment Share on other sites More sharing options...
C. Monkey Posted March 21, 2022 Share Posted March 21, 2022 Can confirm that interface enumeration has changed - on an up-to-date Kali it also hangs on connecting because it isn’t finding the (up) interface. Replacing the command to determine the interface with the name of the interface (“eth0” for me, YMMV) allowed it to work. Someone also mentioned that it kills their Internet connection when plugged in. For me, the SJ creates an additional default route - deleting that allows normal Internet operation while still connecting to the SJ. (Note that the presence of the default route has no impact on the script’s ability to find the correct interface; I tried.) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.