<?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 e11i0t on Medium]]></title>
        <description><![CDATA[Stories by e11i0t on Medium]]></description>
        <link>https://medium.com/@e11i0t?source=rss-3a4370b7d035------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*2mEHTKVUlOAWSItHWwizWg.gif</url>
            <title>Stories by e11i0t on Medium</title>
            <link>https://medium.com/@e11i0t?source=rss-3a4370b7d035------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 21:58:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@e11i0t/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[Scan, Diff, and Restore Deleted/Modified Files from Cursor (and VS Code) Local History]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">TL;DR: I wrote a Python tool that scans your Cursor (and VS Code) local history store, finds files in a chosen workspace that are deleted&#x2026;</p><p class="medium-feed-link"><a href="https://e11i0t.medium.com/scan-diff-and-restore-deleted-modified-files-from-cursor-and-vs-code-local-history-4bb5962279b6?source=rss-3a4370b7d035------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://e11i0t.medium.com/scan-diff-and-restore-deleted-modified-files-from-cursor-and-vs-code-local-history-4bb5962279b6?source=rss-3a4370b7d035------2</link>
            <guid isPermaLink="false">https://medium.com/p/4bb5962279b6</guid>
            <category><![CDATA[cursor]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[deleted-files]]></category>
            <dc:creator><![CDATA[e11i0t]]></dc:creator>
            <pubDate>Tue, 12 Aug 2025 11:52:42 GMT</pubDate>
            <atom:updated>2025-08-12T11:52:42.824Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Data Breach Costs and Regulatory Scrutiny in India]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://systemweakness.com/data-breach-costs-and-regulatory-scrutiny-in-india-70bf4115521f?source=rss-3a4370b7d035------2"><img src="https://cdn-images-1.medium.com/max/883/1*YbBAPeT3yZp-iMLiCjgAjg.png" width="883"></a></p><p class="medium-feed-snippet">Introduction</p><p class="medium-feed-link"><a href="https://systemweakness.com/data-breach-costs-and-regulatory-scrutiny-in-india-70bf4115521f?source=rss-3a4370b7d035------2">Continue reading on System Weakness »</a></p></div>]]></description>
            <link>https://systemweakness.com/data-breach-costs-and-regulatory-scrutiny-in-india-70bf4115521f?source=rss-3a4370b7d035------2</link>
            <guid isPermaLink="false">https://medium.com/p/70bf4115521f</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[risk-management]]></category>
            <dc:creator><![CDATA[e11i0t]]></dc:creator>
            <pubDate>Thu, 02 Jan 2025 07:41:17 GMT</pubDate>
            <atom:updated>2025-01-07T16:24:57.822Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Fixing ERR_TUNNEL_CONNECTION_FAILED on BurpSuite with Chromium]]></title>
            <link>https://e11i0t.medium.com/fixing-err-tunnel-connection-failed-on-burpsuite-with-chromium-caa9cb8c0ba9?source=rss-3a4370b7d035------2</link>
            <guid isPermaLink="false">https://medium.com/p/caa9cb8c0ba9</guid>
            <category><![CDATA[burpsuite]]></category>
            <dc:creator><![CDATA[e11i0t]]></dc:creator>
            <pubDate>Sun, 15 Dec 2024 11:50:18 GMT</pubDate>
            <atom:updated>2024-12-15T11:50:18.732Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*giCejlNZlrwnWTkKQhmmxA.png" /><figcaption>The Issue</figcaption></figure><p>If you’re running BurpSuite and trying to intercept Chromium-based browser traffic, encountering the dreaded ERR_TUNNEL_CONNECTION_FAILED error can be frustrating. While this error often points to networking or proxy configuration issues, there’s an overlooked yet surprisingly common cause that many fail to consider — <strong>a rogue Docker container occupying port 8080</strong>, the same default port BurpSuite uses for its proxy.</p><p>In this article, we’ll explore how to identify and fix this issue, ensuring BurpSuite works seamlessly with Chromium-based browsers.</p><p><strong>Understanding the Problem</strong></p><p>When you encounter the ERR_TUNNEL_CONNECTION_FAILED error, it typically means the browser’s attempt to establish a connection through the proxy (BurpSuite) is failing. While firewall configurations or restrictive network policies could cause this error, they’re unlikely on personal computers. Instead, a more common issue arises when <strong>another service is already using port 8080</strong>, leading to a conflict.</p><p>If you’re a developer or security researcher, you might have Docker containers running in the background. Some containers, such as development servers or reverse proxies, often use port 8080. When BurpSuite attempts to bind its proxy listener to port 8080, it collides with the existing process, causing the proxy to fail.</p><p><strong>Steps to Diagnose and Fix the Issue</strong></p><p><strong>1. Check if Port 8080 Is in Use</strong></p><p>The first step is to confirm whether port 8080 is already occupied. Use the following command to check:</p><blockquote>sudo netstat -tuln | grep 8080</blockquote><p>Or, if you prefer lsof:</p><blockquote>sudo lsof -i :8080</blockquote><p>If you see output like this:</p><blockquote>COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME</blockquote><blockquote>docker-proxy 1234 root 4u IPv4 34832 0t0 TCP *:8080 (LISTEN)</blockquote><p>This means a Docker container is occupying port 8080.</p><p><strong>2. Identify the Docker Container</strong></p><p>If the output indicates that Docker is the culprit, find the container using this port with the following command:</p><blockquote>docker ps — filter “publish=8080”</blockquote><p>The output will display the container ID and other details something like this (This is on Docker UI though):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MJvWZbFDrEy68sH1ya5lxQ.png" /></figure><p>In this example, a container named my-nginx is running on port 8080.</p><p><strong>3. Stop or Reconfigure the Container</strong></p><p>You have two options to resolve the conflict:</p><p><strong>Option 1: Stop the Docker Container</strong></p><p>If the container isn’t critical, stop it with:</p><blockquote>docker stop abcd1234</blockquote><p>Replace abcd1234 with the actual container ID.</p><p><strong>Option 2: Reconfigure the Docker Container</strong></p><p>If the container is necessary, you can map it to a different port. Restart the container with a different port binding:</p><blockquote>docker run -d -p 8081:80 nginx:latest</blockquote><p>Here, the container will now use port 8081 instead of 8080.</p><p><strong>4. Restart BurpSuite</strong></p><p>After freeing up port 8080, restart BurpSuite and verify that the proxy listener is properly configured to use port 8080:</p><p>1. Open BurpSuite.</p><p>2. Navigate to <strong>Proxy</strong> &gt; <strong>Options</strong>.</p><p>3. Confirm that the interface is set to 127.0.0.1:8080.</p><p>4. Click <strong>OK</strong> to save.</p><p><strong>Testing the Fix</strong></p><p>Once BurpSuite is configured, verify that the Chromium-based browser is correctly routing traffic through it:</p><p>1. Ensure the browser proxy settings point to 127.0.0.1:8080 (either via browser settings or Burp’s browser proxy switcher).</p><p>2. Try accessing any HTTP/HTTPS site.</p><p>If the issue was a port conflict, the ERR_TUNNEL_CONNECTION_FAILED error should now be resolved.</p><p><strong>Conclusion</strong></p><p>Encountering ERR_TUNNEL_CONNECTION_FAILED can be perplexing, but diagnosing the root cause is key. In this case, a rogue Docker container using port 8080 is a common yet easily fixable issue. By checking for active processes on port 8080 and resolving conflicts, you can quickly get BurpSuite working smoothly with Chromium-based browsers.</p><p>If you’re a security researcher or developer who frequently uses both Docker and BurpSuite, consider setting BurpSuite to use a non-default port to avoid future conflicts. This can be done in BurpSuite’s Proxy settings.</p><p>Hopefully, this guide saves you some troubleshooting time the next time you run into this issue!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=caa9cb8c0ba9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Cybercriminals could’ve sent Phishing emails via Google Groups!]]></title>
            <link>https://systemweakness.com/the-great-google-groups-spoofing-scandal-how-a-bug-allowed-deception-to-flourish-b5bdfa05747a?source=rss-3a4370b7d035------2</link>
            <guid isPermaLink="false">https://medium.com/p/b5bdfa05747a</guid>
            <category><![CDATA[google]]></category>
            <category><![CDATA[dns]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[security-misconfiguration]]></category>
            <category><![CDATA[internet]]></category>
            <dc:creator><![CDATA[e11i0t]]></dc:creator>
            <pubDate>Tue, 03 Jan 2023 19:24:06 GMT</pubDate>
            <atom:updated>2025-12-30T09:19:59.903Z</atom:updated>
            <content:encoded><![CDATA[<p>“Get ready for some major mischief! I just successfully spoofed an email from a domain, “xyz.edu,” whose DNS records were misconfigured and sent it to a Google Group mailing list regularly used by “xyz.edu.” Even better, Google’s algorithms marked it as important in the recipient’s inbox. Don’t try this at home (or at work!) but watch me pull off this epic hack.”</p><h3>Timeline</h3><p><strong>On September 23rd</strong>, I was experimenting with emkei.cz, a prominent fake mailer commonly used to spoof mails, when I had an idea to send a fake email to a group in my college. Using the standard format used by the Placement Cell, I created a simple email with a Grabify link and sent it to a regular google group (which included myself) that the college used to send emails. I didn’t think much of it at the time and went about my day.</p><p>However, when I checked my inbox on <strong>September 25th</strong>, I was surprised to see the email had landed in my inbox and was even marked as important. There were no warnings or indications from Gmail that the email was not from the sender or that the link should not be clicked.</p><p>I immediately submitted the bug to Google on <strong>September 28th</strong> and received an automated reply. Later that day, the bug was marked as “Intended (Won’t Fix)”. On <strong>September 30th</strong>, I updated the issue to state that I would be disclosing the bug and its technicalities publicly. I received another automated reply about coordinated disclosure.</p><p>Unfortunately, I was unable to reproduce the bug through emkei.cz and my research was put on hold due to work and academics. However, on <strong>December 20th</strong>, a similar incident occurred where the misconfiguration was abused in a prominent educational institution through the use of emkei.cz, anonymailer, and other similar services. The next day, I attempted to exploit the same issue on xyz.edu and was successful in doing so with a delivery time of just three seconds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/882/1*8CkCNpcpKVa-wgZGJpA-dA.png" /><figcaption>Latest reproduction of the same misconfiguration.</figcaption></figure><h4><strong>Technical Analysis:</strong></h4><p>Google Groups is a tool used by organizations and educational institutions to create mailing lists for communication purposes. With different privilege levels including owners, managers, and members, users have the ability to customize the permissions of group members to determine who can send emails, view content, and invite others to join the group. This feature makes <strong>Google Groups a useful resource for streamlining communication within teams and organizations.</strong></p><p><strong>The Sender Policy Framework (SPF) </strong>is a way to verify that the server sending an email is allowed to do so on behalf of a specific domain. This is done through the use of an SPF record, which is a special type of DNS (Domain Name System) record. DNS is a system that converts human-readable domain names (like example.com) into computer-readable IP addresses (like 192.0.2.1). An SPF record is a type of DNS record that contains a list of authorized IP addresses that are allowed to send emails for a particular domain. When an email is received, the SPF system checks the SPF record for the domain listed in the email’s “From” address and compares it to the server that sent the email. If the server is not listed in the SPF record, it may be marked as spam or rejected altogether.</p><p><strong>Domain Keys Identified Mail (DKIM)</strong> is another way to verify the authenticity of an email. It works by adding a digital signature to the email headers (the information at the top of an email message). This signature is created using a private key (a secret code known only to the sender) and can be verified using a public key (a code that is available to anyone). When an email is received, the DKIM system retrieves the public key from the DNS and uses it to verify the signature. If the signature is valid, it means that the email is authentic and was not modified during transmission.</p><p><strong>Domain-based Message Authentication Reporting and Conformance (DMARC)</strong> is a system that combines SPF and DKIM to authenticate an email. It works by checking the “From” address of an email against the SPF and DKIM records for the domain listed in that address. If the records do not match, the email may be marked as spam or rejected. DMARC also includes a reporting system that allows organizations to track and analyze how their domains are being used in email communications. This can help them to identify and prevent phishing attacks.</p><p>Assuming that only admin@xyz.com is authorized to send emails to internal@googlegroups.com or any internal mailing lists, and that the SPF record is set to softfail and the DMARC policy is set to none, if a forged email is sent using emkei.cz with a “From” address of admin@xyz.edu and sent to xyz-google@googlegroups.com, it may take a long time for the email to reach the recipient’s inbox.</p><p>In this case, the email took 158,662 seconds (approximately 45 hours) to arrive. Upon analyzing the email, it was found that the SPF check passed and the DKIM check passed, but the DMARC check failed. This indicates that while the email passed some authentication checks, it did not pass all of them and may be potentially suspicious.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*ovNPSoQWfgCae1BJjlXlKA.png" /><figcaption>Sample Headers of the mail.</figcaption></figure><p>When the SPF record for xyz.edu is set to softfail, emails from that domain may still be delivered to their intended recipients, even if they fail the SPF check. In this case, because Google Groups is forwarding the email without checking the source, the SPF and DKIM checks pass after the email is forwarded by Google’s server. As the DMARC policy for xyz.edu is set to none, the email is delivered to the recipient’s inbox and may be marked as important.</p><p>This is a concerning issue because it could potentially be used for phishing attacks, allowing an attacker to gain initial access to a network. It is not immediately noticeable to the naked eye, making it all the more dangerous. The fact that this bug was able to be tested and found to be effective is a cause for concern.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/0*RJZG6FGDBnMoTe03" /><figcaption>Flow chart explaining why google groups forward the mail</figcaption></figure><p>As a temporary measure to prevent spoofing emails until Google fixes this issue, it is recommended to set your DMARC policy to “quarantine” or “reject” or to set your SPF policy to “hard fail”. While this may result in some delivery issues, it is an effective way to protect your employees/users from phishing attacks.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/183a1753dca69b70bb0b35861827a3b8/href">https://medium.com/media/183a1753dca69b70bb0b35861827a3b8/href</a></iframe><p>If you do not have access to Python or prefer to use another method, you can check if a domain is vulnerable to Business Email Compromise (BEC) attacks using online tools or by manually checking the Domain-based Message Authentication Reporting and Conformance (DMARC) and Sender Policy Framework (SPF) records for the domain.</p><p>One online tool that can check the DMARC and SPF records for a domain is MXToolbox. Simply enter the domain name and click “<a href="https://mxtoolbox.com/spf.aspx">Lookup SPF Record</a>” to retrieve and display the SPF record for the domain. You can also check the DMARC record by clicking the “<a href="https://mxtoolbox.com/DMARC.aspx">DMARC Lookup</a>” tab and entering the domain name.</p><h4>Mitigations</h4><p>There are several measures that can be taken to mitigate the risk of this type of attack:</p><ol><li>Set SPF and DMARC policies to “strict” or “reject” rather than “softfail” or “none” to ensure that only authorized servers can send emails on behalf of your domain.</li><li>Enable Domain-based Message Authentication Reporting and Conformance (DMARC) to track and analyze the use of your domain in email communications and identify potential phishing attempts.</li><li>Use Domain Keys Identified Mail (DKIM) to add a digital signature to your emails, which can be verified using a public key. This helps to ensure that emails have not been modified during transmission.</li><li>Educate employees and users about the risks of phishing attacks and how to identify and report suspicious emails.</li><li>Implement two-factor authentication (2FA) to add an extra layer of security to your email accounts.</li><li>Regularly update and patch your email server and client software to fix any vulnerabilities that may be exploited by attackers.</li><li>Use antivirus and anti-malware software to protect against malicious software that may be delivered through email.</li></ol><h4>Special Thanks and Acknowledgements</h4><p>I would like to give a special shout out to my colleague, <a href="https://www.linkedin.com/in/anirudh-batra3/">Anirudh Batra</a>, for his invaluable assistance in understanding the technicalities of how mail headers work. Without his guidance, this research would not have been possible.</p><p>I also want to express my gratitude to everyone who provided constant motivation and support throughout this research. Their encouragement and belief in my abilities kept me going and I couldn’t have done it without them.</p><p>If you have any questions or would like to share your own experiences with email security, please leave a comment below. Stay safe out there and keep your domain secure!</p><h4>Appendix</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MpvQEjOBzb72yFkAkMyBxQ.png" /><figcaption>Sample mail in an inbox where it is marked important because of google filters</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*q5o15zX83tTJy743DkXEEg.png" /><figcaption>Sample mail in an inbox where it’s marked important because of google magic</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*ZC4TyjRgxptLiB2p_oHqKw.png" /><figcaption>Bug Abused in other Educational Institutions</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/1*qmQNB-a9DYa1l_t2zzH0Bw.png" /><figcaption>Email Headers showing abuse of emkei.cz</figcaption></figure><h4>PS:</h4><p>After sending the spoofed emails to the google groups, I took responsible action by notifying the domain administrator.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b5bdfa05747a" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/the-great-google-groups-spoofing-scandal-how-a-bug-allowed-deception-to-flourish-b5bdfa05747a">How Cybercriminals could’ve sent Phishing emails via Google Groups!</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dirty Pipe: New Privilege Escalation Flaw Allows for Complete Device Takeover in Linux and Android]]></title>
            <link>https://systemweakness.com/dirty-pipe-new-privilege-escalation-flaw-allows-for-complete-device-takeover-in-linux-and-android-aae0658f5126?source=rss-3a4370b7d035------2</link>
            <guid isPermaLink="false">https://medium.com/p/aae0658f5126</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[privilege-escalation]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[kernel]]></category>
            <dc:creator><![CDATA[e11i0t]]></dc:creator>
            <pubDate>Wed, 09 Mar 2022 15:11:05 GMT</pubDate>
            <atom:updated>2022-03-09T15:11:05.245Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9ddy4yX_F3_G9CSL" /><figcaption>Photo by <a href="https://unsplash.com/@lukash?utm_source=medium&amp;utm_medium=referral">Lukas</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The flaw, CVE-2022–0847, was discovered by Max Kellermann. Kellermann found the privilege escalation bug allows threat actors in Linux versions 5.8 and beyond to inject code into read-only files, among other malicious activity. “Dirty Pipe” is a security exploit in select recent versions of the Linux kernel. (The kernel is the core of an operating system, often acting as the go-between from applications to your actual hardware.) In short, any application that can read files on your phone/computer, A permission many Android apps ask for can potentially mess with your files or run malicious code. On desktop/laptop versions of Linux, this has already been shown to be easily able to get admin privileges.</p><p>Simply put, this exploit could easily give an attacker full control of your device.</p><h3>How does “Dirty Pipe” work?</h3><p>For the technically inclined, especially those with Linux experience, Kellermann <a href="https://dirtypipe.cm4all.com/">has published</a> an interesting write-up of how “Dirty Pipe” was inadvertently discovered and the core mechanisms of how it works.</p><p>Here’s an simplified explanation: as the “Dirty Pipe” name suggests, it has to do with Linux’s concepts of “pipes” which are used to get data from one app or process to another and “pages” small chunks of your RAM. Effectively, it’s possible for an application to manipulate Linux pipes in a way that makes it possible to insert its own data into a page of memory.</p><p>By doing so, it’s easily possible for the attacker to either change the contents of a file you’re trying to open or even give themselves full control of your computer.</p><h3>How can “Dirty Pipe” be exploited?</h3><p>As we have a basic Idea that the Dirty Pipe can be used to write into any file in your system. So what we just need to do is to write into a setuid executable owned by root. Simply saying setuid is a bit which allows the executable to be run as the owner of the file instead of the current user. Now we use the following command to get list of programs with suid bit set</p><pre>find / -perm -u=s -type f 2&gt;/dev/null</pre><p>Now use this <a href="https://haxx.in/files/dirtypipez.c">exploit</a> code, compile it with gcc, run it as a user with path to a suid executable and viola!! A root shell.</p><h3>How can I keep my device safe?</h3><p>Make sure you upgrade your Linux systems with sudo apt update &amp;&amp; sudo apt upgrade and reboot and rerun the exploit to make sure your device is safe if it’s not yet updated check your kernel versions and <a href="https://www.cyberciti.biz/faq/installing-latest-stable-mainline-linux-kernel-on-ubuntu-with-apt-get/">update</a> it manually at your own risk. As of android only run apps that you know you can trust. Additionally, in the short term, you should avoid installing any new apps, if possible. While these measures may seem simple, they should go a long way toward keeping your device safe until a security patch is available.</p><p><strong>DISCLAIMER: </strong>Use exploits on your own devices only. Take prior permission if you are testing it on some other systems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aae0658f5126" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/dirty-pipe-new-privilege-escalation-flaw-allows-for-complete-device-takeover-in-linux-and-android-aae0658f5126">Dirty Pipe: New Privilege Escalation Flaw Allows for Complete Device Takeover in Linux and Android</a> was originally published in <a href="https://systemweakness.com/">System Weakness</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 get The Ultimate Hacking Workspace on Cloud?]]></title>
            <link>https://systemweakness.com/how-to-get-the-ultimate-hacking-workspace-on-cloud-9f458e66b203?source=rss-3a4370b7d035------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f458e66b203</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[sandbox]]></category>
            <dc:creator><![CDATA[e11i0t]]></dc:creator>
            <pubDate>Sat, 12 Feb 2022 04:53:06 GMT</pubDate>
            <atom:updated>2022-03-09T15:10:29.133Z</atom:updated>
            <content:encoded><![CDATA[<p>Need a rapidly deployable and destroyable workspace which is sand-boxed and available all time in cloud? Then you’re at the right place.</p><p>The Technology which I’m going to show you is absolutely amazing, this changes the way I use the cloud completely for learning and testing out hacking.</p><p>So <a href="https://www.kasmweb.com/">KASM </a>is a Container Streaming Platform Streaming containerized apps and desktops to end-users. The Work-spaces platform provides enterprise-class orchestration, data loss prevention, and web streaming technology to enable the delivery of containerized workloads to your browser. Now you might question “How this helps in getting the Hacking Workspace ?” Well KASM provides the facility of using Kali Linux Image too!! so we can directly get the container streaming Kali desktop environment to our browser.</p><p>Well now you’re excited on getting this up and running now so let’s get right into it. The requirements being not long we just need a cloud server. Choose your service provider on your convenience I’ll be going with <a href="https://cloud.google.com/">Google Cloud Platform</a> as they have 300$ free trial credits. You can choose Digital Ocean or Linode, IBM Cloud, Azure or any other Cloud service provider which provide free cloud credits for new users (NOTE: You’ll be required to give your credit/debit card for getting the credits).</p><h3>Step-1: Creating a VM Instance</h3><p>I’ll be showing you how to setup a VM Instance in google cloud platform if you’re using another service provider do follow their documentation. Creating a Droplet(A VM) in Digital ocean is already shown here in my previous tutorial for <a href="https://systemweakness.com/how-to-install-ubuntu-with-gui-on-digital-ocean-for-free-12301f464a3">setting up Ubuntu desktop on cloud</a>.</p><p>Go to your <a href="https://console.cloud.google.com/">Cloud Console</a> and login with your account your dashboard will resemble as something shown below and now open the navigation menu and Hover over Compute Engine and select VM Instances.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mpPrX9F8TKCrU_P9SQ5dyQ.png" /><figcaption>Dashboard of GCP</figcaption></figure><p>Now as soon as you click on that a new screen in website shows up and asks you to enable the API do enable it and refresh the screen to see the Compute-Engine Page. Here click on Create Instance which will show a form to create the instance. You have to choose your instance name, region, zone to your choice as of Machine configuration use 2 vCPUs and 4 GB RAM machine type E2-medium.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4qDXRNkeMVluDnlEDHsBYw.png" /><figcaption>VM Instance Creation</figcaption></figure><p>Now scroll down open the boot disk and change it’s OS to Ubuntu 20.04 LTS and increase the disk space to 50GB. Now ensure all settings are correct and you have activated your free trail and the created instance runs on free credits and not you getting billed at the end of billing cycle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JU_OhVUnNSjKRKnsfNup6w.png" /><figcaption>Boot Disk</figcaption></figure><p>Now after you click on create instance it’ll redirect to Dashboard of Compute Engine and you can see your instance deploying and after some time you’ll get a green tick mark in status which says it’s deployed. Here click on ssh to open the shell to the instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xqw7gJZOE96tABW03FG11A.png" /><figcaption>VM Dashboard</figcaption></figure><p>Once you click on ssh you will be presented a ssh in browser window in as follows</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*DcU-MMBicgqTAylhhfijpQ.png" /></figure><p>You can login through your own ssh from your terminal for better copy-pasting to do this there are several methods but I will modify the sshd config to allow login through passwords and change password of my user. Make sure you create a strong password for better security</p><p>sudo nano /etc/ssh/sshd_config</p><p>Use this command in terminal to open the nano editor and change the PasswordAuthentication from no to yes and use ctrl + o or cmd + o to save the file and press enter. To exit use ctrl + x or cmd + x</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*UhDDXy8dBFh61alj0GsUaA.png" /></figure><p>After the window is closed change your password with sudo passwd &lt;username&gt; and restart the ssh service with sudo service sshd restart</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*UFgMLjKefCH4SRIxR0shHQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f_Xd8HfVoMmUxQI6BL5ULA.png" /></figure><p>This above screenshot shows that I’ve logged in from my windows terminal.</p><h3>Step-2 : Setting up SWAP Space</h3><p>We need to setup a swap space for better performance use the following commands to setup swap space and mount it every time you restart.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0192cfc32ea55291caefb239cee6d18d/href">https://medium.com/media/0192cfc32ea55291caefb239cee6d18d/href</a></iframe><p>Here first command creates the swap space , 2nd makes sure it has right permissions, 3rd mounts the swap space, 4th turns on the swap space and last one to make sure it gets mounted every time you restart. If you want to increase the swap space you can do now to check the swap space use the command cat /proc/swaps to see the swap information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*DL0FkXXlq2JNRSuY-pTG2A.png" /></figure><h3>Step-3 : Downloading and Installing KASM</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f4f84daaa1a59cbc4f35d9288a97ab42/href">https://medium.com/media/f4f84daaa1a59cbc4f35d9288a97ab42/href</a></iframe><p>Use the above commands to install KASM. Accept license agreements in middle and rest all is managed by the script. It will take some time to install so sit back and relax till it completes installing.</p><p>You’ll get this message once it completes with all the credentials required copy and save it in a secure place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/377/1*y0nvzphj4vWt41K9lSdjmw.png" /><figcaption>Credentials</figcaption></figure><h3>Step-4: Allowing HTTPS traffic to the server</h3><p>This step should’ve been done before creating the instance which I’ve realized later so this isn’t a issue we just need to go to the navigation menu select VPC Networks and then click on the firewalls tab which will open list of all the available rules as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rf5d6Eg6QUvgVTlex54YFg.png" /></figure><p>Click on the default-allow-https and change to edit mode and change the targets to all instances in the network (As I have only one Instance I’m doing this beware if you’re doing this in networks where you don’t want to expose private https server)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6WTKziI5Sup-Pe2OU_-QvQ.png" /></figure><p>After saving this go to https://&lt;IP&gt; of your instance you’ll be able to see the KASM Workspace login site now use the credentials saved earlier.</p><h3>Step-5: Installing the Firefox/chrome extension for KASM</h3><p><a href="https://addons.mozilla.org/en-US/firefox/addon/kasm-open-in-isolation/">Firefox</a> and <a href="https://chrome.google.com/webstore/detail/kasm-open-in-isolation/pamimfbchojeflegdjgijcgnoghgfemn?hl=en-US">Chrome</a> Supported Browsers have this extension which allows to open links which you think are unsafe to be directly opened in KASM streamed browsers like chrome,Firefox,chromium,brave and edge in one click. This Add-on settings can be found in about:addons page in Firefox and in More Settings tab in Chrome.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pHG4JyhSKYLyRY19P7J6Zw.png" /><figcaption>Extension settings</figcaption></figure><p>Now change the “my.kasm.server” to whatever server ip address you’ve got and then in your admin console “https://&lt;IP&gt;/#/adminprofile change your preferred image to a browser which you prefer as follows</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*236FFaMDm3NmrNaADxOsQw.png" /><figcaption>Preferred browser Setting</figcaption></figure><p>Now as this setup is done just check out a link by right clicking on it and click on open with KASM and boom!!! it’s opened in a new window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h6jZhbIAIe19l1Dj1grBkg.png" /><figcaption>Launched Sandbox browser opening the link</figcaption></figure><p>Now For the important part you must delete the session once you feel your work is done else you can’t open more than a limited sessions because we’re in a free version of KASM and it’s absolutely sufficient for your personal use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kWAUsbyLctGUoORwOfRUQg.png" /><figcaption>Deleting the Instance once used</figcaption></figure><h3>Step-6: Installing Kali Image</h3><p>Now Kali isn’t default image available in kasm workspace navigate to Images tab and find Kali and click on edit button to open the page where we can enable it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zb-0WerqnRAxtNOSJlufbA.png" /><figcaption>List of Images in Admin Console</figcaption></figure><p>Now in the new menu check the enable checkbox to enable it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hZJsE0JUrVVGF56h_myusQ.png" /><figcaption>Enabling Kali Image</figcaption></figure><p>Now after saving it allow it for some time to download the image then you can start your kali sandbox</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*T03S31nYAoOC69JwbwiF8Q.png" /><figcaption>Kali Downloading</figcaption></figure><p>Once it’s gone just click on that and select launch session to get the Kali desktop as follows</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WkZ5AQw9HT6y8WET89EmOw.png" /></figure><p>There are a ton of amazing features like adjusting stream quality, sound streaming from the container, mic sharing, sharing a view only session to others, shared clipboard, uploading files to the container and downloading images from the container.</p><h3>Step-7: Exploring other features in KASM</h3><p>You can launch several other things like image editors, code editors, social networking stuff, small games and even development tools like postman and insomnia. It even has a monitoring feature if you provide your kasm to your peers or friends or anyone. You can setup Load balancing with multiple servers as you need but as it’s free version we can only have limited number of concurrent sessions.</p><p>One feature which caught my eye was Web Filter which allows blacklisting websites which are NSFW. These days if you want to restrict your kids or anyone for not visiting specific sites you can always blacklist them. Or if you want people whom you give access to specific site only then you can use the whitelisting features</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DOrDbYjdxWFfkYXC9v70bg.png" /><figcaption>KASM Pricing.</figcaption></figure><p>Summing up <a href="https://www.kasmweb.com/">KASM </a>is the best thing ever made for cloud in my view which provides a lot of benefits to organizations and even for personal use.</p><p>If you Loved this do share, clap and Follow for more tech related blogs</p><p>Thank you for reading.</p><p>PS: If you have any issues in setting the above up do let me know through my <a href="https://twitter.com/e11i0t_">twitter</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f458e66b203" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/how-to-get-the-ultimate-hacking-workspace-on-cloud-9f458e66b203">How to get The Ultimate Hacking Workspace on Cloud?</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Phishing Emails 1 write-up (TryHackMe)]]></title>
            <link>https://systemweakness.com/phishing-emails-1-write-up-tryhackme-1d7cd1489e88?source=rss-3a4370b7d035------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d7cd1489e88</guid>
            <category><![CDATA[writeup]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[phishing]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[e11i0t]]></dc:creator>
            <pubDate>Thu, 06 Jan 2022 15:31:49 GMT</pubDate>
            <atom:updated>2022-01-10T08:19:25.051Z</atom:updated>
            <content:encoded><![CDATA[<p>This is a write up for <a href="https://tryhackme.com/room/phishingemails1tryoe">Phishing Emails 1</a> room in <a href="https://tryhackme.com/">Tryhackme</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vByFKCdNR2AZKek-.png" /></figure><p><strong>Task 1:</strong> Introduction about phishing — No Answers Required</p><p><strong>Task 2</strong>: The Email Address<br>1. Emails date back to what time frame ? — 1970s</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TkW9Chb3JNwt2-fKgqFRJQ.png" /></figure><p><strong>Task 3: </strong>Email Delivery<br>1. What port is classified as Secure Transport for SMTP? — 465<br>2. What port is classified as Secure Transport for IMAP? — 993<br>3. What port is classified as Secure Transport for POP3? — 995</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VDuX0FpLwSOJ73kyY8Ifeg.png" /></figure><p><strong>Task 4: </strong>E-mail Headers:<br>1.What email header is the same as “Reply-to”? — “Return-Path”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*hG9UZXZGE1wftOgZhxYYTA.png" /></figure><p>2.Once you find the email sender’s IP address, where can you retrieve more information about the IP? — <a href="http://www.arin.net/">http://www.arin.net</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*44MCFy95YgsdN791P3fb5w.png" /></figure><p><strong>Task 5: </strong>Email Body<br>1. In the above screenshots, what is the URI of the blocked image? — <a href="https://i.imgur.com/LSWOtDI.png">https://i.imgur.com/LSWOtDI.png</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*eGnCrykYtJblxtXsAwWh3g.png" /></figure><p>2.In the above screenshots, what is the name of the PDF attachment? — Payment-updateid.pdf</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*ae9ZRcEXUgH_UjL9wmISkw.png" /></figure><p>3.In the attached virtual machine, view the information in email2.txt and reconstruct the PDF using the base64 data. What is the text within the PDF?</p><p>We first open the email2.txt and remove all the data which is not base64</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/1*XjWhjphnddvQp4fE-rTV9Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*SmsGBtmiMmCwZsz7lu8KOg.png" /></figure><p>We copy all the base64 to clipboard and paste it in <a href="https://base64.guru/converter/decode/pdf">https://base64.guru/converter/decode/pdf</a> then convert to get the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bZDSWYlYoEuAyMpSjQgVVQ.png" /></figure><p><strong>Task 6: </strong>Types of Phishing<br>1.What trusted entity is this email masquerading as? — Home Depot</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/961/1*d8qs1u6s-R_CBlrqslxKVg.png" /></figure><p>We Decode the above text after removing the ?UTF-8?B? and ?= from beginning and end</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zqcbrorzzqC8vnDTZ3mw1w.png" /></figure><p>2.What is the sender’s email? — support@teckbe.com</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/965/1*KY9tHmuMqINrb1ovGhsvAg.png" /></figure><p>3.What is the subject line? — Order Placed : Your Order ID OD2321657089291 Placed Successfully</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/965/1*WakE_n7zbGgM2FDzRsdm7w.png" /></figure><p>Decrypt the Highlighted text as before</p><p>4.What is the URL link for — CLICK HERE? (Enter the defanged URL) — hxxp[://]t[.]teckbe[.]com/p/?j3=EOowFcEwFHl6EOAyFcoUFV=TVEchwFHlUFOo6lVTTDcATE7oUE7AUET==</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*WSnh8-xq9riatCsqX_PXXw.png" /></figure><p>Decrypt the highlighted text as before and run through Defang module available at <a href="https://gchq.github.io/CyberChef/#recipe=Defang_URL(true,true,true,&#39;Valid%20domains%20and%20full%20URLs&#39;)">Cyberchef</a></p><p><strong>Task 6: </strong>Conclusion<br>1.What is BEC? — Business Email Compromise</p><p>Thank you for reading. Follow me for more writeups and interesting content.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d7cd1489e88" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/phishing-emails-1-write-up-tryhackme-1d7cd1489e88">Phishing Emails 1 write-up (TryHackMe)</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kick-start your career in Cybersecurity Field with TryHackMe.com]]></title>
            <link>https://e11i0t.medium.com/kick-start-your-career-in-cybersecurity-field-with-tryhackme-com-746c9bd9a65e?source=rss-3a4370b7d035------2</link>
            <guid isPermaLink="false">https://medium.com/p/746c9bd9a65e</guid>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[hacking-training]]></category>
            <dc:creator><![CDATA[e11i0t]]></dc:creator>
            <pubDate>Tue, 06 Jul 2021 06:15:30 GMT</pubDate>
            <atom:updated>2021-07-06T06:15:30.701Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/824/0*Up9gvqqLTdB8YwGd.png" /></figure><p>In April 2020 I’ve got into hacking due to the pandemic as Everything in the world stopped running but not my spirit in learning new things like Hacking and this was made possible by a lot of CTFs and my beloved CTF team with whom I participated dozens of CTFs in 6 months span as my Undergrad studies were halted and the semester was cancelled. A lot of time was available to spare and during this time so I utilized it on CTFs and then I got introduced to TryHackMe where I was amazed to see the different fun ways of learning to hack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3-zeYNJzFKuvZg3F.png" /></figure><p>Recently they’ve introduced a Cybersecurity Fundamentals Path so out of curiosity I speed ran through all the content in an hour or so this refreshed my dusted brain and revived the knowledge buried I recommended this new <a href="https://tryhackme.com/path/outline/presecurity"><strong>Pre security path</strong></a> if you’re new to this field and want to learn from scratch. This is the opportunity to begin. this path covers all networking basics, web basics, Linux and Windows Fundamentals in an Interactive way</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T7VncQ6rVTLdpN-BxnIF1Q.png" /></figure><p>According to my experience, I’ve already recommended a lot of people who came to me asking which course was better in Udemy what would you choose to begin in hacking. My one-liner was to go and Sign up in <a href="https://tryhackme.com/signup?referrer=6334d6f34aa7ff0fbfbf1fba2e47a00bca49185c"><strong>TryHackMe</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5sFixXNcW4b15Ku5FX0pyg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YTNlo59hyrJ2IYVUuCaIcg.png" /><figcaption>Learning Paths</figcaption></figure><p>There are several learning paths for everyone in this field no matter who you are so go get started at <a href="https://tryhackme.com/signup?referrer=6334d6f34aa7ff0fbfbf1fba2e47a00bca49185c"><strong>TryHackMe</strong></a><strong> </strong>complete the new <strong>PreSecurity </strong>path and begin your journey in Cybersecurity</p><p>Join their discord community at: <a href="https://discord.gg/cG6UbM87">https://discord.gg/cG6UbM87</a></p><p>Happy Hacking…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=746c9bd9a65e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create your Private VPN access Server on Cloud Server using Open VPN]]></title>
            <link>https://e11i0t.medium.com/create-your-private-vpn-access-server-on-cloud-server-using-open-vpn-dd73d06d7c9?source=rss-3a4370b7d035------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd73d06d7c9</guid>
            <category><![CDATA[digitalocean]]></category>
            <category><![CDATA[vpn]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[openvpn-access-server]]></category>
            <dc:creator><![CDATA[e11i0t]]></dc:creator>
            <pubDate>Wed, 28 Oct 2020 10:16:38 GMT</pubDate>
            <atom:updated>2022-02-20T06:16:37.015Z</atom:updated>
            <content:encoded><![CDATA[<h3>Get your own VPN on cloud for Free!</h3><p>We all know that while we are studying we get free but restricted access on internet provided by our institutions and they take several measures of banning use of VPN services and proxies by blocking the sites and ports which we normally use for obfuscating our internet traffic. While lurking around marketplace in digital ocean I found a marketplace image and found out its so helpful as I get unrestricted access on my laptop and mobile. But Point to be noted is only 2 VPN connections are allowed per server .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/977/1*ycKCC9qI5BabtW9o5wLpUw.png" /><figcaption>Explanation of Open VPN on cloud servers</figcaption></figure><p>To get started Choose your preferred cloud platform every platform offers a free credit when you signup you can use that to create a server/droplet (DO) choose whatever size and features of the server as you can use the server anytime you want that means its not limited to openvpn use only .SSH into your server,get root privileges if you aren’t root already one easy way is by using sudo bash Its the easiest way to get root on Linux</p><p>Confirming you got root type in following commands to update your server and add openvpn official repository</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5d018e60edd415069a5a591cf6b30ed9/href">https://medium.com/media/5d018e60edd415069a5a591cf6b30ed9/href</a></iframe><p>This adds repository into sources.list and installs the Open VPN access server, the package updates whenever you run apt update or upgrade.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uRH_Cbm7-S73rbfh2CAesA.png" /></figure><p>After setting up you’ll need to do passwd openvpn and choose the do the password change as the same password will be used to access the admin GUI on internet</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/564/1*CPfl8Sd4YN8Ozn_EesHGtA.png" /></figure><p>Now using public IP of your server access the GUI like given below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gntiq9ZYhlFG-NVMhf6D8g.png" /></figure><p>Its noticeable few people cant access the portal at all that’s because you might not have a elastic IP address (The public IP remains same) few cloud providers give it as default like Digital ocean few doesn’t we need to activate it manually check out the documentation for the elastic IP in respective website for more details and after you login as admin you will see the accept terms and conditions scroll to the bottom right and then accept it so you’ll get into the admin settings here you can modify settings but to connect to the vpn you’ll need to login as a user to do this go to <a href="https://your-public-ip:943/">https://your-public-ip:943/</a> itll show a login screen login using same credentials it’ll show you the page where you can download the connection profile</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VJpAZvomqyPjbKwiwEOgKg.png" /></figure><p>Download the client and connection profile in your respective device and viola! you got your own private VPN access server as soon as you click on the connection profile in windows it’ll open up the openvpn connect app in windows and asks you to authorize the import after you can connect using the same password in linux you can use <br>sudo openvpn --config /path/to/config.ovpn</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*CSXk17P8e-15q5h5P_MYqA.png" /><figcaption>this is a screenshot where I connected to my college wifi with VPN</figcaption></figure><p>Put up comments if you need any help<br>Thanks for reading…..</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd73d06d7c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting UP WSL2 with Linux on Windows 10]]></title>
            <link>https://e11i0t.medium.com/setting-up-wsl2-with-linux-on-windows-10-7f0fe9310cf1?source=rss-3a4370b7d035------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f0fe9310cf1</guid>
            <dc:creator><![CDATA[e11i0t]]></dc:creator>
            <pubDate>Tue, 29 Sep 2020 12:54:22 GMT</pubDate>
            <atom:updated>2020-09-29T12:54:22.951Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mnLOu2nLeikpfzL66YRPiA.png" /></figure><p>First things first Check your Windows updates and if its too outdated update your windows then go to Optional Features in windows by clicking Win+X and selecting Apps and Features</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/262/1*DvhDZdzNOD9iDkVYehYOdw.png" /></figure><p>In the newly opened window select optional features option under Apps and features and select More windows Features option which will be available to the right side of your window then turn on both Virtual Machine Platform and Windows Subsystem for Linux and click on OK it will take some time to install after it completes restart the system windows will update</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/415/1*KMKO07tfCuLvz8p44Xi8hQ.png" /></figure><p>You can either do the above step to enable those features or just run these commands in Powershell as an Administrator</p><pre><strong>dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart</strong></pre><pre><strong>dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart</strong></pre><p>After completing the setup for WSL we now need to upgrade it to WSL2 the requirements are</p><ul><li>For x64 systems:<strong> Version 1903</strong> or higher, with<strong> Build 18362</strong> or higher.</li><li>For ARM64 systems: <strong>Version 2004</strong> or higher, with <strong>Build 19041 </strong>or higher.</li></ul><p>To check your windows version you can just type ver in command prompt</p><p>Now download the <strong>WSL2</strong> Linux kernel update package for x64 machines from <a href="https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi">here</a> run the update package you will be asked permissions grant them and update it</p><p>Now in your Powershell as Administrator run <br><strong>wsl --set-default-version 2</strong></p><p>Now open <a href="https://aka.ms/wslstore">Microsoft store</a> and choose your distribution of your choice after installing your required distribution and when you open it for the first time it will take a couple of minutes to be completely installed and then it will prompt you to enter your UNIX username and Password</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BNaB8tqU7Bav5QqKg_TloQ.png" /></figure><p>Hope this helped you :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f0fe9310cf1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>