Jump to content

Recommended Posts

Posted

I have a device that I need to configure that no one remembers the password for. I have looked online and on the manufacturers site and I cannot find a reset button/procedure for it. I need to know if anyone knows how to do a dictionary/brute force over a serial connection on CentOS 6. All the tools I have found only work for IP Addresses....

Thanks In Advance!

Posted (edited)

Is the machine running? If it is and is at a screen saver or locked screen and uses xorg, hit ctrl+atl+*(on num lock keyboard) to unlock.

If you need root, reboot the machine and start in single user mode, then when it boots, run passwd in a console to change the root password.

http://www.centos.org/docs/2/rhl-gsg-en-7.2/s1-q-and-a-linux-single.html

Edited by digip
Posted

You might also want to try a Python script. I know I've used them to communicate over serial before and it has Serial libraries which aren't too tough.

Posted

I may have misread/misunderstood the question. Is the device in question running CentOS? Or is it some other device you are trying to connect to via CentOS? What kind of "device" is it you are trying to get into? Router, switch, termserver?

Posted (edited)

It would be good to know what device it is beforehand, so we know what we are dealing with.

Edited by Infiltrator
Posted

Thanks everyone for the feedback! The equipment in question is a SkyPilot SkyGateway node. I had read all the documentation and searched for everything I could think of on how to do a factory reset. After I posted here I decided to look at their FAQ to see if they had a forum and there was the reset info, the first entry. Once I did the factory reset I could log in with the default password.

Posted

When you connect over serial, you should just get a shell to the system, no login required.

That depends on the type of device, but even Cisco equipment over serial will require a password if it was setup with one previously. If its fresh, out of the box, then you have an open system to do whatever you want with since there will be no config or passwords set.

Posted

That is true. These airmagnet sensors i was playing with before had a serial port and it would toss me into a limited shell interface that I couldn't do anything with.

The Cisco Aironet AP I have was a little different. I had to make a RJ45 to DB9 cable (Cisco Serial cable) and then do the required password reset process to get access to it.

But I think for a low end devices like these, shouldn't require a password.

Also to the OP, you could try calling or emailing their support for the password reset process.

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...