hackerzero000 Posted October 13, 2023 Author Share Posted October 13, 2023 (Thanks for helping me i really apreciate that!!) Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted October 13, 2023 Share Posted October 13, 2023 If you (on the Croc) list the content of /root/udisk, is the device.config file there? If not, then you need to mount the udisk to the Croc to get access to the content before running the cc-client command. First unmount the udisk from the computer to which the Croc is connected, then mount the udisk to the Croc itself with: udisk mount Then run the cc-client command in the way it was recently posted 1 Quote Link to comment Share on other sites More sharing options...
hackerzero000 Posted October 13, 2023 Author Share Posted October 13, 2023 How do i mount and unmount i dont have a clue? Quote Link to comment Share on other sites More sharing options...
hackerzero000 Posted October 13, 2023 Author Share Posted October 13, 2023 No i checked its not there only does two are there root@croc:~# cd udisk root@croc:~/udisk# ls index.html index.html.1 THe path i used to get there is =============================(((-'\ .' /=================== Hak5 Key Croc _____..' .' '-._____.-' root@croc:~# ls cache index.html index.html.1 udisk version.txt root@croc:~# cd root@croc:~# cd .. root@croc:/# cd .. root@croc:/# ls 1 boot etc lib media opt root sbin sys usr bin dev home lost+found mnt proc run srv tmp var root@croc:/# /root -bash: /root: Is a directory root@croc:/# cd root root@croc:~# ls cache index.html index.html.1 udisk version.txt root@croc:~# cd udsik -bash: cd: udsik: No such file or directory root@croc:~# cd udisk root@croc:~/udisk# ls index.html index.html.1 root@croc:~/udisk# ^C root@croc:~/udisk# Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted October 13, 2023 Share Posted October 13, 2023 10 minutes ago, hackerzero000 said: How do i mount and unmount i dont have a clue? Like I said in the post https://forums.hak5.org/topic/60973-cant-connect-to-c2/?do=findComment&comment=366180 1 Quote Link to comment Share on other sites More sharing options...
hackerzero000 Posted October 13, 2023 Author Share Posted October 13, 2023 I just don understand how to unmount it is there a command or something i need to do ive seen the mount command you left me but the first step i dont understand how to unmount it what do i have to do? Quote Link to comment Share on other sites More sharing options...
Solution dark_pyrro Posted October 13, 2023 Solution Share Posted October 13, 2023 If you have an ordinary USB storage device attached to your computer; how do you safely eject that storage device before you remove it from the computer? That's the way you unmount the Croc. The reason why you should do that is because it's not a good thing to have a storage device mounted to two different devices at the same time (in this case your computer that the Croc is attached to, and the Croc itself). This might lead to corruption if not doing things correct. Note though that unmounting the Croc from the computer does not involve physically removing the Croc from the Computer since you still need to be able to access the Croc. It just involves ejecting/unmounting the Croc from the OS, not removing it from the USB port. 1 Quote Link to comment Share on other sites More sharing options...
hackerzero000 Posted October 13, 2023 Author Share Posted October 13, 2023 SO i was able to mount it as you told me but if i run the: /usr/bin/cc-client /root/udisk/device.config or /usr/bin/cc-client /root/udisk/device.config & :command the rsponse is: i also went again over path to path in just to make sure still didnt figure it out what can i do now? (and for some reason yes the device.config file is there)Am i overlooking something? root@croc:/# /usr/bin/cc-client /root/udisk/device.config terminate called after throwing an instance of 'std::runtime_error' what(): CC-Config does not exist at the path given as argument Aborted Quote Link to comment Share on other sites More sharing options...
hackerzero000 Posted October 13, 2023 Author Share Posted October 13, 2023 Wait it somehow works now what wait Alright thanks then i guess. 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.