Open chaoos opened 6 years ago
Format of the text string in the qrcode:
<desc>;<ip>;<host>;<port>;<token>;'<downloadURL>';'<finishURL>';'<notifyURL>';'<sshURL>';'<md5URL>';'<configURL>'
Example:
qrtest;localhost;debian.local;80;711898099b;'glados/index.php/ticket/download/{token}?step=2';'glados/index.php/ticket/finish/{token}';'glados/index.php/ticket/notify/{token}?state={state}';'glados/index.php/ticket/ssh-key';'glados/index.php/ticket/md5/{token}';'glados/index.php/ticket/config/{token}'
The text string for the qrcode should be compressed:
echo "string" | gzip | base64
Uncompress:
base64 -d <<<"string" | gunzip
Scan of qrcode via webcam and
zbarcam
.