openssl enc有单引号问题(')
答
大概shell引用被绊倒您
[email protected]:~$ base64 <<< "this isn't a problem"
dGhpcyBpc24ndCBhIHByb2JsZW0K
[email protected]:~$ base64 <<< 'this isn't working'
还使用OpenSSL:
[email protected]:~$ echo -n "I don't see the \" problem \"" | openssl enc -e -a
SSBkb24ndCBzZWUgdGhlICIgcHJvYmxlbSAi
样本只会是公平的,没有? – sehe 2011-04-04 21:41:03