Jump to content

Cant connect to c2


hackerzero000
Go to solution Solved by dark_pyrro,

Recommended Posts

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

  • Thanks 1
Link to comment
Share on other sites

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#

Link to comment
Share on other sites

  • Solution

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.

  • Thanks 1
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...