Может кто поделиться скриптом, что бы быстро Binary превратить в String?
Я уже написал свой скрипт, но он правильно преобразует только по одной строке. Мне надо, что бы я все скопировал, и только то что в кавычках он преобразовал в стринг, а также удалил Execute(BinaryToString(" и ")).
Вот мой скрипт:
Код:
$_a214073521 = Execute(BinaryToString("0x204755494374726C4372656174654C6162656C282230222C2035322C2035362C2035372C2031342C20245F413230383032313134333329"))
$_a3773951670 = Execute(BinaryToString("0x204755494374726C4372656174654C6162656C2822536B656C65436170733A222C20362C2037302C2036302C20313429"))
$_a2669232185 = Execute(BinaryToString("0x204755494374726C4372656174654C6162656C282230222C2036312C2037302C2034382C2031342C20245F413230383032313134333329"))
$_a2528147754 = Execute(BinaryToString("0x204755494374726C4372656174654C6162656C28224176672074696D653A222C20362C2038342C2035302C20313429"))
$_a4136608803 = Execute(BinaryToString("0x204755494374726C4372656174654C6162656C282230303A30303A3030222C2036312C2038342C2034382C2031342C20245F413230383032313134333329"))
$_a531342994 = Execute(BinaryToString("0x204755494374726C4372656174654C6162656C2822546F74616C2074696D653A222C20362C203130302C2035302C20313429"))
$_a1565470379 = Execute(BinaryToString("0x204755494374726C4372656174654C6162656C282230303A30303A3030222C2036312C203130302C2034382C2031342C20245F413230383032313134333329"))
$_a3399979802 = Execute(BinaryToString("0x204755494374726C437265617465436865636B626F78282244697361626C652052656E646572696E67222C20362C203136322C203130332C20313429"))
Execute(BinaryToString("0x4755494374726C536574426B436F6C6F7228245F41333339393937393830322C307846464646303029"))
Execute(BinaryToString("0x4755494374726C536574436F6C6F7228245F41333339393937393830322C307830303030303029"))
Execute(BinaryToString("0x4755494374726C5365744F6E4576656E74282D312C2022546F67676C6552656E646572696E672229"))
Execute(BinaryToString("0x4755494374726C536574537461746528245F41333339393937393830322C20244755495F44495341424C4529"))
Я уже написал свой скрипт, но он правильно преобразует только по одной строке. Мне надо, что бы я все скопировал, и только то что в кавычках он преобразовал в стринг, а также удалил Execute(BinaryToString(" и ")).
Вот мой скрипт:
Код:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
Global $GEdit1
Global $GOutput, $GOutput1
#Region ### START Koda GUI section ### Form=
Global $Form1 = GUICreate("Binary To String", 929, 574, 601, 354)
Global $Edit1 = GUICtrlCreateEdit("", 8, 8, 433, 553)
GUICtrlSetData(-1, "")
Global $Edit2 = GUICtrlCreateEdit("", 488, 8, 433, 553)
GUICtrlSetData(-1, "")
Global $Button1 = GUICtrlCreateButton(">", 447, 165, 38, 169, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $Button1
$GEdit1 = GUICtrlRead($Edit1)
$GOutput = StringReplace($GEdit1, 'Execute(BinaryToString("', '')
$GOutput1 = StringReplace($GOutput, '"))', '')
GUICtrlSetData($Edit2, BinaryToString($GOutput1))
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd