Haiyang top net into Baidu blog must enter the password VBScript code _vbs

Source: Internet
Author: User

To understand the following code, you need to understand the following function
VBScript StrReverse function
Returns a string that is the opposite of the specified string order.
StrReverse (string1)
The string1 parameter is the string to be reversed by the character . If string1 is a 0-length string (""), a 0-length string is returned. If string1 is null, an error occurs.

Description
The following example uses the StrReverse function to return a string in reverse order:

Dim mystr
MyStr = StrReverse ("VBScript") ' MyStr contains ' TPIRCSBV '.

Copy Code code as follows:

<script language=vbs>
Function Pass ()
Input=inputbox ("Please enter password:", "Hello",, 300,300)
If Input=strreverse ("Why?") Then
Location.href=strreverse ("tpircsbvym/moc.udiab.ih//:p TTH")
Else
MsgBox "Error"
Location.href=window.location.href
End If
End Function
</script>

Below we analyze the above VBS code, the master floated over bar
If Input=strreverse ("Why?") then password is the inversion of the why character, that is, the password is: " ? YHW"

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.