<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>#Tools on Ethan's Blog</title><link>https://blog.ethanlyu.top/tags/%23tools/</link><description>Recent content in #Tools on Ethan's Blog</description><image><title>Ethan's Blog</title><url>https://blog.ethanlyu.top/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url><link>https://blog.ethanlyu.top/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link></image><generator>Hugo -- 0.152.2</generator><language>en</language><lastBuildDate>Thu, 16 Jan 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.ethanlyu.top/tags/%23tools/index.xml" rel="self" type="application/rss+xml"/><item><title>Automatically Login to HKU-VPN in shell</title><link>https://blog.ethanlyu.top/posts/automatically-login-to-hku-vpn-in-shell/</link><pubDate>Thu, 16 Jan 2025 00:00:00 +0000</pubDate><guid>https://blog.ethanlyu.top/posts/automatically-login-to-hku-vpn-in-shell/</guid><description>&lt;p&gt;HKU uses Cisco AnyConnect protocol and should use the Cisco software to connect the VPN. This post tries to use the &lt;code&gt;openconnect&lt;/code&gt; to do the same thing in the command shell and make it all automatic.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.infradead.org/openconnect/"&gt;OpenConnect&lt;/a&gt; is a cross-platform multi-protocol SSL VPN client which supports a number of VPN protocols, including Cisco AnyConnect, Juniper SSL, Palo Alto, etc. We can install &lt;code&gt;openconnect&lt;/code&gt; on MacOS,&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;brew install openconnect
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;(I believe you know when it is Linux / Windows). Then we have to configure the connection. The basic usage is&lt;/p&gt;</description></item><item><title>[iOS] Send SMS to TG</title><link>https://blog.ethanlyu.top/posts/send-sms-to-tg-ios/</link><pubDate>Mon, 13 Jan 2025 00:00:00 +0000</pubDate><guid>https://blog.ethanlyu.top/posts/send-sms-to-tg-ios/</guid><description>&lt;p&gt;Recently I&amp;rsquo;ve moved to Shenzhen, and I am working on establishing an atmosphere for study lol. And keeping myself away from phone is crucial. However, most of the existing logins require my verification code. This post shares the experience of how to automatically forward the SMS message containing &amp;ldquo;code&amp;rdquo; to telegram using the shortcut and automation in iOS system.&lt;/p&gt;
&lt;p&gt;Before you read, you should be aware that&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;iOS system: If you work on Android, you can develop an app very fast. We discuss iOS devices with automation and shortcut only&lt;/li&gt;
&lt;li&gt;Telegram: I assume you have the access to Telegram.&lt;/li&gt;
&lt;li&gt;You should be aware of the security of your actions. Do not spread it over the devices that you do not trust, as we will input the token directly.&lt;/li&gt;
&lt;li&gt;The methods cannot be used in any production environment, where the author of this post (me ofc) will not consume any responsibility for any costs and troubles.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="step-1-create-a-telegram-bot"&gt;Step 1: Create a Telegram bot&lt;/h2&gt;
&lt;p&gt;Search the &lt;code&gt;@botfather&lt;/code&gt; in your TG and create a bot by entering &lt;code&gt;/newbot&lt;/code&gt;.
Type in the bot name and user name.
You will receive the token. Keep it secret.&lt;/p&gt;</description></item></channel></rss>