<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sancho Godinho on Medium]]></title>
        <description><![CDATA[Stories by Sancho Godinho on Medium]]></description>
        <link>https://medium.com/@sanchogodinho?source=rss-8712a31e5642------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*3IgEZPSFAL_kkZmF0gWjIA.jpeg</url>
            <title>Stories by Sancho Godinho on Medium</title>
            <link>https://medium.com/@sanchogodinho?source=rss-8712a31e5642------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 08:09:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sanchogodinho/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Keycloak — configuring for production on Codesphere]]></title>
            <link>https://medium.com/@sanchogodinho/keycloak-configuring-for-production-on-codesphere-b1bd9dd79901?source=rss-8712a31e5642------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1bd9dd79901</guid>
            <category><![CDATA[codesphere]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[sso]]></category>
            <category><![CDATA[keycloak]]></category>
            <dc:creator><![CDATA[Sancho Godinho]]></dc:creator>
            <pubDate>Fri, 01 Mar 2024 11:09:01 GMT</pubDate>
            <atom:updated>2024-03-27T17:37:04.991Z</atom:updated>
            <content:encoded><![CDATA[<h3>Installing Keycloak On Codesphere</h3><h3>What Is Keycloak?</h3><p>Keycloak is an open-source identity and access management solution that provides robust authentication and authorization services for web and mobile applications. Developed by Red Hat, Keycloak simplifies the implementation of security features by offering a centralized and customizable authentication server. It supports various authentication protocols, including OpenID Connect, OAuth 2.0, and SAML, allowing developers to integrate single sign-on (SSO) capabilities seamlessly. Keycloak’s versatile features include user federation, role-based access control, and social identity provider integration, enabling organizations to secure their applications with ease. Its user-friendly administration console facilitates the management of users, groups, and client applications, making it a popular choice for enterprises seeking a comprehensive identity management solution.</p><h3>Prerequisites</h3><p>For following along with this tutorial-like blog post you need to have these things before diving in with us.</p><ul><li>Codesphere Account</li><li>PostgreSQL Database (can be purchased from Codesphere)</li></ul><h3>Getting a database from Codesphere.</h3><ul><li>Go to <a href="https://codesphere.com/ide/menu/services">https://codesphere.com/ide/menu/services</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*d8IcNkHS1CgG2dz9" /></figure><ul><li>In the databases section, click on the “Create” button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t-lEKM4gF12SblqF" /></figure><ul><li>Select PostgreSQL from the dropdown of the available databases.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0SHvFef9UTAhjuJM" /></figure><ul><li>Click on the “Create” button once you have chosen your preferred plan (the minimum plan required is Free but the Micro plan is recommended).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hbYz6Nyz-BNSbso0" /></figure><ul><li>Wait for the “Actions” tab to show the text, “Show info”. This may take a while.</li><li>Click on the “Show info” button and copy the “Connection String”. This is the database URL you will need in the further steps.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IxBsQLTIQ9VSz_ik" /></figure><h3>Installing Keycloak On Codesphere.</h3><ul><li>Navigate to Codesphere’s workspaces page.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BUUU9B5Gx25SDSNX" /></figure><ul><li>Click on the “New Workspace” button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oGKf4W5HAYB3tu8B" /></figure><ul><li>Create a new workspace with the GitHub URL: <a href="https://github.com/codesphere-community/Keycloak">https://github.com/codesphere-community/Keycloak</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sNyphTBmPCi667OC" /></figure><ul><li>Click on the “Create” button after choosing your preferred settings.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0DfsuWx1nYAQRdG2" /></figure><ul><li>Head over to the “Setup” section of the IDE.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rS_WkPHbg2OYWgb-" /></figure><ul><li>Click on “Env vars” in the list.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TWvifo6fzmmPmbD1" /></figure><ul><li>Click on the “Add new variable” option to add a variable.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Rvqv0XMP7rBmzDWD" /></figure><ul><li>Add the variables:</li><li>DATABASE_URL (The PostgreSQL database URL).</li><li>KEYCLOAK_ADMIN (The admin username).</li><li>KEYCLOAK_ADMIN_PASSWORD (The admin password).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Du1uo1MdZ-qFq5eh" /></figure><ul><li>Click on the “CI Pipeline” button at the bottom of the page.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qI0olIsZj_qjdAth" /></figure><ul><li>Click on the “Run” button to run the installation script. Go to the next step only after the “Prepare” button on the left panel turn Green in colour.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Bn8HgXa_b4U9Yb4u" /></figure><ul><li>Click on the “Run” button on the left panel.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5RDf4pzBi73oFXXx" /></figure><ul><li>Click on the smaller “Run” button on the right panel.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mq4FLxHNxOUbMlwq" /></figure><ul><li>If this is the first time installation, wait for about 1 minute before continuing to the next step this is because it’s running the build script and then starting the server. After the first time, it would start in under 15 seconds.</li><li>Click on the “Open Deployment” button on the top panel of the page.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Cosx2YVzMPeh-Hz1" /></figure><ul><li>After Keycloak opens, click on the “Administration Console” button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HCSozp6W2_csOyt0" /></figure><ul><li>Log in with your environment variables KEYCLOAK_ADMIN (username) and KEYCLOAK_ADMIN_PASSWORD (password)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Z-blkX6Yr3qTK9um" /></figure><p>Congratulations, You have successfully set up Keycloak on Codesphere 🎉</p><h3>Updating</h3><p>Go to the “CI Pipelines” and then run the “Prepare” CI command. This will automatically delete the old version and update it to the latest version. Stop (if needed) and then Re-Run the “Run” CI command to restart it.</p><h3>Customizing settings in the start command.</h3><p>In this tutorial, we will explore how we can change the starting parameters in Codesphere CI Commands.<br>For this tutorial, we will change the maximum queued requests per second in Keycloak. This tutorial can even be used in case you want to change any type of configuration.</p><p>Maximum queued requests per second or http-max-queued-requests in Keycloak sets the limit for queued HTTP requests. It prevents server overload by rejecting requests beyond the specified limit, maintaining stability during high traffic. Adjusting this parameter optimizes server performance under varying loads.</p><ul><li>Open the “Setup” section.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DD6hoWiKHtA2iLeJ" /></figure><ul><li>Click on the “CI” section.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OcL9qHg_EleZsjCb" /></figure><ul><li>Click on the “Stage 3: Run” button and then click the “Edit” button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8F23gys0gj9Cf-OQ" /></figure><ul><li>Scroll to the end of the command then append your command. In this case, we want to put — http-max-queued-requests with the value of 100.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HOCoZ1fe0h_ceoqA" /></figure><ul><li>Click on the “Submit” button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*p5dYw_Jhe7LN3edW" /></figure><ul><li>Click on the “CI Pipeline” button at the bottom of the page.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xGtODsOsghVz75vQ" /></figure><ul><li>Go to the “Run” section of the CI Pipeline and click on the red “Stop” button in case the server is running.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JrPb63Dys8bfk8Do" /></figure><ul><li>Now click the blue-violet “Run” button to run to again start the server. This will now run with the changes we made.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Zqew_QG6GzX4yXQ6" /></figure><p>Now, any changes made in the start command will be reflected instantly (custom commands can take time to start the first time in case there are any major change made)!</p><h3>More customization!</h3><p>You can find more customization options here: <a href="https://www.keycloak.org/server/all-config">https://www.keycloak.org/server/all-config</a> Follow the same steps as mentioned above to edit the start command and see your changes!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1bd9dd79901" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Host your own Google Analytics alternative using Umami and Codesphere!]]></title>
            <link>https://medium.com/@sanchogodinho/host-your-own-google-analytics-alternative-using-umami-and-codesphere-2353edf3a89a?source=rss-8712a31e5642------2</link>
            <guid isPermaLink="false">https://medium.com/p/2353edf3a89a</guid>
            <category><![CDATA[free]]></category>
            <category><![CDATA[umami]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[self-hosted]]></category>
            <category><![CDATA[codesphere]]></category>
            <dc:creator><![CDATA[Sancho Godinho]]></dc:creator>
            <pubDate>Wed, 07 Feb 2024 09:11:19 GMT</pubDate>
            <atom:updated>2024-02-23T17:19:16.630Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*Oh-4yQVqTcNdIeRd9Powfg.png" /><figcaption>Host your own Google Analytics alternative using Umami and Codesphere!</figcaption></figure><p>Hey folks,<br>Welcome to another blog. This blog is a bit different. Codesphere recently held a mini hackathon where everyone wins a prize. This blog is a part of that challenge.</p><p>So, have you ever wondered whether you can host your own Google Analytics alternative (because Google collects a lot of data from it)?</p><p>If yes, you’re on the very correct blog post!</p><p>Let’s dive into how we can deploy our own Analytics service using Codesphere Cloud!</p><h3>First of all, why Umami?</h3><p>Umami emerges as an appealing option for website analytics due to its self-hosted, open-source design, granting website admins complete control over their user’s data and privacy. Now bring that with Codesphere, a secure and dependable hosting platform, and you get a seamless experience. Codsphere provides a sturdy server infrastructure, streamlining Umami’s setup process and making it user-friendly, even for those lacking technical expertise. With Codsphere’s hosting, users enjoy consistent performance, security, and a supportive environment for running Umami Analytics. This capability of Umami’s features and Codsphere’s hosting capabilities establish a potent and accessible solution for the best web analytics experience.</p><h3>Umami vs Posthog vs Google Analytics Feature Comparison</h3><p><em>Note: Tick marks (✔) indicate the presence of the feature, while crosses (❌) indicate the absence or limitations in that aspect.</em></p><p>If you’re convinced to use Umami with significant advantages over traditional analytics tools like Google Analytics or Posthog, see below the steps for installing it!</p><p><strong>Steps for installing Umami on Codesphere.</strong></p><p>1. Signup On Codesphere — <a href="https://codesphere.com/">https://codesphere.com/</a></p><p>2. Create a new instance using the “+ New Workspace” button.</p><p>3. Put in the URL: <a href="https://github.com/codesphere-community/Umami">https://github.com/codesphere-community/Umami</a> in the input box.</p><p>4. Choose the “Boost” plan at the minimum with Always On/Off or when unused based on your requirements (installation might crash on the other lower plans due to lack of resources/storage).</p><p>5. Click on the “Create button”.</p><p>6. Go to the “Setup” section on the top-left and then click on “Env vars”.</p><p>7. Click on “+ Add new variable” and then put DATABASE_URL in the left input box.</p><p>8. Enter your database MySQL / PostgreSQL Database URL (You can create one on <a href="https://docs.codesphere.com/integrations/databases">Codesphere</a> if you don’t have it) in the right side input.</p><p>9. Go to the CI Pipeline at the bottom of the screen.</p><p>10. Click on the Prepare section and then press the “Run” button.</p><p>11. My ci.yml will do all the work for you. Wait for the “Prepare” box to end. Afterward, Go to the Run section and click the “Run” button.</p><p>12. Once ✓ Ready is displayed in the terminal, click on the Open Deployment button on the top panel. Enter the default Umami credentials i.e., username: admin and password: umami</p><p>You’re ready to now use it on your site!</p><p>Also, If the restart fails in the future, Follow step 9, then directly go to the Run section, and then click the “Run” button.</p><p>Here’s the tutorial if you help with the installation: <a href="https://www.youtube.com/watch?v=DpkkjibjPpo">https://www.youtube.com/watch?v=DpkkjibjPpo</a></p><p><strong>Steps for adding Umami to your website.</strong></p><p>1. Login with the credentials (if unchanged, follow step 12’s credentials)</p><p>2. Click on “Settings” on the header.</p><p>3. Click on “+ Add Website”.</p><p>4. Enter the name and the domain of your website example: (Example Website, example.com).</p><p>5. Click on “Save”.</p><p>6. Check your website in the list and click the “Edit” button.</p><p>7. Go to the “Tracking Code” section and copy the script.</p><p>8. Paste the tracking code in the &lt;head&gt; tag of your website.</p><p>9. Go to the “Dashboard” option.</p><p>Done, this should display your Website’s statistics!</p><p>Just keep in mind to change your Umami password to prevent unauthorized access to your analytics service!</p><h3>A/B testing with Codesphere &amp; Umami.</h3><p>A/B testing is a statistical method used in marketing and product development to compare two versions, A and B, of a webpage, email, or other content to determine which performs better. The goal is to identify changes that positively impact user engagement, conversion rates, or other key metrics. Randomly assigned groups of users are exposed to either version, and their behavior is analyzed to assess the effectiveness of each variant. By isolating variables and measuring outcomes, A/B testing helps businesses make data-driven decisions, optimize user experiences, and refine strategies for optimal performance in areas such as website design, marketing campaigns, and product features.</p><p>Note: A custom domain is required for setting this up.</p><p>Let’s see how to do this using Codesphere’s advanced functionalities!</p><ol><li>Create 2 new workspaces for your A/B testing instances. Enter the code of the two versions of the website in each of these workspaces.</li><li>Copy and paste the tracking code (follow steps for adding a website above to get this code) in the &lt;head&gt; tag of the website paths that you want to be tracked. This will track the website analytics.</li><li>Create a new &lt;script&gt; tag inside the &lt;body&gt; tag.</li><li>Inside the created &lt;script&gt; tag (in the &lt;body&gt; tag), put the code: umami.track(&#39;Website &lt;A/B&gt;&#39;);. Change the A/B in the above string based on which version of your site you&#39;re on or put any value that differentiates between the two website versions. In my case, I put &#39;A/B 1&#39; and &#39;A/B 2&#39;. Learn more about this here: <a href="https://umami.is/docs/tracker-functions">https://umami.is/docs/tracker-functions</a></li><li>Go to the domain section in Codesphere and <a href="https://docs.codesphere.com/getting-started/custom-domains">register your domain</a>.</li><li>Select the two A/B workspaces that you want to test on that domain from the “Workspaces” dropdown. This will now automatically display the two versions of your website.</li><li>To view your results, go to the Umami dashboard, click on “View Details →” and scroll to the bottom.</li><li>Your events should be displayed in the events section.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*oEHlSlHJTkETwH9h" /></figure><p>Hope this blog helped you learn and do something new!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2353edf3a89a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I found a vulnerability in a Trillion Dollar Company, Amazon!]]></title>
            <link>https://infosecwriteups.com/how-i-found-a-vulnerability-in-a-trillion-dollar-company-amazon-c65e2be0c227?source=rss-8712a31e5642------2</link>
            <guid isPermaLink="false">https://medium.com/p/c65e2be0c227</guid>
            <dc:creator><![CDATA[Sancho Godinho]]></dc:creator>
            <pubDate>Wed, 22 Nov 2023 05:01:45 GMT</pubDate>
            <atom:updated>2023-11-22T05:01:45.259Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey guys, welcome again 😁</p><p>In this blog, I’ll dive into how I found an information disclosure in one of the biggest tech giants, Amazon!</p><p>First of, I started with a subdomain scan. I used <a href="https://subdomainfinder.c99.nl/">this</a> (not sponsored) tool free online subdomain scanner for this purpose which does the work quite nicely!</p><p>After searching for the subdomains, I manually started scanning each one.</p><p>Mostly, the pages were blank and returned some blank codes like 404.</p><p>But, One certain subdomain caught my attention. It disclosed information about the backend and an error stack trace containing a lot of information.</p><p>I reported this on their BBP (Bug Bounty Program) on HackerOne and it was not in scope of that program. But they still paid me a bonus of $100 classified as low vulnerability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*p-49-rAbbn2l94E7-wrK3A.jpeg" /><figcaption>🤑🤑🤑</figcaption></figure><p>Thank you so much for reading this blog. If you have learnt something new, give me as many claps as possible.</p><p>Also, COMMENT!!!</p><p>Let’s see you in the next blog!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c65e2be0c227" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/how-i-found-a-vulnerability-in-a-trillion-dollar-company-amazon-c65e2be0c227">How I found a vulnerability in a Trillion Dollar Company, Amazon!</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HOW I FOUND AN RCE VULNERABILITY IN A HOSTING PLATFORM!]]></title>
            <link>https://infosecwriteups.com/how-i-found-an-rce-vulnerability-in-a-hosting-platform-9d5604a1d9b9?source=rss-8712a31e5642------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d5604a1d9b9</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <dc:creator><![CDATA[Sancho Godinho]]></dc:creator>
            <pubDate>Mon, 14 Aug 2023 18:50:50 GMT</pubDate>
            <atom:updated>2023-10-29T18:35:56.898Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to my first cybersecurity blog fellow ethical hackers!</p><p>This is the story of how I got my first bug bounty!</p><p>Let’s call the platform I hacked example.com throughout this blog.</p><p>So, example.com is a NodeJS and Python hosting site.</p><p>While creating a package.json, I thought about why not add “i” and “install” keys to the “scripts” object (as they are the values that are executed to install the dependencies)?</p><p>So, I created keys named “i” and “install” and gave them both the value “echo You have been hacked!”. Then, I ran the npm installation command “npm i .”. And success! It displayed “You have been hacked”.</p><p>I felt that it was a straight up RCE (<a href="https://en.m.wikipedia.org/wiki/Arbitrary_code_execution">Remote Code Execution</a>) vulnerability (cause I am a newbie hacker at this point)!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*q0-1g9J_Fxkuih2ZbAZIpw.jpeg" /></figure><p>It felt like I had hacked a multi million dollar company, GitHub!</p><p>So, I reported this to GitHub on HackerOne. Simultaneously, I started hacking into example.com.</p><p>First of all, I saw the same thing that even example.com depends on npm i .</p><p>Luckily, I had access to the logs of that deployments and after reading them nicely, I could see that it did display “You have been hacked!”.</p><p>Seeing this, I started injecting more malicious commands into the install keys inside the scripts like ls ../</p><p>And guess what, it worked!!!</p><p>I literally had access to all the projects that were on that server. I realised that this was hosting multiple projects on a shared server and on every deployment it changed a server.</p><p>Now for a moment, let’s get back to the GitHub report.</p><p>GitHub marked it closed with reason “Informational”. This made me sad thinking that my bug report is useless.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*Y3SgMV1A-Qzc6lClGUyKCw.gif" /></figure><p>But keeping hope, I continued hacking example.com.</p><p>Now, I thought to myself, do we have access to other’s projects on that same server?</p><p>To test this, I made a new script to inject into the “i” and “install” keys into the “scripts” objects. The script was &quot;cd ../;ls -R \&quot;$(ls -d */ | head -n 1)\&quot;. What this basically did is go to the past directory, then go to the first project list and display all of it’s files.</p><p>And, it’s another success!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*6VmfjgprOcSBds08sZk2Gg.gif" /></figure><p>I soon reported this RCE (<a href="https://en.m.wikipedia.org/wiki/Arbitrary_code_execution">Remote Code Execution</a>) vulnerability to the platform and I got a bounty of $50 for a critical vulnerability!</p><p>I hope you enjoyed this blog. Do comment if you have suggestions. Also, give as many 👏 as you can!</p><p>If you want more blogs on Hacking, Coding and Technology, you should consider following me!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d5604a1d9b9" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/how-i-found-an-rce-vulnerability-in-a-hosting-platform-9d5604a1d9b9">HOW I FOUND AN RCE VULNERABILITY IN A HOSTING PLATFORM!</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Turn Your Old Phone Into A Complete Powerful Server Using Localtunnel For Free?]]></title>
            <link>https://medium.com/@sanchogodinho/how-to-turn-your-old-phone-into-a-complete-powerful-server-using-localtunnel-d5699b61f67?source=rss-8712a31e5642------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5699b61f67</guid>
            <category><![CDATA[termux]]></category>
            <category><![CDATA[website]]></category>
            <category><![CDATA[unlimited]]></category>
            <category><![CDATA[hosting]]></category>
            <category><![CDATA[servers]]></category>
            <dc:creator><![CDATA[Sancho Godinho]]></dc:creator>
            <pubDate>Sat, 11 Mar 2023 05:11:19 GMT</pubDate>
            <atom:updated>2023-07-07T03:59:26.670Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j473UwdMZPFDP22_XBOkWQ.png" /><figcaption>Photo by Ilya Pavlov on Unsplash</figcaption></figure><p>Hi everyone, welcome to my first blog on medium!</p><p>In this blog, we will learn how to turn your old phone in to a complete powerful web server in just 8 steps!</p><p>If You Want The Full Video On How To Do It, You Can See It From <a href="https://youtu.be/ewQRsuyEhyg">Here</a>!</p><h4>Step 1:</h4><p>First we have download install termux from <a href="https://f-droid.org/en/packages/com.termux/">Here</a>.</p><h4>Step 2:</h4><p>Run command:</p><pre>apt update&amp;&amp;apt upgrade<br></pre><p>This command will update your package list and update the not updated packages.</p><h4>Step 3:</h4><p>Run command:</p><pre>apt install nodejs<br></pre><p>This will install NodeJS on in your termux.</p><h4>Step 4:</h4><p>Run command:</p><pre>npm i -g localtunnel-termux http-server<br></pre><p>This command will install the essential modules to run and host your web server.</p><h4>Step 5:</h4><p>Run command:</p><pre>termux-setup-storage<br></pre><p>This command will give termux to access your device files so that you can easily share them to the world.</p><h4>Step 6:</h4><p>In this step, we have to change to the directory to what we want to share so,</p><pre>cd &lt;directory&gt;<br></pre><p>Using this command, you can go the the directory where your index.html and/or other files are located.</p><h4>Step 7:</h4><p>Run command:</p><pre>http-server<br></pre><p>This command will expose your current directory to localhost . That means, running this command will only allow you to host your files around your wifi network but this step is very essential.</p><h4>Step 8:</h4><p>Open a new terminal and then run this command:</p><pre>lt -p 8080 -s &lt;any subdomain you want&gt;<br></pre><p>Finally, this command will expose the files hosted around your network to the internet from which anyone can access them freely!</p><h4>Congratulations 🎉</h4><h4>You successfully converted your old phone into a web server!</h4><p>If you want a notepad with cloud support which can even sync your notes across your network, do check my cloud notepad website: <a href="https://cloud-notepad.cyclic.app/">https://cloud-notepad.cyclic.app</a></p><p>This is my first blog on medium so, if there are some mistakes then comment them.</p><p>Also, don’t forget to give me as many claps as possible and comment because it took time for me to do the trial and error for method to check whatever works.</p><p>And finally, If you’d want me to write you such blogs/articles, you can <a href="https://www.fiverr.com/s/pGD5Zo">Hire Me As A Content Writer</a> or if you’d like me to code websites for you, you can <a href="https://www.fiverr.com/s/l0q8Za">Hire Me As A Website Developer</a> both at affordable rates on Fiverr!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5699b61f67" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>