BrettF Posted January 31, 2008 Share Posted January 31, 2008 So how.. Whats the prob -.-P.S. : You said you wanted to SEE the result.. so i posted the image instead.By that I meant text. Usually that is what we want when we want to see the results of something that is returned AS TEXT! Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Shevilie Posted January 31, 2008 Share Posted January 31, 2008 Well that leaves StringToBinary($v_EncryptModified) And $v_EncryptModified = $v_EncryptModified & Chr(BitXOR(Asc(StringMid($s_EncryptText, $i_EncryptCountG, 1)), Asc(StringMid($s_EncryptPassword, $i_EncryptCountH, 1)), 255)) As the suspect... My guess would be StringToBinary($v_EncryptModified) Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
Innovative Posted January 31, 2008 Author Share Posted January 31, 2008 By that I meant text. Usually that is what we want when we want to see the results of something that is returned AS TEXT! We're going off-topic.. Lets come back =)Well that leaves StringToBinary($v_EncryptModified)And$v_EncryptModified = $v_EncryptModified & Chr(BitXOR(Asc(StringMid($s_EncryptText, $i_EncryptCountG, 1)), Asc(StringMid($s_EncryptPassword, $i_EncryptCountH, 1)), 255))As the suspect... My guess would be StringToBinary($v_EncryptModified) What you mean by that ? you mean the problem is with the include file ? Link to comment Share on other sites More sharing options...
Shevilie Posted January 31, 2008 Share Posted January 31, 2008 No I mean that either of thoes two function fails (Havent installed Autoit on my Mac here so I cant create an example atm) Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
Innovative Posted January 31, 2008 Author Share Posted January 31, 2008 So shevilla, you know how to solve that ? Link to comment Share on other sites More sharing options...
Shevilie Posted January 31, 2008 Share Posted January 31, 2008 Nope but try first to tell me what $buffer = StringToBinary("Hello - ä½ å¥½") MsgBox(4096, "String() representation" , $buffer) $buffer = BinaryToString($buffer) MsgBox(4096, "BinaryToString() ANSI representation" , $buffer) gives Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
Innovative Posted January 31, 2008 Author Share Posted January 31, 2008 Thats what it returnedStringToBinary returned - 0x48656C6C6F202D203F3F203FA3A4BinaryToString returned - Hello - ?? ?ï¿¥ Link to comment Share on other sites More sharing options...
BrettF Posted January 31, 2008 Share Posted January 31, 2008 I got: 0x48656C6C6F202D20E4BD20E5A5BD Hello - ä½ å¥½ Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
BrettF Posted January 31, 2008 Share Posted January 31, 2008 What do you get with the likes of: $buffer = StringToBinary("1") $output = "StringToBinary Returned: " & $buffer & @CRLF MsgBox(4096, "String() representation" , $buffer) $buffer = BinaryToString($buffer) $output &= "BinaryToString Returned:" & $buffer & @CRLF MsgBox(4096, "BinaryToString() ANSI representation" , $buffer) ClipPut ($output) I got: StringToBinary Returned: 0x31 BinaryToString Returned:1 Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Innovative Posted January 31, 2008 Author Share Posted January 31, 2008 I got StringToBinary Returned: 0x31BinaryToString Returned:1 tooWhich means the problem is not with that .. Link to comment Share on other sites More sharing options...
BrettF Posted January 31, 2008 Share Posted January 31, 2008 $buffer = StringToBinary("ä") $output = "StringToBinary Returned: " & $buffer & @CRLF MsgBox(4096, "String() representation" , $buffer) $buffer = BinaryToString($buffer) $output &= "BinaryToString Returned:" & $buffer & @CRLF MsgBox(4096, "BinaryToString() ANSI representation" , $buffer) ClipPut ($output) Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Innovative Posted January 31, 2008 Author Share Posted January 31, 2008 zzz ? you posted that again for ? Link to comment Share on other sites More sharing options...
Shevilie Posted January 31, 2008 Share Posted January 31, 2008 He changed it from 1 to ä Since it seems like your computer doesn't like that char Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
GEOSoft Posted January 31, 2008 Share Posted January 31, 2008 So how.. Whats the prob -.-P.S. : You said you wanted to SEE the result.. so i posted the image instead.Copy and Paste the results and enclose them with quote tags. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
BrettF Posted January 31, 2008 Share Posted January 31, 2008 zzz ? you posted that again for ?Because I changed it, and last time I checked, you were the one with the problems, not us, and we are try to help you.Copy and Paste the results and enclose them with quote tags.Please. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
PsaltyDS Posted January 31, 2008 Share Posted January 31, 2008 That fails too.. Anyway, im using Avast antivirus , is there a possiblity that avast might stop the script from running or what ?EDIT : I've tried disabling avast and try running the script.. But it still fails..No, I don't think Avast is your problem, but even if it was, I would want to know exactly where in the script (which native AutoIt function) was effected.You made this unnecessarily difficult by posting a screen shot instead of the console output. Please post the text from the console to make it easier to compare results. We already have a preliminary finding: There is a loop in the encryption that runs exactly twice in our example. The first time through you get the correct results, the second time through you don't. We're getting closer... Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Innovative Posted February 1, 2008 Author Share Posted February 1, 2008 No, I don't think Avast is your problem, but even if it was, I would want to know exactly where in the script (which native AutoIt function) was effected.You made this unnecessarily difficult by posting a screen shot instead of the console output. Please post the text from the console to make it easier to compare results. We already have a preliminary finding: There is a loop in the encryption that runs exactly twice in our example. The first time through you get the correct results, the second time through you don't. We're getting closer... I'm quite bad in my english .. So i dont really understand what i should do to solve this problem.. Link to comment Share on other sites More sharing options...
BrettF Posted February 1, 2008 Share Posted February 1, 2008 $buffer = StringToBinary("ä") $output = "StringToBinary Returned: " & $buffer & @CRLF MsgBox(4096, "String() representation" , $buffer) $buffer = BinaryToString($buffer) $output &= "BinaryToString Returned:" & $buffer & @CRLF MsgBox(4096, "BinaryToString() ANSI representation" , $buffer) ClipPut ($output)Post the results in a code box... Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Innovative Posted February 1, 2008 Author Share Posted February 1, 2008 Bert, its not the problem with that .. because it returned as normal.. Link to comment Share on other sites More sharing options...
BrettF Posted February 1, 2008 Share Posted February 1, 2008 Bert, its not the problem with that .. because it returned as normal..I would still love to see the results. You obviously didn't read the first line last time. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now