<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Book on ads' corner</title><link>https://andreas.scherbaum.la/tags/book/</link><description>Recent content in Book on ads' corner</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 02 Dec 2024 00:00:00 +0100</lastBuildDate><atom:link href="https://andreas.scherbaum.la/tags/book/index.xml" rel="self" type="application/rss+xml"/><item><title>Read QR-Codes on the Linux Commandline</title><link>https://andreas.scherbaum.la/post/2024-12-02_read-qr-codes-on-the-linux-commandline/</link><pubDate>Mon, 02 Dec 2024 00:00:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2024-12-02_read-qr-codes-on-the-linux-commandline/</guid><description>&lt;p&gt;I have a QR-Code as image, and want to know what the QR-Code shows, or to which website it points to.&lt;/p&gt;&#10;&lt;p&gt;&#10;&lt;figure&gt;&#10; &lt;img src="qrcode.png" alt="QR-Code" width="600" height="600" loading="lazy" /&gt;&#10;&#10;&lt;/figure&gt;&#10;&#10;&#10;&lt;/p&gt;&#10;&lt;p&gt;The reasons are manifold, just to name a few:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;I don&amp;rsquo;t have to use my phone to see the URL, then type the URL manually on my computer&lt;/li&gt;&#10;&lt;li&gt;I can script the code extraction in any programming language&lt;/li&gt;&#10;&lt;li&gt;Operations can happen in the background, no need to pick up the phone&lt;/li&gt;&#10;&lt;li&gt;Extract and inspect the QR-Code content before visiting a link&lt;/li&gt;&#10;&lt;li&gt;Extract the &lt;a href="https://en.wikipedia.org/wiki/Time-based_one-time_password"&gt;TOTP&lt;/a&gt; shared secret, in order to add it in my own password manager&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;The tool I&amp;rsquo;m using for this task is &lt;code&gt;zbarimg&lt;/code&gt; from the &lt;a href="https://github.com/mchehab/zbar"&gt;ZBar Bar Code Reader&lt;/a&gt; software suite.&lt;/p&gt;</description></item></channel></rss>