DavidSkrundz / ducky-decode

Save from google code's death
4 stars 3 forks source link

es.properties issue with caracter \ and solution. #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.create a script with caracter \
2.Encode it with -l sources/es.properties
3.run it in 

REM Wait 3500
DELAY 3500
REM Go to desktop and wait 750
GUI M
DELAY 750
REM Run "run" and enter the notepad
GUI r
DELAY 750
STRING powershell Start-Process notepad -Verb runAs
REM press enter wait 750 and verify windows rigths
ENTER
DELAY 750
ALT y
ENTER
REM Introduce the caracter \
STRING \
ENTER
STRING Must display "\" caracter  
ENTER 
STRING Its ok?

What is the expected output? What do you see instead?
Result:"
º
Must display "º" caracter 
Its ok?"

Expected Result:"
\
Must display "\" caracter 
Its ok?"

What version of the product are you using? On what operating system?
Encoder v2.6.3 
source: es.properties

Please provide any additional information below.
To solve the problem es.properties file must be changed 
from:
ASCII_5C = KEY_TILDE 
To:
ASCII_5C = KEY_TILDE, MODIFIERKEY_RIGHT_ALT

Another point it´s that to encode the script the lenguage need to be the full 
path:

java -jar encoder.jar sources/es.properties

The user can change the lenguaje to the path of the encoder but it need allways 
the full file name (es.properties)

So  "java -jar encoder.jar -l es -i inject.txt -o inject.bin wouldn´t work.

Original issue reported on code.google.com by Jaime.Al...@gmail.com on 16 Jun 2014 at 2:38

GoogleCodeExporter commented 9 years ago
Thanks, fix applied to the SVN version.

Will roll it out as a minor update shortly.

Original comment by midnites...@gmail.com on 17 Jun 2014 at 1:29

GoogleCodeExporter commented 9 years ago

Original comment by midnites...@gmail.com on 24 Jul 2014 at 11:50