NBICreator / NBICreator

OS X Application to create NetInstall images.
Apache License 2.0
98 stars 11 forks source link

ARD password is not correctly quoted in shell script #32

Open paulsuh opened 7 years ago

paulsuh commented 7 years ago

2017/07/03 13:26:30:200 Preparing modifications for Screen Sharing... 2017/07/03 13:26:30:268 [perl][stdout] 2017/07/03 13:26:30:268 [perl][stderr] /bin/bash: -c: line 0: syntax error near unexpected token )' /bin/bash: -c: line 0:/bin/echo abcd0) | perl -we 'BEGIN { @k = unpack "C", pack "H", "1734516E8BA8C5E2FF1C39567390ADCA"}; $ = <>; chomp; s/^(.{8})./$1/; @p = unpack "C", $; foreach (@k) { printf "%02X", $_ ^ (shift @p || 0) }; print "' 2017/07/03 13:26:30:269 Workflow: 10.12.5_16F73_Imagr.nbi failed 2017/07/03 13:26:30:269 [ERROR] perl command failed with exit status: 2

ARD password was intended to be "abcd0)"

erikberglund commented 7 years ago

Thank you. I'm fixing support for 10.13 so will fix this as well before next update.