<?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 Maloyroyorko on Medium]]></title>
        <description><![CDATA[Stories by Maloyroyorko on Medium]]></description>
        <link>https://medium.com/@maloyroyorko?source=rss-52cfc116aa37------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*yD6fhGpE0hrUdRleec_KFQ.jpeg</url>
            <title>Stories by Maloyroyorko on Medium</title>
            <link>https://medium.com/@maloyroyorko?source=rss-52cfc116aa37------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 18:37:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@maloyroyorko/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[TryHackMe Intermediate Nmap Challenge WriteUp]]></title>
            <link>https://medium.com/@maloyroyorko/tryhackme-intermediate-nmap-challenge-writeup-cf3623899b8e?source=rss-52cfc116aa37------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf3623899b8e</guid>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[thm-writeup]]></category>
            <category><![CDATA[ctf]]></category>
            <dc:creator><![CDATA[Maloyroyorko]]></dc:creator>
            <pubDate>Fri, 28 Aug 2026 16:48:11 GMT</pubDate>
            <atom:updated>2026-08-28T16:48:11.493Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Hey Everyone,</strong></p><p><strong>I am </strong><a href="https://www.websecurityinsights.my.id/p/maloy-roy-orko.html"><strong>Maloy Roy Orko</strong></a><strong> and today you will solve this Tryhackme challenge: </strong><a href="https://tryhackme.com/room/intermediatenmap"><strong>Intermediate Nmap</strong></a><strong> with me.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/0*2zBSLMb_hUN9G9Vd.png" /></figure><p><strong>Challenge Description:</strong></p><p>You’ve learned some great nmap skills! Now can you combine that with other skills with netcat and protocols, to log in to this machine and find the flag? This VM IP is listening on a high port, and if you connect to it it may give you some information you can use to connect to a lower port commonly used for remote access!</p><p>Access this challenge by deploying both the vulnerable machine by pressing the green “Start Lab Machine” button located within this task, and the TryHackMe AttackBox by pressing the “Start AttackBox” button located at the top-right of the page.</p><p>Use the AttackBox to scan the target IP!</p><p><strong>Solve Idea:</strong></p><p><strong>Step-1:</strong></p><ul><li><strong>First of all,the description says: vm ip is listening highest port.</strong></li><li><strong>Lets scan the ip using nmap?</strong></li><li><strong>Basic Scanning using Nmap: nmap 10.49.181.27</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/0*yieWJhUbOcLV3uCP.png" /></figure><p><strong>Step-2:</strong></p><ul><li><strong>As per the description,the VM is listening in the highest port,So lets get connected with it?</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/422/0*aJ45WzU6L22qRLi0.png" /></figure><ul><li><strong>So,I get connected with the VM and got User:Pass ubu***:**************************</strong></li></ul><p><strong>Step-3:</strong></p><p><strong>Now,I will find the flag traveling everywhere!</strong></p><ul><li><strong>pwd</strong></li><li><strong>ls -la</strong></li><li><strong>cd /home</strong></li><li><strong>ls</strong></li><li><strong>cd users</strong></li><li><strong>ls</strong></li><li><strong>cat flag.txt</strong></li></ul><p><strong>Flag found !!!!!!!!!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/0*ki40MJMXSs9PHyDZ.png" /></figure><p><strong>Final Flag: flag{***************************************}</strong></p><p><strong>Have a good day! Follow Web Security Insights</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf3623899b8e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTB Cyber Apocalypse 2026: Gatery (Web) Writeup]]></title>
            <link>https://medium.com/@maloyroyorko/htb-cyber-apocalypse-2026-gatery-web-writeup-c44fe34275dd?source=rss-52cfc116aa37------2</link>
            <guid isPermaLink="false">https://medium.com/p/c44fe34275dd</guid>
            <category><![CDATA[web-security-testing]]></category>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Maloyroyorko]]></dc:creator>
            <pubDate>Fri, 31 Jul 2026 16:00:01 GMT</pubDate>
            <atom:updated>2026-07-31T16:00:01.857Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>HTB Cyber Apocalypse 2026: Gatery (Web) Writeup By Maloy Roy Orko</strong></p><p><strong>I played this international CTF with my team EWU_ROOTX where we achieved 164th rank.</strong></p><p><strong>Well,lets talk about how I hacked into the system and discovered the flag??</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MzRAW-woZ02Xz_7aFZS43A.png" /></figure><p><strong>Honestly,the challenge included the application source code and I deem it was entirely a mix of both SAST and DAST skills.So,I went through all the source files and I saw api endpoints were entirely disclosed like api/flag was totally exposed and it was an existing one when I manually approached this endpoint and I saw it was checking something.</strong></p><p><strong>Interestingly,in source codes,I saw this endpoint was expecting one cookie:</strong></p><blockquote><strong>Cookie: session=inside</strong></blockquote><p><strong>This indicated that the application relied on a simple session value rather than a signed token or server-managed session.</strong></p><p><strong>At first,I sent a get request to api/flag but this time,I sent a POST request:</strong></p><p><strong>Well,you can see the format in the screenshot!</strong></p><blockquote><strong>POST /api/flag HTTP/1.1</strong></blockquote><blockquote><strong>Host: &lt;target&gt;</strong></blockquote><blockquote><strong>Cookie: session=inside</strong></blockquote><blockquote><strong>Content-Type: application/json</strong></blockquote><p><strong>The route returned the flag when accessed with the expected session cookie.</strong></p><p><strong>Response by Server:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WLbwkspMdvA7Puv9E5ONWQ.png" /></figure><p><strong>The server responded successfully:</strong></p><blockquote><strong>{</strong></blockquote><blockquote><strong>“ok”: true,</strong></blockquote><blockquote><strong>“flag”: “&lt;REDACTED_FLAG&gt;”</strong></blockquote><blockquote><strong>}</strong></blockquote><p><strong>This confirmed that the endpoint was directly accessible once the expected session cookie was supplied.</strong></p><p><strong>Well,the application exposed a sensitive endpoint (POST /api/flag) without enforcing proper authorization and as the required session value (session=inside) was discoverable from the provided source code, anyone reviewing the code could reproduce the request and obtain the flag.</strong></p><p><strong>So,at the end I was very happy to contribute in this CTF to our team EWUCSC_ROOTX.</strong></p><p><strong>Hats off Team EWUCSC_ROOTX</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c44fe34275dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Back to basics: Writing code in pure C.]]></title>
            <link>https://medium.com/@maloyroyorko/back-to-basics-writing-code-in-pure-c-34c862c471a6?source=rss-52cfc116aa37------2</link>
            <guid isPermaLink="false">https://medium.com/p/34c862c471a6</guid>
            <category><![CDATA[c-programming]]></category>
            <category><![CDATA[buffer-overflow]]></category>
            <category><![CDATA[fundamentals]]></category>
            <dc:creator><![CDATA[Maloyroyorko]]></dc:creator>
            <pubDate>Tue, 02 Jun 2026 05:01:47 GMT</pubDate>
            <atom:updated>2026-06-02T05:01:47.554Z</atom:updated>
            <content:encoded><![CDATA[<p>I recently made a simple Contact Management System in C to practice working with files and basic input and the buffer overflow protection.</p><p>While the idea is very easy and common,I focused on making sure my code was good and did not have the mistakes that often cause problems and crashes and specially infinite loops in terminal applications.Well,I ensured:</p><p>a user interface that does not crash.</p><p>buffer is entirely clean.</p><p>larger files loading without any high consumption of resources.</p><p>protection against buffer overflow.</p><p>You can check out the repository and the layout of the README here! 👇</p><p><a href="https://github.com/Maloyroyorko/Contact-Management-System">https://github.com/Maloyroyorko/Contact-Management-System</a></p><p>It is a project but it was a great way to focus on writing clean and strong code from the start.</p><p>[1]</p><blockquote>char option=’0&#39;;</blockquote><blockquote>do{</blockquote><blockquote>printf(“Choose Your Option:\n”);</blockquote><blockquote>printf(“[1] Add Contact\n”);</blockquote><blockquote>printf(“[2] Show All Contacts\n”);</blockquote><blockquote>printf(“[3] Exit from this Program\n”);</blockquote><blockquote>printf(“Enter Your Option:\n”);</blockquote><blockquote>scanf(“ %c”,&amp;option);</blockquote><p>At first,I placed char in front of option instead of int as if I wrote int,the code (scanf(“ %d”,&amp;option);) will look for integer and as it will get character like: a and it will fail to get and leave it in keyboaard buffer.So,the next loop iteration will take that a again and an infinite loop will run.So,I added char with a space before it to format the buffer of \n</p><p>[2]</p><blockquote>int ch;</blockquote><blockquote>while((ch =fgetc(contact)) != EOF){putchar(ch);</blockquote><p>Secondly,I wrote int before ch,As I am getting character by character here using fgetc() and running the loop until I find EOF(-1 ~ 32 bit binary).Then,I am printing it using putchar() via Translation Mechanism.</p><p>So,in case I used char instead of int,as char ch is an unsigned variable which can’t store negative numbers via 2’s complement due to memory shotage of 8,it will store 8 bits and the infinite loop will run as it will be 255 instead of -1.</p><p>Here,as I am reading character by character so we don’t need a larger resource consumption.</p><p>[3]</p><blockquote>char email[60];</blockquote><blockquote>printf(“Enter your email:”);</blockquote><blockquote>scanf(“ %59[^\n]”,email);</blockquote><p>Here,I set a limit of 59 which will protect me against buffer overflow and the space before the format specifier will format any leftover \n or buffer and [^\n] so that I can write even using space as %s usually stops reading after a space.</p><p>Hope,you learnt something today|Wish me good luck for my <strong>APPSEC Engineer</strong> Journey</p><p>#CProgramming #SoftwareEngineering #CleanCode #ProgrammingFundamentals #GitHub</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*221aTVUg4oBbk3l6MDPGSw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34c862c471a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hello! I’m Maloy Roy Orko !]]></title>
            <link>https://medium.com/@maloyroyorko/hello-im-maloy-roy-orko-971e5924ba0f?source=rss-52cfc116aa37------2</link>
            <guid isPermaLink="false">https://medium.com/p/971e5924ba0f</guid>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Maloyroyorko]]></dc:creator>
            <pubDate>Sat, 21 Sep 2024 14:12:52 GMT</pubDate>
            <atom:updated>2024-09-21T14:15:40.446Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*dV5ZJz0HYbkMYh6el3CVpw.png" /></figure><p>Hello! I’m Maloy Roy Orko !</p><blockquote>An aspiring cyber security researcher with a passion for protecting our digital world.</blockquote><p>My journey into cyber security began on 2019 when i found interests in “Hacking”.</p><blockquote>I’m particularly fascinated by web security and ethical hacking. My goal is to work with organizations to strengthen their security protocols and develop innovative solutions to combat cyber threats.</blockquote><p>I believe that understanding the mind of an attacker is crucial for defense.</p><blockquote>Through my Medium posts, I aim to share insights, research findings, and practical advice that can help others navigate the complex world of cybersecurity. I’m committed to educating and empowering individuals to protect themselves online, as I believe knowledge is the first line of defense.</blockquote><p>When I’m not diving into cyber security, you can find me making videos,spending times with family or experimenting with coding projects. I’m always eager to learn and connect with others in the field, so feel free to reach out or follow my journey!</p><p>Connect with me on:</p><p>Facebook ID :</p><p><a href="https://www.facebook.com/profile.php?id=61560337411578">https://www.facebook.com/profile.php?id=61560337411578</a></p><p>Facebook Page : <a href="https://www.facebook.com/profile.php?id=61564437535634">https://www.facebook.com/profile.php?id=61564437535634</a></p><p>Twitter : <a href="https://x.com/Maloyroyorko/">https://x.com/Maloyroyorko/</a></p><p>Github : <a href="https://github.com/Maloyroyorko/">https://github.com/Maloyroyorko/</a></p><p>Instagram :</p><p><a href="https://www.instagram.com/Maloyroyarko/">https://www.instagram.com/Maloyroyarko/</a></p><p>LinkedIn : <a href="https://www.linkedin.com/in/maloyroyorko">https://www.linkedin.com/in/maloyroyorko</a>/</p><p>YouTube: <a href="https://youtube.com/@maloyroyorko">https://youtube.com/@maloyroyorko</a></p><p>Blogger :</p><p><a href="https://maloyroyorko.blogspot.com/">https://maloyroyorko.blogspot.com</a></p><p>Thank you for visiting my page!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=971e5924ba0f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>