![]() |
Password with a quote " in ist
Sorry if this was answered before but I couldn't find anything.
I have to create ZIP files on a regular basis that must be encrypted with a pssword. This password contains special characters, and especially the double quote ". taking aa"a as an example password, my command line would be something like pacomp -a -saa"a -e2 -p myfile.zip myfile.txt ... but this doesn't work because the quotation mark is interpreted as the beginning of a string. I tried escaping the " sign with "", \" and ^", but nothing of this works (in fact, with "", pacomp created a file but with the password aaa instead of aa"a ). :( Any advice? Thanks! |
Hi!
I haven't tested using " in the password field, because the password I set can't be used when I try to extract the file. Maybe I'm doing something wrong :confused:. Here's my command for creating the archive with password. Code:
pacomp -a -p -ssecret -s0 TestPassword.zip Logfile.logCode:
paext -e -ssecret TestPassword.zipI'm using PACL 6.01 and Win XP Sp3 Kind Regards Micke |
micke try c1 or c2 and see how it goes...
|
Quote:
|
got it, thanks Halvar!!
|
Hi!
Quote:
First without the -e parameter Code:
D:\PACL_Test>pacomp -a -p -ssecret TestPassword.zip Logfile.logCode:
D:\PACL_Test>paext -e -ssecret TestPassword.zipCode:
D:\PACL_Test>pacomp -a -p -ssecret -e0 TestPassword_e0.zip Logfile.logCode:
D:\PACL_Test>paext -e -ssecret TestPassword_e0.zipCode:
D:\PACL_Test>pacomp -a -p -ssecret -e1 TestPassword_e1.zip Logfile.logCode:
D:\PACL_Test>paext -e -ssecret TestPassword_e1.zipCode:
D:\PACL_Test>pacomp -a -p -ssecret -e2 TestPassword_e2.zip Logfile.logCode:
D:\PACL_Test>paext -e -ssecret TestPassword_e2.zipCode:
pacomp -a -p -ssecret -s0 TestPassword.zip Logfile.logI didn't even noticed this until now when I look at my post to see what parameter that I have used. My apologies for bringing this up. There's no problem with the password set in PACOMP, only brain meltdown behind the keyboard :p Kind Regards Micke |
ok, np... thank you!
|
Quote:
|
PACL 6.02 RC:
http://www.powerarchiver.com/test/release10/pacl602.exe Please check your reported issues and see if they are fixed or not... thanks! |
-s@filename to pickup password from file...
|
Hi!
Time for another test. This time with quote in password. Here's the result from the test Create a archive with password = aa"a Code:
D:\PACL_Test>pacomp -a -saa"a -e2 -p Test3.zip PICT0030.jpgCode:
D:\PACL_Test>pacomp -a -saa^"a -e2 -p Test3.zip PICT0030.jpgContent of password.txt Code:
aa"aCode:
D:\PACL_Test>pacomp -a -s@password.txt -e2 -p Test3.zip PICT0030.jpgCode:
D:\PACL_Test>paext -t Test3.zipTest result: OK with remark The user should not have to put the password in a textfile to use quote in the password. On the other hand the workaround by using a textfile will solve the problem with quote in the password. Since I'm not sure what the expected result would be, but from the post of spwolf I get the impression that it should be possible now to use quote in a password when using PACL 6.02 even without a password stored in a textfile. Kind Regards Micke |
Hi!
I have now retested this using PACL 7.00 beta 1. As before I have tried to create a archive with a quote in password. Here's the result from the test Create a archive with password = aa"a Code:
C:\PACL_Test\Amiga>pacomp -a -saa"a -e2 -p Test1.zip REFSCAN*.*Code:
C:\PACL_Test\Amiga>pacomp -a -saa^"a -e2 -p Test1.zip REFSCAN*.*Content of password.txt Code:
aa"aCode:
C:\PACL_Test\Amiga>pacomp -a -s@password.txt -e2 -p Test1.zip REFSCAN1.PCXCode:
C:\PACL_Test\Amiga>paext -t Test1.zipKind Regards Micke |
Thanks Micke!
|
this is due to the CL, we can not use all the characters in command prompt due to its limitations, so we have to use password list if you really want to be creative.
|
Thanks for the info and since it's working when putting the password in a textfile.
Kind Regards Micke |
| All times are GMT -5. The time now is 11:17 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.