webdirector Posted February 16, 2013 Posted February 16, 2013 (edited) Hello I used V2 encoder and wanted to endcode this: REM Lock Me 0.3 - Script opens Notepad and types a message concerning locking the computer - by SurfKahuna (RJC) GUI r DELAY 200 STRING notepad.exe ENTER DELAY 300 STRING , ,\ ,'\,'\ ,'\ ,\ , ENTER STRING , ,\/ \' `' ` ' /| ENTER STRING |\/ | ENTER STRING : | ENTER STRING : | ENTER STRING | | ENTER STRING | | ENTER STRING : -. _| ENTER STRING : \ `. ENTER STRING | ________:______\ ENTER STRING : ,'o / o , ENTER STRING : \ ,'-----./ ENTER STRING \_ `--.--' ) ENTER STRING ,` `. ,---'| ENTER STRING : ` | ENTER STRING `,-' | ENTER STRING / ,---. ,' ENTER STRING ,-' `-,------' ENTER STRING `. ,--' ENTER STRING `-.____/ ENTER STRING \ ENTER ENTER STRING I will learn to lock my computer. ENTER STRING I will learn to lock my computer. ENTER STRING I will learn to lock my computer. ENTER STRING I will learn to lock my computer. ENTER STRING I will learn to lock my computer. ENTER STRING I will learn to lock my computer. ENTER STRING I will learn to lock my computer. ENTER STRING I will learn to lock my computer. ENTER STRING I will learn to lock my computer. ENTER STRING I will learn to lock my computer. ENTER ENTER STRING There, just like Bart Simpson. ENTER ENTER STRING Please remember to lock your computer when you step away from your desk. ENTER ENTER STRING Thank you. ENTER DELAY 100 ALT SPACE STRING x I used the following command: java -jar encoder.jar -l resources/de.properties -i test.txt -o inject.bin It made the inject,bin but when I go to a windows PC I get this in notepad: , ,# ,ä#,ä# ,ä# ,# , , ,#- #ä ^ä ^ ä -' '#- ' Ö ' Ö ' ' ' ' ' Ö ß. ?' Ö # ^. ' ????????Ö??????# Ö ,äo - o , Ö # ,äßßßßß.- #? ^ßß.ßßä = ,^^. ,ßßßä' Ö ^ ' ^,ßä ' - ,ßßß. ,ä ,ßä ^ß,ßßßßßßä ^. ,ßßä ^ß.????- #I will learn to lock mz computer.I will learn to lock mz computer.I will learn to lock mz computer.I will learn to lock mz computer.I will learn to lock mz computer.I will learn to lock mz computer.I will learn to lock mz computer.I will learn to lock mz computer.I will learn to lock mz computer.I will learn to lock mz computer.There, just like Bart Simpson.Please remember to lock zour computer when zou step awaz from zour desk.Thank zou.x Edited February 16, 2013 by midnitesnake formatting
no42 Posted February 16, 2013 Posted February 16, 2013 (edited) OK - looks like the de.properties is still broken I dont know if there are 2x keyboards T1 and T2. I wish more people would feedback. The z and y is easy to fix, by swapping the keys in de.properties. Eg ASCII_59 = KEY_Z, MODIFIERKEY_SHIFT // 89 Y ASCII_5A = KEY_Y, MODIFIERKEY_SHIFT becomes ASCII_59 = KEY_Y, MODIFIERKEY_SHIFT // 89 Y ASCII_5A = KEY_Z, MODIFIERKEY_SHIFT Its a lot to ask, but are you upto patching the de.properties? Thanks for the feedback. Edited February 16, 2013 by midnitesnake
webdirector Posted February 16, 2013 Author Posted February 16, 2013 I will try there are more as Bart Simpson does not look at all as in the text I had in txt file
webdirector Posted February 16, 2013 Author Posted February 16, 2013 (edited) Hello, I want to try and fix the German property file. as said there are many characters that are comming out wrong: for exemple this : , ,\ ,'\,'\ ,'\ ,\ , I get this: , ,# ,ä#,ä# ,ä# ,# , I know the" \" outputs as "#" and " ' " comes out as "ä" how would I adjust that ? If I look on the US ASCII for the "\" I see "5c" and on the western europe keyboard I see for the "#" ascii " 23" should I the go into the property file and find this line : ASCII_5C = KEY_MINUS, MODIFIERKEY_RIGHT_ALT // 92 and change that to : ASCII_5C = KEY_MINUS, MODIFIERKEY_RIGHT_ALT // 23 is that correct ? Thanks Edited February 16, 2013 by midnitesnake Formatting
no42 Posted February 16, 2013 Posted February 16, 2013 (edited) This would be better, following the western character map (http://www.charset.org/charactersets.php?charset=iso-8859-1), depends on what character sets your system is using(ASCII is an American Standard so it would stay the same): ISO_8859_1_23= KEY_MINUS, MODIFIERKEY_RIGHT_ALT the key_minus, right_alt needs to change to your combination of keys used to get # Hope this helps. Edited February 16, 2013 by midnitesnake
webdirector Posted February 16, 2013 Author Posted February 16, 2013 How do I find out what key you need to press on an american keypad to get that charracter ?
no42 Posted February 16, 2013 Posted February 16, 2013 (edited) The empty keys on the bottom row are left_gui, space, right_gui Edited February 16, 2013 by midnitesnake
webdirector Posted February 16, 2013 Author Posted February 16, 2013 OK, thanks, so final question the above that you gave me : ISO_8859_1_23= KEY_MINUS, MODIFIERKEY_RIGHT_ALT I would just add that in the "de.property" file correct ( since it is not in there ) do I need to delet someting ? Like this : ASCII_23 = KEY_BACKSLASH// 35 # ?? ?? Thanks
no42 Posted February 16, 2013 Posted February 16, 2013 If its incorrect remove it! If there are any unknown mappings from your ducky script, the encoder (latest) will tell you.
webdirector Posted February 16, 2013 Author Posted February 16, 2013 sorry snake for being a pain.... so I want to make the "ä" so it is this line : ISO_8859_1_E4 = KEY_\ // ä would taht be correct ? I do not see on the keypad layout from your picture above what I would press to get this "ä"
no42 Posted February 16, 2013 Posted February 16, 2013 (edited) Your not being a pain, your very helpful. I assume you looking at a german keyboard. problem is key_\ doesnt exist its ISO_8859_1_E4 = KEY_BACKSLASH based on the above keyboard, I think you want ISO_8859_1_E4 = KEY_QUOTE I could be wrong - its difficult to build key maps when your not native to a specific language, or have the specific keyboard Edited February 16, 2013 by midnitesnake
webdirector Posted February 17, 2013 Author Posted February 17, 2013 snake, I am sorry I am an idiot. I was redoing the whole de.properties and then I wanted to test it on the ducky and now I found the original files are working... I have no idea what I did wrong before. Now I can confirm to you that German is working almost 95% I only found two that are not printing and they are " ^ " and the " ' " Sorry again, ...
no42 Posted February 17, 2013 Posted February 17, 2013 Hey, no need to say sorry are you on windows? as your original command has / as directory limiters (which are unix/osx) on windows the command is java -jar encoder.jar -l resources\de.properties -i input.txt Least we're now know that there are only a few chars wrong or missing. I guess the missing ones are higlighted in red in the picture above, what is the combination to get these keys?
webdirector Posted February 17, 2013 Author Posted February 17, 2013 (edited) OK Snake I got it. all you need to do is change line : //ASCII_27 = KEY_1, MODIFIERKEY_RIGHT_ALT to ASCII_27 = KEY_BACKSLASH, MODIFIER_SHIFT and change line: //ASCII_5E = CIRCUMFLEX_BITS + KEY_SPACE to ASCII_5E = KEY_TILDE again thanks for patience Edited February 17, 2013 by midnitesnake formatting
no42 Posted February 17, 2013 Posted February 17, 2013 Thanks. Imported the changes into the Ducky Decode SVN. Thanks again for all your help Snake
Recommended Posts