Esxi host password cracking

Source: Internet
Author: User


Recently I changed my work. During work handover, I found that many esxi hosts do not have a password and all of them can only be cracked.

To restore the password, perform the following operations:

  • Use Linux to start a CD, such as an rhel5 installation CD or knoppix.

  • Create the/mnt/sda5 directory, mkdir/mnt/sda5

  • Mount command:

Mount-tvfat Mount/dev/sda5/mnt/sda5

  • Cracking:

CP/mnt/sda5/stage. tgz/tmp/

CD/tmp

Tar xvfz stage. tgz

Tar xvfz local. tgz

VI/tmp/etc/shadow

For example, root: X: 143434343: 12232: 9: 99999: 7.

143434343 in this row is cleared

Rm-F stage. tgz local. tgz

Tar czvf local. tgz etc

Tar czvf stage. tgz local. tgz

CP local. tgz/mnt/sda5/

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/30/DB/wKioL1OpbjLyDFOHAAGZqtNyt_M962.jpg "Title =" 1.jpg" alt = "wkiol1opbjlydfohaagzqtnyt_m962.jpg"/>

The content of/tmp/etc/shadow is similar to the following:

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/30/DB/wKiom1OpboHQWOGXAACllT3OdrU412.jpg "Title =" 1.jpg" alt = "wkiom1opbohqwogxaacllt3odru412.jpg"/>

  • Then restart:

Reboot

  • The vshpere password is displayed as follows:

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/30/DB/wKioL1OpbmuzQCtvAAGANol_2qc720.jpg "Title =" 1.jpg" alt = "wkiol1opbmuzqctvaaganol_2qc720.jpg"/>

This article from the "City cloth" blog, please be sure to keep this source http://sunday208.blog.51cto.com/377871/1430486

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.