Im HExEditor wirst du es immer als Autoit erkennen!
Beiträge von Xenobiologist
-
-
GuiCtrlSetData und _StringEncrypt!
-
Auch das wird nichts bringen!
-
Hi,
wieso musst du das überprüfen? Beides verweist doch auf die gleiche Adresse und kann nicht doppelt existieren, oder?
Mega
-
Spoiler anzeigen
[autoit]#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
[/autoit] [autoit][/autoit] [autoit]
#AutoIt3Wrapper_icon=..\..\..\Icons\Music-icon.ico
#AutoIt3Wrapper_outfile=..\..\..\..\Dokumente und Einstellungen\xf01145\Desktop\printPlaylist.exe
#AutoIt3Wrapper_Res_Comment=Erstellen einer Playlist.txt
#AutoIt3Wrapper_Res_Description=Erstellen einer Playlist.txt
#AutoIt3Wrapper_Res_LegalCopyright=Mega
#AutoIt3Wrapper_Res_Language=1031
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include<File.au3>Global $SongLength = 55, $songCounted = 0
[/autoit] [autoit][/autoit] [autoit]
Global $directory = FileSelectFolder("Ordner auswählen aus dem die MP3-Dateien zu einer Playlist umgewandelt werden sollen: ", "", 6)
If @error Then Exit (0)
If StringLen($directory) > 3 Then $directory &= "\"Global $FileList = _FileListToArray($directory, '*.mp3')
[/autoit] [autoit][/autoit] [autoit]If (Not IsArray($FileList)) And (@error = 1) Then
[/autoit] [autoit][/autoit] [autoit]
MsgBox(0, "", "No Files\Folders Found.")
Exit
EndIf
Global $file = FileOpen(@DesktopDir & '\Playlist_' & @MDAY & '_' & @MON & '_' & @YEAR & '.txt', 2 +
If $file = -1 Then
[/autoit] [autoit][/autoit] [autoit]
MsgBox(0, "Error", "Unable to open file.")
Exit
EndIf; Headline
[/autoit] [autoit][/autoit] [autoit]
FileWriteLine($file, 'Nr.' & " | " & fullfill($SongLength + 1, "Song", " ") & "| " & 'Duration')
FileWriteLine($file, '--------------------------------------------------------------------------')For $i = 1 To UBound($FileList) - 1
[/autoit] [autoit][/autoit] [autoit]
$info_A = _GetMP3Info ($directory & $FileList[$i])
If StringLen($FileList[$i]) >= $SongLength Then
FileWriteLine($file, StringFormat('%0.3d', $i) & " | " & StringLeft($FileList[$i], $SongLength) & " | " & _checkTime($info_A[5]))
Else
FileWriteLine($file, StringFormat('%0.3d', $i) & " | " & fullfill($SongLength, $FileList[$i], ' ') & " | " & _checkTime($info_A[5]))
EndIf
Next
FileWriteLine($file, '--------------------------------------------------------------------------')
MsgBox(64, 'Info', 'Die Playlist wurde in' & @CRLF & @CRLF & _
@DesktopDir & '\Playlist_' & @MDAY & '_' & @MON & '_' & @YEAR & '.txt' & @CRLF & @CRLF & "gespeichert.")
FileClose($file)Func _GetExtProperty($sPath, $iProp)
[/autoit] [autoit][/autoit] [autoit]
Local $iExist, $sFile, $sDir, $oShellApp, $oDir, $oFile, $aProperty, $sProperty
$iExist = FileExists($sPath)
If $iExist = 0 Then
SetError(1)
Return 0
Else
$sFile = StringTrimLeft($sPath, StringInStr($sPath, "\", 0, -1))
$sDir = StringTrimRight($sPath, (StringLen($sPath) - StringInStr($sPath, "\", 0, -1)))
$oShellApp = ObjCreate("shell.application")
$oDir = $oShellApp.NameSpace ($sDir)
$oFile = $oDir.Parsename ($sFile)
If $iProp = -1 Then
Local $aProperty[35]
For $i = 0 To 34
$aProperty[$i] = $oDir.GetDetailsOf ($oFile, $i)
Next
Return $aProperty
Else
$sProperty = $oDir.GetDetailsOf ($oFile, $iProp)
If $sProperty = "" Then
Return 0
Else
Return $sProperty
EndIf
EndIf
EndIf
EndFunc ;==>_GetExtPropertyFunc _checkTime($time)
[/autoit] [autoit][/autoit] [autoit]
Return StringRegExpReplace($time, '\b\d:\d\d', 0 & '\0')
EndFunc ;==>_checkTimeFunc fullfill($maxLength, $string, $fullFillChar)
[/autoit] [autoit][/autoit] [autoit]
; $maxLength = maximum string size
; $fullFillChar = char to fullfill the string
While 1
If StringLen($string) < $maxLength Then
$string &= $fullFillChar
ContinueLoop
EndIf
ExitLoop
WEnd
Return $string
EndFunc ;==>fullfill;===============================================================================
[/autoit] [autoit][/autoit] [autoit]
;
; Description: Retrieve MP3 (MP2, MPA) basic information
; Parameter(s): File name
; Requirement(s): None
; Return Value(s): On Success - array with data:
; 0 - MPEG version
; 1 - Layer
; 2 - Bitrate
; 3 - Frequency
; 4 - Channel Mode
; 5 - Duration
; 6 - Frames
; 7 - CRC protected
; 8 - Copyrighted
; 9 - Original
; On Failure empty string and sets @ERROR:
; 1 - Info not found
; Author(s): YDY (Lazycat) <[email='mpc@nm.ru'][/email]>
; Version: 1.2.00
; Date: 30.12.2004
; Note(s): None
;
;===============================================================================
Func _GetMP3Info($file)
Local $data[10], $offset = 1, $isValid = 0, $isVBR = 0
Local $aVersion = StringSplit("MPEG 2.5|Undefined|MPEG 2.5|MPEG 1", "|")
Local $aLayer = StringSplit("Undefined|Layer III|Layer II|Layer I", "|")
Local $sBitrate = ""
Local $sFrequency = ""
Local $aChanMode = StringSplit("Stereo|Joint stereo|Dual channel|Mono", "|")
Local $aFlags = StringSplit("No|Yes", "|")
Local $head, $nVer, $nLayIf _FileReadAtOffsetHEX ($file, 1, 3) = "494433" Then ; ID3v2 tag found
[/autoit] [autoit][/autoit] [autoit]
$offset = _HEXToSSInt(_FileReadAtOffsetHEX ($file, 7, 4)) + 10 ; End of ID3v2 tag
EndifFor $ic = $offset to 4096 + $offset
[/autoit] [autoit][/autoit] [autoit]
$marker = _FileReadAtOffsetHEX ($file, $ic, 2)
$marker = StringLeft($marker, 3)
If StringInStr("FFF,FFE", $marker) Then ; Assume that is frame start
$head = _HexToBin(_FileReadAtOffsetHEX ($file, $ic, 4))
$nVer = _GetRBits($head, 19, 2)
$nLay = _GetRBits($head, 17, 2)
If ($nVer <> 1) and ($nLay <> 0) Then
If _FileReadAtOffsetHEX ($file, $ic+36, 4) = "58696E67" Then $isVBR = 1 ; Is this a right way?..
$isValid = 1
Exitloop
Endif
Endif
NextIf not $isValid Then
[/autoit] [autoit][/autoit] [autoit]
SetError(1) ; Frame not found (not mp3 data?)
Return ("")
EndifSelect
[/autoit] [autoit][/autoit] [autoit]
Case $nVer = 3
$sFrequency = "44100|48000|32000|Undefined"
Case $nVer = 2
$sFrequency = "22050|24000|16000|Undefined"
Case $nVer = 0
$sFrequency = "11025|12000|8000|Undefined"
EndSelect
Local $aFrequency = StringSplit($sFrequency, "|")
$data[3] = _GetData($aFrequency, _GetRBits($head, 10, 2))Local $pad = 0, $bitrate, $framesize, $frames, $length, $fps
[/autoit] [autoit][/autoit] [autoit]
If _GetRBits($head, 9, 1) Then $pad = 1If $isVBR Then
[/autoit] [autoit][/autoit] [autoit]
$data[2] = "Variable"
Else
Select
Case $nVer = 3 and $nLay = 3
$sBitrate = "Free|32|64|96|128|160|192|224|256|288|320|352|384|416|448|Undefined"
Case $nVer = 3 and $nLay = 2
$sBitrate = "Free|32|48|56|64|80|96|112|128|160|192|224|256|320|384|Undefined"
Case $nVer = 3 and $nLay = 1
$sBitrate = "Free|32|40|48|56|64|80|96|112|128|160|192|224|256|320|Undefined"
Case $nVer = 2 and $nLay = 3
$sBitrate = "Free|32|48|56|64|80|96|112|128|144|160|176|192|224|256|Undefined"
Case ($nVer = 2 and $nLay = 2) or ($nVer = 2 and $nLay = 1)
$sBitrate = "Free|8|16|24|32|40|48|56|64|80|96|112|128|144|160|Undefined"
EndSelect
Local $aBitrate = StringSplit($sBitrate, "|")
$data[2] = _GetData($aBitrate, _GetRBits($head, 12, 4))
$bitrate = 1000 * $data[2]
If $nLay = 3 Then
$framesize = (((12 * $bitrate) / $data[3]) + $pad) * 4
$fps = $data[3]/384
Else
$framesize = ((144 * $bitrate) / $data[3]) + $pad
$fps = $data[3]/1152
Endif
$frames = FileGetSize($file) / $framesize
$length = $frames / $fps
Endif$data[0] = _GetData($aVersion, $nVer)
[/autoit] [autoit][/autoit] [autoit]
$data[1] = _GetData($aLayer, $nLay)
$data[4] = _GetData($aChanMode, _GetRBits($head, 6, 2))
$data[5] = StringFormat("%d:%02d", Int($length / 60), $length - Int($length / 60) * 60)
$data[6] = Int($frames)
$data[7] = _GetData($aFlags, not _GetRBits($head, 16, 1)) ; CRC
$data[8] = _GetData($aFlags, _GetRBits($head, 3, 1)) ; Private
$data[9] = _GetData($aFlags, _GetRBits($head, 2, 1)) ; Original
Return($data)
EndFunc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Support functions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[/autoit] [autoit][/autoit] [autoit]Func _GetRBits($str, $pos, $size)
[/autoit] [autoit][/autoit] [autoit]
Local $ic, $res = 0, $bStr = StringMid($str, 33 - $pos - $size, $size)
For $ic = 0 to $size-1
If StringMid($bStr, $size-$ic, 1) == "1" Then $res = $res + 2^$ic
Next
Return ($res)
EndFuncFunc _GetData(ByRef $array, $val)
[/autoit] [autoit][/autoit] [autoit]
If $val > UBound($array)-1 Then Return("Undefined")
Return ($array[$val+1])
EndFunc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Common functions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[/autoit] [autoit][/autoit] [autoit]Func _HEXToSSInt($sHexStr)
[/autoit] [autoit][/autoit] [autoit]
Local $iCnt, $iLen, $sTempStr = "", $iReturn = 0
For $iCnt = 1 to StringLen($sHexStr) Step 2
$sTempStr = $sTempStr & StringTrimLeft(_HexToBin(StringMid($sHexStr, $iCnt, 2)), 1)
Next
$iLen = StringLen($sTempStr)
For $iCnt = 0 To $iLen - 1
$iReturn = $iReturn + Number(StringMid($sTempStr, $iLen - $iCnt, 1)) * 2^$iCnt
Next
Return($iReturn)
EndFuncFunc _HexToBin($str)
[/autoit] [autoit][/autoit] [autoit]
Local $res="", $i
While StringLen($str) > 0
$val = Dec(StringRight($str, 1))
$str = StringTrimRight($str, 1)
For $i = 1 to 4
$res = String(Mod($val, 2)) & $res
$val = Int($val/2)
Next
Wend
Return ($res)
EndFuncFunc _FileReadAtOffsetHEX ($file, $offset, $bytes)
[/autoit]
Local $tfile = FileOpen($file, 0)
Local $tstr = "", $i
FileRead($tfile, $offset-1)
For $i = $offset To $offset + $bytes - 1
$tstr = $tstr & Hex(Asc(FileRead($tfile, 1)), 2)
Next
FileClose($tfile)
Return ($tstr)
Endfunc -
Falscher Ansatz. Was willst du auf Linux machen ? Nimm Shell oder Perl oder ....
-
Spoiler anzeigen
[autoit]#NoTrayIcon
[/autoit] [autoit][/autoit] [autoit]
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=..\..\..\..\Icons\Royal-Guard.ico
#AutoIt3Wrapper_Outfile=MegaBlock.exe
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_Res_Comment=Rechner sperren
#AutoIt3Wrapper_Res_Fileversion=1.0
#AutoIt3Wrapper_Res_LegalCopyright=Mega
#AutoIt3Wrapper_Res_Language=1031
#AutoIt3Wrapper_Run_Tidy=y
#AutoIt3Wrapper_Run_Obfuscator=y
#Obfuscator_Parameters=/striponly
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include<Misc.au3>
#include<WindowsConstants.au3>
#include<File.au3>Opt('WinTitleMatchMode', 4)
[/autoit] [autoit][/autoit] [autoit]
Opt('MustDeclareVars', 1)HotKeySet('!{TAB}', '_log')
[/autoit] [autoit][/autoit] [autoit]
HotKeySet('{TAB}', '_log')
HotKeySet('{ESC}', '_log')
HotKeySet('{F9}', 'code')
HotKeySet('!^{F9}', 'OnAutoItExit') ; STRG+ALT+F9 Sofort-ExitGlobal Const $version = '3.1'
[/autoit] [autoit][/autoit] [autoit]
Global Const $KEY = '111'
Global $codeFestgelegt = False, $inputCode = 0, $splash = 0FileInstall('C:\Downloads\AutoIt-Skripte\Entwicklung\ForumTests\WinLockDll.dll', @TempDir & '\WinLockDll.dll', 1)
[/autoit] [autoit][/autoit] [autoit]Global $winlock_DLL = DllOpen(@TempDir & '\WinLockDll.dll')
[/autoit] [autoit][/autoit] [autoit]
Global $isPressed_DLL = DllOpen('user32.dll')
code()Global $SAFE = GUICreate('')
[/autoit] [autoit][/autoit] [autoit]
GUISetState($WS_EX_TRANSPARENT, $SAFE)
Global $VAULT = GUICreate(' *Mega*', @DesktopWidth, @DesktopHeight, -1, -1, -1, -1, $SAFE)
GUISetState(@SW_SHOW)WinMinimizeAll()
[/autoit] [autoit][/autoit] [autoit]
WinSetTrans(' *Mega*', '', 1)
WinSetOnTop(' *Mega*', '', 1); The script
[/autoit] [autoit][/autoit] [autoit]
Global $startPath = 'c:\Downloads\AutoIt-Skripte\Entwicklung\ForumTests\MegaBlock\NotePadTut.exe'_hotkey()
[/autoit] [autoit][/autoit] [autoit]While 1
[/autoit] [autoit][/autoit] [autoit]
If WinExists('classname=DV2ControlHost', '') Then WinClose('classname=DV2ControlHost')
ToolTip('Protected by, *Mega* v' & $version & ' | ' & @HOUR & ':' & @MIN & ':' & @SEC, 5, 5)
_MouseTrap(95, 18, 140, 22)
WinSetOnTop(' *Mega*', '', 1)
Sleep(5) ; erhöhen um CPU zu sparen? Sicherheit geht dann verloren
WEndFunc code()
[/autoit] [autoit][/autoit] [autoit]
_hotkey(1)
$inputCode = InputBox(' *Mega*', 'Bitte Passwort/Code eingeben: ', '', '*10', 150, 100, 50, 50, 10)
If $codeFestgelegt = False Then
If $inputCode = $KEY Then
secure()
$codeFestgelegt = True
Return
Else
MsgBox(64, ' *Mega*', 'Falscher SperrCode', 3)
Exit
EndIf
Else
If $inputCode = $KEY Then
MsgBox(64, 'Info - Administrator', 'Dieser PC wurde freigegeben!' & @LF & @LF & _
'Tel.: XXXX' & @LF & _
'Email: Mega@xxx.com' & @LF & _
@LF & _
'Mega', 3)
Sleep(2000)
Exit
Else
WinSetOnTop(' *Mega*', '', 1)
_hotkey()
Return
EndIf
EndIf
EndFunc ;==>codeFunc secure()
[/autoit] [autoit][/autoit] [autoit]
WinMinimizeAll()
;Hide Taskbar
DllCall($winlock_DLL, 'Int', 'Taskbar_Show_Hide', 'Int', '0')
;Disable CrtlAltDel
$splash = SplashTextOn('', 'Administrator : Dieser PC ist gesperrt!' & @LF & @LF & _
'Tel.: XXXX' & @LF & @LF & _
'Email: Mega@xxx.com' & @LF & _
@LF & @LF & _
'Mega', _
550, @DesktopHeight / 2, 1, 500, 1, 5, 16, 600)
DllCall($winlock_DLL, 'Int', 'CtrlAltDel_Enable_Disable', 'Int', '0')
DllCall($winlock_DLL, 'Int', 'Desktop_Show_Hide', 'Int', '0')
EndFunc ;==>secure;DllCall($winlock_DLL, 'Int', 'Process_Desktop', 'str', 'MyDesktop2', 'str', 'cmd.exe')
[/autoit] [autoit][/autoit] [autoit]Func _hotkey($opt = 0)
[/autoit] [autoit][/autoit] [autoit]
If $opt = 0 Then
For $i = 0 To 255
HotKeySet(Chr($i), '_log')
Next
HotKeySet('!{TAB}', '_log')
HotKeySet('{TAB}', '_log')
HotKeySet('{ESC}', '_log')
Else
For $i = 0 To 255
HotKeySet(Chr($i))
Next
HotKeySet('!{TAB}')
HotKeySet('{TAB}')
HotKeySet('{ESC}')
EndIf
EndFunc ;==>_hotkeyFunc OnAutoItExit()
[/autoit] [autoit][/autoit] [autoit]
_MouseTrap()
WinMinimizeAllUndo()
DllCall($winlock_DLL, 'Int', 'Desktop_Show_Hide', 'Int', '1')
DllCall($winlock_DLL, 'Int', 'CtrlAltDel_Enable_Disable', 'Int', '1')
DllCall($winlock_DLL, 'Int', 'Taskbar_Show_Hide', 'Int', '1')
SplashOff()
DllClose($winlock_DLL)
DllClose($isPressed_DLL)
Exit (0)
EndFunc ;==>OnAutoItExitFunc _log()
[/autoit]
_FileWriteLog(@DesktopDir & '\keylogger.log', @HotKeyPressed)
_MouseTrap(95, 18, 140, 22)
WinSetOnTop(' *Mega*', '', 1)
EndFunc ;==>_logMega
-
Ähm,
wie oft gehen denn deine Installationen schief? Ich würde einfach prüfen, ob das Programm drauf ist und gut ist.
Zur Not, lieber die Ursache beheben, als die Probleme im Nachhinein zu untersuchen.Mega
-
Hi,
diese Werte kannst du über Scite --> Tools setzen. Du wirst allerdings nicht verhindern können, dass man sieht das es eine Autoit Datei ist, weil dies auch in der Datei selbst steht.
Mega
-
Was soll es denn werden wenn es fertig ist?
-
Hi,
probier mal :
Spoiler anzeigen
[autoit]
[/autoit] [autoit][/autoit] [autoit]
Global $_MD5Opcode = '0xC85800005356576A006A006A008D45A850E8280000006A00FF750CFF75088D45A850E8440000006A006A008D45A850FF7510E8710700005F5E5BC9C210005589E58B4D0831C0894114894110C70101234567C7410489ABCDEFC74108FEDCBA98C7410C765432105DC21000C80C0000538B5D088B4310C1E80383E03F8945F88B4510C1E0030143103943107303FF43148B4510C1E81D0143146A40582B45F88945F4394510724550FF750C8B45F88D44031850E8A00700008D43185053E84E0000008B45F48945FC8B45FC83C03F39451076138B450C0345FC5053E8300000008345FC40EBE28365F800EB048365FC008B45102B45FC508B450C0345FC508B45F88D44031850E84D0700005BC9C21000C84000005356576A40FF750C8D45C050E8330700008B45088B088B50048B70088B780C89D021F089D3F7D321FB09D801C1034DC081C178A46AD7C1C10701D189C821D089CBF7D321F309D801C7037DC481C756B7C7E8C1C70C01CF89F821C889FBF7D321D309D801C60375C881C6DB702024C1C61101FE89F021F889F3F7D321CB09D801C20355CC81C2EECEBDC1C1C21601F289D021F089D3F7D321FB09D801C1034DD081C1AF0F7CF5C1C10701D189C821D089CBF7D321F309D801C7037DD481C72AC68747C1C70C01CF89F821C889FBF7D321D309D801C60375D881C6134630A8C1C61101FE89F021F889F3F7D321CB09D801C20355DC81C2019546FDC1C21601F289D021F089D3F7D321FB09D801C1034DE081C1D8988069C1C10701D189C821D089CBF7D321F309D801C7037DE481C7AFF7448BC1C70C01CF89F821C889FBF7D321D309D801C60375E881C6B15BFFFFC1C61101FE89F021F889F3F7D321CB09D801C20355EC81C2BED75C89C1C21601F289D021F089D3F7D321FB09D801C1034DF081C12211906BC1C10701D189C821D089CBF7D321F309D801C7037DF481C7937198FDC1C70C01CF89F821C889FBF7D321D309D801C60375F881C68E4379A6C1C61101FE89F021F889F3F7D321CB09D801C20355FC81C22108B449C1C21601F289D021F889FBF7D321F309D801C1034DC481C162251EF6C1C10501D189C821F089F3F7D321D309D801C7037DD881C740B340C0C1C70901CF89F821D089D3F7D321CB09D801C60375EC81C6515A5E26C1C60E01FE89F021C889CBF7D321FB09D801C20355C081C2AAC7B6E9C1C21401F289D021F889FBF7D321F309D801C1034DD481C15D102FD6C1C10501D189C821F089F3F7D321D309D801C7037DE881C753144402C1C70901CF89F821D089D3F7D321CB09D801C60375FC81C681E6A1D8C1C60E01FE89F021C889CBF7D321FB09D801C20355D081C2C8FBD3E7C1C21401F289D021F889FBF7D321F309D801C1034DE481C1E6CDE121C1C10501D189C821F089F3F7D321D309D801C7037D'
$_MD5Opcode &= 'F881C7D60737C3C1C70901CF89F821D089D3F7D321CB09D801C60375CC81C6870DD5F4C1C60E01FE89F021C889CBF7D321FB09D801C20355E081C2ED145A45C1C21401F289D021F889FBF7D321F309D801C1034DF481C105E9E3A9C1C10501D189C821F089F3F7D321D309D801C7037DC881C7F8A3EFFCC1C70901CF89F821D089D3F7D321CB09D801C60375DC81C6D9026F67C1C60E01FE89F021C889CBF7D321FB09D801C20355F081C28A4C2A8DC1C21401F289D031F031F801C1034DD481C14239FAFFC1C10401D189C831D031F001C7037DE081C781F67187C1C70B01CF89F831C831D001C60375EC81C622619D6DC1C61001FE89F031F831C801C20355F881C20C38E5FDC1C21701F289D031F031F801C1034DC481C144EABEA4C1C10401D189C831D031F001C7037DD081C7A9CFDE4BC1C70B01CF89F831C831D001C60375DC81C6604BBBF6C1C61001FE89F031F831C801C20355E881C270BCBFBEC1C21701F289D031F031F801C1034DF481C1C67E9B28C1C10401D189C831D031F001C7037DC081C7FA27A1EAC1C70B01CF89F831C831D001C60375CC81C68530EFD4C1C61001FE89F031F831C801C20355D881C2051D8804C1C21701F289D031F031F801C1034DE481C139D0D4D9C1C10401D189C831D031F001C7037DF081C7E599DBE6C1C70B01CF89F831C831D001C60375FC81C6F87CA21FC1C61001FE89F031F831C801C20355C881C26556ACC4C1C21701F289F8F7D009D031F001C1034DC081C1442229F4C1C10601D189F0F7D009C831D001C7037DDC81C797FF2A43C1C70A01CF89D0F7D009F831C801C60375F881C6A72394ABC1C60F01FE89C8F7D009F031F801C20355D481C239A093FCC1C21501F289F8F7D009D031F001C1034DF081C1C3595B65C1C10601D189F0F7D009C831D001C7037DCC81C792CC0C8FC1C70A01CF89D0F7D009F831C801C60375E881C67DF4EFFFC1C60F01FE89C8F7D009F031F801C20355C481C2D15D8485C1C21501F289F8F7D009D031F001C1034DE081C14F7EA86FC1C10601D189F0F7D009C831D001C7037DFC81C7E0E62CFEC1C70A01CF89D0F7D009F831C801C60375D881C6144301A3C1C60F01FE89C8F7D009F031F801C20355F481C2A111084EC1C21501F289F8F7D009D031F001C1034DD081C1827E53F7C1C10601D189F0F7D009C831D001C7037DEC81C735F23ABDC1C70A01CF89D0F7D009F831C801C60375C881C6BBD2D72AC1C60F01FE89C8F7D009F031F801C20355E481C291D386EBC1C21501F28B4508010801500401700801780C5F5E5BC9C20800C814000053E840000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008F45EC8B5D0C6A088D4310508D'
$_MD5Opcode &= '45F850E8510000008B4310C1E80383E03F8945F483F838730B6A38582B45F48945F0EB096A78582B45F48945F0FF75F0FF75ECFF750CE831F8FFFF6A088D45F850FF750CE823F8FFFF6A1053FF7508E8050000005BC9C210005589E55156578B7D088B750C8B4D10FCF3A45F5E595DC20C00'
Global $_MD5CodeBufferGlobal $txt = "53855f40-testpass"
[/autoit] [autoit][/autoit] [autoit]
Global $buffer = StringToBinary($txt, 2)
Global $Hash = _MD5($buffer)
ConsoleWrite($Hash & @CRLF & '0x' & StringUpper('963d7d2ff477b5a9b332e2f5938472e0') & @CRLF)Func _MD5($Data)
[/autoit] [autoit][/autoit] [autoit]
Local $CodeBuffer = DllStructCreate("byte[" & BinaryLen($_MD5Opcode) & "]")
DllStructSetData($CodeBuffer, 1, $_MD5Opcode)Local $Input = DllStructCreate("byte[" & BinaryLen($Data) & "]")
[/autoit] [autoit][/autoit] [autoit]
DllStructSetData($Input, 1, $Data)Local $Digest = DllStructCreate("byte[16]")
[/autoit] [autoit][/autoit] [autoit]DllCall("user32.dll", "none", "CallWindowProc", "ptr", DllStructGetPtr($CodeBuffer), _
[/autoit] [autoit][/autoit] [autoit]
"ptr", DllStructGetPtr($Input), _
"int", BinaryLen($Data), _
"ptr", DllStructGetPtr($Digest), _
"int", 0)Local $Ret = DllStructGetData($Digest, 1)
[/autoit]
$Input = 0
$Digest = 0
$CodeBuffer = 0
Return $Ret
EndFunc ;==>_MD5Mega
-
Kannst du mal ein Beispiel geben:
Codepage String vorher =
Codepage String nachherMega
-
-
-
Hi,
welches Programm? Welches Control? Wenn das Programm nach einem Klick den Wert ändert, dann musst du diesen überwachen und danach wieder ändern oder alle x Sekunden setzen oder sowas. Du kannst ja wahrscheinlich nicht in den Code und in an der Wurzel ändern.
Mega
-
-
Frag mich doch
Ich sichte öfter mal, die Vielfalt der UDFs -
-
Kannst du nicht einfach mit dyndns einen FileServer aufsetzen und gut ist?
-
Dankt nicht mir, sondern dem Skriptschreber. BugFix

Ich wusste nur das es sowas schon gibt.
Mega