Tplink Wireless Router python decryption

Source: Internet
Author: User

  1. First install and configure the python2.7 environment.
  2. Download install Pycrypto 2.6 for Python 2.7

    Http://www.voidspace.org.uk/downloads/pycrypto26/pycrypto-2.6.win32-py2.7.exe

  3. Go to Router download http://192.168.1.1/userRpm/config.bin
  4. Place the Config.bin in the Python27 directory
  5. Run python decrypt.py get config.bin.txt file
  6. 1  fromCrypto.cipherImportDES2  fromHashlibImportMD53 4Key ='\X47\X8D\XA5\X0B\XF9\XE3\XD2\XCF'5Crypto =des.new (Key, DES. MODE_ECB)6 7data = open ('Config.bin','RB'). Read ()8data_decrypted = Crypto.decrypt (data). Rstrip (' /')9 assertDATA_DECRYPTED[:16] = = MD5 (data_decrypted[16:]). Digest ()TenOpen'Config.bin.txt','WB'). Write (data_decrypted[16:])

  7. Open TXT file to get router some important parameters, configuration information and so on

Tplink Wireless Router python decryption

Related Article

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.