<?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 rcspell on Medium]]></title>
        <description><![CDATA[Stories by rcspell on Medium]]></description>
        <link>https://medium.com/@rcspell?source=rss-0712332fe99d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*nK-0CeOvXkQizoae4GDeZQ.png</url>
            <title>Stories by rcspell on Medium</title>
            <link>https://medium.com/@rcspell?source=rss-0712332fe99d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 11:21:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rcspell/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[My Interview Experience for VAPT at Delhivery — From LinkedIn to Selection ]]></title>
            <link>https://medium.com/@rcspell/my-interview-experience-for-vapt-at-delhivery-from-linkedin-to-selection-0dad656cfecb?source=rss-0712332fe99d------2</link>
            <guid isPermaLink="false">https://medium.com/p/0dad656cfecb</guid>
            <category><![CDATA[vapt-interview-question]]></category>
            <category><![CDATA[cybersecurity-interview]]></category>
            <category><![CDATA[delhivery]]></category>
            <category><![CDATA[owasp]]></category>
            <dc:creator><![CDATA[rcspell]]></dc:creator>
            <pubDate>Thu, 15 Jan 2026 12:42:11 GMT</pubDate>
            <atom:updated>2026-01-15T12:42:11.647Z</atom:updated>
            <content:encoded><![CDATA[<h3>My Interview Experience for VAPT at Delhivery — From LinkedIn to Selection 🔥</h3><p>After giving multiple interviews in cybersecurity, one thing I’ve realized is that <strong>every company interviews differently</strong>.<br>This blog is about my <strong>VAPT interview experience at Delhivery</strong>, which turned out to be surprisingly smooth and positive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2BG5K4oZ1sOb76yx.png" /></figure><h4><strong>How I Applied</strong></h4><p>I applied through <strong>LinkedIn</strong>.</p><p>Delhivery had openings for multiple roles:</p><ul><li>VAPT / SOC / Cloud Security / DevSecOps</li></ul><p>I applied specifically for the <strong>VAPT role</strong>, but I also mentioned my <strong>interest in Cloud and DevSecOps</strong>, as I’m actively learning in that direction.</p><p>After a few days, I received a <strong>call from HR</strong>, and my interview was scheduled <strong>2 days later</strong>.</p><h4>The Interview Setup</h4><ul><li>Mode: Virtual</li><li>Duration: ~30–40 minutes</li><li>Rounds expected (as told by HR): <strong>2 rounds after resume shortlisting</strong></li></ul><p>With that in mind, I joined the interview prepared for both technical depth and discussion around my resume.</p><h4>Interview Experience — Resume Driven</h4><p>The interview started with some <strong>general questions</strong>:</p><ul><li>Self-introduction</li><li>Previous internship experience</li><li>Projects I’ve worked on</li></ul><p>Since a few of my projects had <strong>cloud and DevOps references</strong>, the interviewer asked me questions related to those.</p><h4>Cloud &amp; Security Questions</h4><p>They asked:</p><ul><li>How I understand <strong>cloud security</strong></li><li>How security differs in cloud environments</li></ul><p>I didn’t know answers to everything — and instead of guessing, I was <strong>honest</strong>.</p><p>I clearly told them:</p><blockquote><em>“I have basic understanding, but I’ll need to explore this more.”</em></blockquote><p>Surprisingly, that honesty worked in my favor.</p><h4>Core VAPT Questions</h4><p>Most of the discussion then shifted to <strong>VAPT fundamentals</strong>, including:</p><ul><li>Explaining <strong>XSS</strong> and <strong>CSRF</strong></li><li>Bugs I had found earlier</li><li>How I identified those vulnerabilities</li><li>My approach during testing</li></ul><p>They also asked in detail about:</p><ul><li>Projects I worked on during my <strong>previous internship</strong></li><li>My role and contribution in those projects</li></ul><p>The conversation felt more like a <strong>discussion</strong> than an interrogation, which made it comfortable.</p><h4>End of Interview (The Usual Line)</h4><p>After around <strong>30–40 minutes</strong>, the interview ended.</p><p>Just like most interviews, I heard the classic line:</p><blockquote><em>“HR will inform you about the feedback and next steps.”</em></blockquote><p>At this point, I assumed there would be another round.</p><h4>Unexpected Twist — No Second Round</h4><p>Initially, HR had told me there would be <strong>two rounds</strong>.</p><p>However, after <strong>a week or more</strong>, I received another call — not for an interview, but to ask about my <strong>current location</strong>.</p><p>It felt like they were checking <strong>travel feasibility</strong>, which honestly made sense.</p><p>Since my location worked well for them, the very <strong>next day</strong>, I received a call saying:</p><p>👉 <strong>I was selected</strong><br> 👉 <strong>No second round was required</strong></p><p>That was a really pleasant surprise.</p><h4>What I Learned (Tips for Freshers)</h4><p>If you’re preparing for <strong>VAPT interviews</strong>, especially at companies like Delhivery, here’s what helped me:</p><ul><li>✅ Be <strong>thorough with your resume</strong><br> Anything you write can and will be questioned</li><li>✅ Revise <strong>web application vulnerabilities</strong><br> Especially XSS, CSRF, and how to explain them clearly</li><li>✅ Be <strong>honest</strong> if you don’t know something<br> Guessing hurts more than admitting limited knowledge</li><li>✅ Be ready to explain <strong>how you found bugs</strong>, not just definitions</li></ul><h4>Final Thoughts</h4><p>The Delhivery interview experience was:</p><ul><li>Professional</li><li>Resume-focused</li><li>Comfortable</li><li>Practical</li></ul><p>It felt like they genuinely wanted to understand <strong>how I think</strong>, not just what I’ve memorized.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0dad656cfecb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Physics Wallah (PW) VAPT Interview Experience — A Fresher’s Story]]></title>
            <link>https://medium.com/@rcspell/physics-wallah-pw-vapt-interview-experience-a-freshers-story-24ddf4ccd1eb?source=rss-0712332fe99d------2</link>
            <guid isPermaLink="false">https://medium.com/p/24ddf4ccd1eb</guid>
            <category><![CDATA[physics-wallah]]></category>
            <category><![CDATA[cybersecurity-interview]]></category>
            <category><![CDATA[owasp-top-10]]></category>
            <category><![CDATA[vapt]]></category>
            <category><![CDATA[freshers]]></category>
            <dc:creator><![CDATA[rcspell]]></dc:creator>
            <pubDate>Sat, 20 Dec 2025 15:37:04 GMT</pubDate>
            <atom:updated>2025-12-29T12:26:39.449Z</atom:updated>
            <content:encoded><![CDATA[<h3>My Interview Experience for VAPT at PW (PhysicsWallah) — A Fresher’s Story 🔥</h3><p>If you’re a <strong>cybersecurity fresher</strong> looking for <strong>VAPT roles</strong>, this blog might help you.<br>Here’s my complete <strong>Physics Wallah (PW) VAPT interview experience</strong>, from application to waiting for results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yDQ9XaQ2dNHhWaInPtwWOg.png" /></figure><h4>How It All Started</h4><p>Like most cybersecurity opportunities, this one also started on <strong>LinkedIn</strong>.</p><p><em>I saw a post from </em><strong><em>PW’s HR team</em></strong><em> mentioning openings for </em><strong><em>SOC and VAPT roles</em></strong><em>. The best part?<br> 👉It was open for </em><strong><em>freshers, final-year students, and recent graduates</em></strong><em>.</em></p><p>Without thinking twice, I filled out the <strong>Google Form</strong> for the <strong>VAPT role</strong>, uploaded my resume, and hoped for the best.</p><h4><strong>1) Resume Shortlisted (Faster Than Expected)</strong></h4><p>Surprisingly, on the <strong>same day evening</strong>, I received an email saying my <strong>resume was shortlisted</strong>.</p><p>At this point, excitement kicked in but I also knew the real test was coming.</p><h4>2) VAPT Assessment &amp; Report Submission</h4><p>The email contained the <strong>VAPT assessment</strong>.</p><p>The labs were <strong>CTF-style</strong>, similar to platforms like <strong>DVWA.</strong></p><ul><li>The difficulty level was <strong>easy to medium</strong></li><li>If you have practiced on platforms like <strong>PortSwigger, PentesterLab, or CTFs</strong>, this part should be manageable</li></ul><blockquote><strong>Vulnerabilities Covered: </strong>XSS, SQLi, CSRF, SSTI, Rate limiting, IDOR, Command Injection, XXE, File Inclusion, Unrestricted file upload, Insecure Deserialization, Broken Authentication, API hacking, Captcha Bypass and Path Traversal.</blockquote><p>Each category had <strong>3–8 labs, </strong>Although the labs themselves were not very difficult, the <strong>quantity was quite large</strong>, and the <strong>deadline was only 3 days</strong>.</p><p>Luckily, I had a college break at that time, so I practically lived inside Burp Suite for those 3 days 😅.</p><p><strong>Report Submission: </strong>PW didn’t just want flags.<br>They wanted a <strong>proper VAPT report</strong>, including:</p><ul><li>Proof of Concept (PoC)</li><li>CVSS score</li><li>Impact</li><li>Mitigation</li></ul><p>I submitted a <strong>detailed report</strong>, hoping it would stand out.</p><h4>3) Technical Interview — Finally Face to Face</h4><p>On the <strong>same evening</strong> I submitted my report, I got a call from HR.</p><p><strong>Good news:</strong><br> 👉 I was shortlisted for the <strong>technical interview</strong>, scheduled for the <strong>very next day</strong>.</p><ul><li>Platform: Google Meet</li><li>Duration: ~30 minutes</li></ul><p><strong>What They Asked:</strong></p><ul><li>Introduction</li><li>OWASP Top 10</li><li>Common web vulnerabilities</li><li>Mitigation techniques</li><li>CSP (Content Security Policy)</li><li>Nmap</li><li>Scenario-based questions (like ransomware response)</li></ul><p>The interview felt <strong>smooth and engaging</strong>.</p><p>At the end, I asked for feedback. The interviewer said I did <strong>well</strong> and mentioned he would forward my name to HR for the next round.</p><p>That felt reassuring.</p><h4>4) Techno-Managerial Round — Short and Confusing</h4><p>The <strong>very next day</strong>, HR called to schedule the <strong>techno-managerial round</strong> for the same evening.</p><p>Honestly, I expected some managerial or behavioural questions — but it turned out to be <strong>mostly technical</strong>, similar to the previous round. Similar questions were asked, I did well from my side.</p><p>A few things felt off:</p><ul><li>The interviewer joined <strong>late</strong> (they were in another meeting)</li><li>The interview was supposed to be <strong>30 minutes</strong></li><li>However, It ended in <strong>about 10 minutes</strong></li></ul><p>The interviewer seemed <strong>less interested</strong>, which made me a bit uneasy.</p><p>When I asked for feedback:</p><blockquote>“HR will tell you.”</blockquote><p>When I asked about the result timeline:</p><blockquote>“HR will tell you.”</blockquote><p>And… that was it.</p><h4><strong>Waiting Phase (The Hardest Part)</strong></h4><p>It’s been <strong>2 days</strong> since that round.</p><p>I’ve already <strong>messaged the HR for update</strong>, but there’s <strong>no response yet</strong>.</p><p>Now comes the most relatable phase of every fresher’s journey:</p><ul><li>Refreshing inbox 📧</li><li>Overthinking every interview answer</li><li>Wondering whether I’ll get an update or get ghosted!</li></ul><p>I’ll update this blog once I hear back.</p><blockquote>EDITING: So here I am! <br>Congrats! I heard back from HR. Soon I will be receiving an offer letter</blockquote><h4>Final Thoughts</h4><ul><li>The <strong>VAPT assessment</strong> was genuinely good and practical</li><li>The <strong>technical interview</strong> tested real concepts</li><li>The <strong>final round felt rushed</strong>, but that happens sometimes, why this time!</li></ul><p>Regardless of the outcome, it was a <strong>great learning experience</strong> and gave me confidence in my VAPT skills.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24ddf4ccd1eb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Defhawk Templates CTF Writeup]]></title>
            <link>https://medium.com/@rcspell/defhawk-templates-ctf-writeup-486a2d1a91fc?source=rss-0712332fe99d------2</link>
            <guid isPermaLink="false">https://medium.com/p/486a2d1a91fc</guid>
            <dc:creator><![CDATA[rcspell]]></dc:creator>
            <pubDate>Wed, 11 Jun 2025 18:55:23 GMT</pubDate>
            <atom:updated>2025-06-11T18:55:23.273Z</atom:updated>
            <content:encoded><![CDATA[<p>Link to Writeup: <a href="https://github.com/ChhaviRohilla/Defhawk-Templates-CTF-Writeup">https://github.com/ChhaviRohilla/Defhawk-Templates-CTF-Writeup</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IskovsWyMXwUBoUTKaLp7w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=486a2d1a91fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[⚡ CACHING vs  COOKIES]]></title>
            <link>https://medium.com/@rcspell/caching-vs-cookies-10ad45c2afde?source=rss-0712332fe99d------2</link>
            <guid isPermaLink="false">https://medium.com/p/10ad45c2afde</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[caching]]></category>
            <category><![CDATA[computer-networking]]></category>
            <category><![CDATA[cookies]]></category>
            <dc:creator><![CDATA[rcspell]]></dc:creator>
            <pubDate>Tue, 20 May 2025 18:01:58 GMT</pubDate>
            <atom:updated>2025-05-20T18:01:58.745Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Do you too often get confused between Caching and Cookies? </strong>No worries — this is a <strong>very common confusion. </strong>Read till the end of this article to clear out your confusion.</p><p>So basically<strong> Caching</strong> is storing data temporarily on server to serve future requests faster whereas <strong>Cookies</strong> are small key-value data stored in the user’s browser.</p><p>Ohhh, still confused? Go through the following differences</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cUq9zhLrJg1SkqLjO0V62Q.png" /></figure><p>Still confused? Lets understand this through an example</p><h3>✅ Example of Caching</h3><p>A “product list API” is cached on the server so that repeated user requests don’t hit the database every time. It is done in order to reduce the load on database by temporarily storing the frequently requested files like API, images etc. on a server only. Thus better speed up performance.</p><h3>✅ Example of Cookies</h3><p>A login token is stored as a cookie in the browser after a user logs in. It is done in order to keep user logged in when he visit the site next time. Cookie can also contain user preferences to improve user interface and interaction with webpage</p><h3>Simple Analogy:</h3><ul><li><strong>Caching</strong> = like saving a <strong>copy of a textbook</strong> so you don’t have to go to the library every time.</li><li><strong>Cookies</strong> = like putting a <strong>sticky note on your laptop</strong> saying “User is logged in.”</li></ul><p>Hope this article have cleared your doubt to an extent!</p><p>Happy Learning :)<br>Follow for more! Have a nice day :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10ad45c2afde" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Searchsploit vs Search command in Metasploit]]></title>
            <link>https://medium.com/@rcspell/searchsploit-vs-search-command-in-metasploit-90b19d118938?source=rss-0712332fe99d------2</link>
            <guid isPermaLink="false">https://medium.com/p/90b19d118938</guid>
            <dc:creator><![CDATA[rcspell]]></dc:creator>
            <pubDate>Sat, 24 Aug 2024 18:51:27 GMT</pubDate>
            <atom:updated>2024-08-24T18:51:27.312Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://medium.com/@rohillachhavi12/you-might-have-never-understood-the-osi-model-this-way-2b3d234c5bac?source=your_stories_page-------------------------------------">My article is open to all; non-members feel free to click</a></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*LVDzsuGv_l9rb-MsieoROQ.png" /></figure><p><strong>1. Searchsploit</strong></p><ul><li><strong>Context</strong>: Command-line tool outside Metasploit.</li><li><strong>Purpose</strong>: Searches the local Exploit Database (Exploit-DB) for exploits and vulnerabilities related to the software or services you specify.</li><li><strong>Usage</strong>:</li></ul><p><em>searchsploit &lt;keyword&gt;</em></p><p>Example:</p><p><em>searchsploit apache</em></p><p><strong>Features:</strong></p><ul><li>Allows you to find exploits and proof-of-concept code from the Exploit-DB repository.</li><li>Provides local access to Exploit-DB without needing an internet connection.</li><li>Shows details like the type of exploit, platform, and file path.</li></ul><p><strong>2. Search (in Metasploit)</strong></p><ul><li><strong>Context</strong>: Used within the Metasploit Framework (msfconsole).</li><li><strong>Purpose</strong>: Searches Metasploit’s own database for modules (exploits, payloads, auxiliary modules, etc.) related to the keyword you specify.</li><li><strong>Usage</strong>:</li></ul><p><em>search &lt;keyword&gt;</em></p><p>Example:</p><p><strong><em>search apache</em></strong></p><p><strong>Features</strong>:</p><ul><li>Allows you to directly find and use Metasploit modules related to vulnerabilities.</li><li>Provides an easy way to integrate found exploits into Metasploit workflows.</li><li>Supports advanced search features like searching by CVE, author, and platform.</li></ul><p>Clap for support and Follow for more :)</p><p>Have a nice day ❤</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90b19d118938" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Notes on Using Metasploit]]></title>
            <link>https://medium.com/@rcspell/notes-on-using-metasploit-3802b33b5204?source=rss-0712332fe99d------2</link>
            <guid isPermaLink="false">https://medium.com/p/3802b33b5204</guid>
            <dc:creator><![CDATA[rcspell]]></dc:creator>
            <pubDate>Sat, 24 Aug 2024 18:45:32 GMT</pubDate>
            <atom:updated>2024-08-24T18:45:32.899Z</atom:updated>
            <content:encoded><![CDATA[<p>If you too get confused in how to start with Metasploit framework it is for you!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*LVDzsuGv_l9rb-MsieoROQ.png" /></figure><p><strong>1. Reconnaissance</strong></p><p>Before using Metasploit, gather information about the target:</p><ul><li>Use tools like <strong>nmap </strong>to scan for open ports and services.</li><li>Use<strong> whois</strong>, <strong>dig</strong>, and<strong> nslookup</strong> for domain information.</li><li>Identify possible vulnerabilities using tools like <strong>Nessus </strong>or <strong>OpenVAS</strong>.</li></ul><p><strong>2. Finding Vulnerabilities</strong></p><ul><li>Use <strong>searchsploit</strong> to find vulnerabilities related to the software and services identified.</li><li>In Metasploit, use the <strong>search</strong> command to look for related exploits.</li></ul><p><strong>3. Selecting and Configuring Exploits</strong></p><ul><li>After selecting an exploit with <strong>use</strong>, configure it by setting required options like <strong>RHOST</strong>, <strong>LHOST</strong>, and <strong>PAYLOAD</strong>.</li><li>Use <strong>show targets</strong> to see available targets if the exploit supports multiple ones.</li></ul><p><strong>4. Exploitation</strong></p><ul><li>Once configured, launch the exploit using the <strong>exploit</strong> command.</li><li>If the exploit is successful, it will provide you with a session (like a Meterpreter shell).</li></ul><p><strong>5. Post-Exploitation</strong></p><ul><li>Explore the target system with commands like <strong>sysinfo</strong>, <strong>ps</strong>, and <strong>hashdump</strong>.</li><li>Maintain access by adding a user or using persistence scripts.</li></ul><p><strong>6. Cleanup</strong></p><ul><li>After the session, ensure you clean up by removing any traces of your presence (e.g., deleting logs, closing sessions).</li></ul><p><strong>7. Reporting</strong></p><ul><li>Document the vulnerabilities found and the steps taken to exploit them.</li><li>Provide mitigation recommendations for each vulnerability.</li></ul><p>Clap to support and Follow for more:)<br>Have a nice day ❤</p><p>Provide mitigation recommendations for each vulnerability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3802b33b5204" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You might have never understood the OSI Model this way.]]></title>
            <link>https://medium.com/@rcspell/you-might-have-never-understood-the-osi-model-this-way-2b3d234c5bac?source=rss-0712332fe99d------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b3d234c5bac</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[rcspell]]></dc:creator>
            <pubDate>Mon, 05 Aug 2024 07:28:17 GMT</pubDate>
            <atom:updated>2024-08-05T07:28:17.902Z</atom:updated>
            <content:encoded><![CDATA[<h4>My article is open to all; non-members feel free to click</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ueQMBnDo5aflvAXDF6tA8g.png" /></figure><p>The Open System Interconnection (OSI) Model is a standard for <strong>how data should be transferred between devices</strong> in a network. It is standardized by ISO. It has 7 layers/steps which are:</p><p><strong>1. Application layer<br>2. Presentation layer<br>3. Session layer<br>4. Transport layer<br>5. Network layer<br>6. Datalink layer<br>7. Physical layer</strong></p><p>When data is transferred from a device, it goes down the layers from the Application layer to the Physical layer. And when data is received by the device, it goes up the layers from the Physical layer to the Application layer.</p><blockquote>Each layer is a package of protocols, which can be understood as instructions or rules set based on the type of data being transferred, such as a file, email, or web content.</blockquote><p><strong>But why these many layers?</strong> To answer that, you need to understand that various factors must be considered during data transmission, such as security, data compression for faster exchange, error handling, locating device IPs and MAC addresses, and the media through which data is transmitted. These layers are formed based on these tasks.</p><p>Without further ado, let’s dive into these layers:</p><p><strong>Application Layer:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2VWaibXQD-ftBX3Die7Pkg.png" /></figure><p>It is the closest layer to your raw data and the application generating the data. For network applications (applications that use the internet like browsers and social media web apps), the main functions include <strong>file transferring, web surfing, email, and establishing a virtual terminal.</strong> The Application layer provides user interfaces, services, and different sets of protocols to these applications so that they can perform desired activities. These protocols are known as Application layer protocols.</p><p><strong>Presentation Layer:</strong></p><p>It receives text data from the Application layer. It has three major roles:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b70RXwGof_xQ_vA2jhFYoQ.png" /></figure><ol><li><strong>Translation: </strong>The data received from the Application layer is converted into binary so that computing devices can understand it.</li><li><strong>Data Compression:</strong> The size of the converted data is reduced to ensure fast exchange. It can be lossy, where some non-required data is ignored, or lossless, where only the size is reduced, not the information.</li><li><strong>Encryption:</strong> Data is converted into ciphertext (unreadable data) to protect its confidentiality. The SSL protocol is used.</li></ol><p><strong>Session Layer:</strong></p><p>For data transfer between devices, there is a need to establish a session. A session can be understood as a temporary connection between two devices. Only during the session can devices exchange data.</p><p>The Session layer establishes or terminates the channel/session between devices.</p><p><strong>How is a session established?</strong></p><ol><li>A device sends a session request to another device.</li><li>The other device asks for authentication and authorization.</li><li>Only then is a connection established, and data transfer can happen.</li></ol><p><strong>Terms:</strong></p><ul><li><strong>Authentication:</strong> Authentication means verifying that the other party is who they claim to be.</li><li><strong>Authorization:</strong> Authorization means determining what the other party is authorized/allowed to do, such as whether they are allowed to transfer data, and if so, what kind of files and other permissions.</li></ul><p>The Session layer uses APIs like NetBIOS to allow devices to communicate. In addition, the Session layer also keeps track of the data being transferred and shared, including the types of files (text, images, etc.) and storing them in the desired folder on the device. This is called <strong>session management.</strong></p><p><strong>Transport Layer:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k7x2EIu5PYzpR1cbVcH93Q.png" /></figure><p>Once the data is extracted and converted to the desired format and a session is established to let devices communicate, there are a few steps to follow to ensure the reliability of the data being transferred. The Transport layer controls reliable communication through segmentation, flow control, and error handling.</p><p>By reliability, we mean that the data is transferred in the correct sequence, to the correct application, and without any loss.</p><p><strong>Segmentation:</strong> The data to be transferred is first divided into segments called data units. Smaller data units are easier to handle and recover in case of error or loss. Each data unit contains a sequential number, which helps to reassemble the data correctly, and a port number to direct each data unit to the correct application.</p><p><strong>Flow Control:</strong> This refers to the amount of data being transferred between devices per unit of time. Devices may have different processing power; therefore, there is a need to ensure that all the devices communicating are compatible in terms of the speed of data transmission and processing. Flow control allows devices to tell each other to increase or decrease the speed of data transmission to prevent data loss during transmission.</p><p><strong>Error Control:</strong> If any data is found missing, the device requests retransmission. This is an automatic repeat request (ARQ), where the sequential number is used to check for missing data.</p><p>Protocols used in this layer are TCP and UDP.</p><p><strong>Network Layer:</strong></p><p>Once the data is segmented and prepared with sequence and port numbers, i.e., data units, these data units need to be converted into packets. Packets contain information about the IP addresses of both the sending and receiving devices along with the data unit. This is called logical addressing. The Network layer also helps in determining the best path for data transmission through routing. The protocol used here is IP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tBy9h92MWauTzLr3RZTVCw.png" /></figure><p><strong>Data Link Layer:</strong></p><p>After logical addressing, there is physical addressing. MAC addresses of the sender and recipient devices are added to the packet to ensure only the intended device receives the data. The Data Link layer is embedded as software in the Network Interface Card (NIC). It provides a means to transfer data via local media, where media refers to the physical connection, either through wire or air.</p><p><strong>Physical Layer:</strong></p><p>The binary transformed data is converted into the necessary signal based on the media used for data transmission.</p><ul><li>For cable/wire media, an electric signal is formed.</li><li>For light media, an optical signal is formed.</li><li>For air media, a radio signal is formed.</li></ul><p>The first three layers discussed are called software layers. The Transport layer is considered the heart of the OSI model because it is where data becomes ready for transmission over the network. The last three layers are known as hardware layers.</p><p>In case of doubts, put them down in comments and follow for more!</p><p>Have a nice day :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b3d234c5bac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[API and Postman]]></title>
            <link>https://medium.com/@rcspell/api-and-postman-68a54c969a49?source=rss-0712332fe99d------2</link>
            <guid isPermaLink="false">https://medium.com/p/68a54c969a49</guid>
            <category><![CDATA[postman]]></category>
            <category><![CDATA[eduaction]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[rcspell]]></dc:creator>
            <pubDate>Tue, 30 Jul 2024 14:02:38 GMT</pubDate>
            <atom:updated>2024-07-30T14:02:38.432Z</atom:updated>
            <content:encoded><![CDATA[<h4>My article is open to all; non-members feel free to click</h4><p>Let’s have an overview about API and the Postman.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*_iULMbxmS_M8Re27aZxr0g.png" /><figcaption>img ref: <a href="https://dev.to/mmarinez20/what-are-apis-and-how-can-they-enhance-your-testing-5bmo">dev.to</a></figcaption></figure><p><strong>What’s an API? </strong>Application Programming Interface (API) allow sharing resources and services across applications, organizations, and devices.<br><strong>API are waiter between client/customer and server/cook. Take dishes/services from cook/server to customer/client.</strong><br>Like: payment through website! weather on a mobile app! Google Maps inside another app! these all are because of API</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*MDL-EXL6TlrULFwuWzYiGw.png" /><figcaption>img ref: <a href="https://blog.openapihub.com/en-us/what-is-an-api-and-what-does-it-do/">blog.openapihub.com</a></figcaption></figure><p><strong>1) Why important?</strong><br> —&gt; integrate exciting features<br> — &gt; build automation</p><p><strong>2) Now what’s Postman?</strong><br>Postman is an <strong>API platform for building and using APIs</strong>. It has an edge when it comes to collaboration and sharing.<br>Postman shows the response with <strong>clean indents</strong> and <strong>colors</strong> and allows you to <strong>save</strong>, <strong>organize</strong> and <strong>share your requests</strong>. You can also see all th components of the request and response broken down into tabs and other helpful details like the response time and status code. <br>like we have GitHub for repos</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zduf09cNKC-eeXfjJz3nQw.png" /></figure><p>while if used traditional method of fetching API using cURL it works fine though not so easy to read</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*D0QL_KWUH6P1HIvukoKKAw.png" /></figure><p><strong>3) Quick steps and essentials</strong><br>1. To start making Postman requests, you need to be inside a <strong>workspace</strong>. <strong>Workspaces dropdown &gt; Create Workspace</strong><br>2. Now we need to add <strong>Collection</strong> to the workspace. Collections are places to <strong>organize your API requests</strong> in Postman.</p><blockquote>The minimum ingredients you need to make a request are:</blockquote><blockquote><strong>a request method</strong> [GET]<br><strong>a request URL </strong>[<a href="https://some-api.com/photos">https://some-api.com/photos</a>]</blockquote><blockquote>therefore the request is <strong>GET </strong><a href="https://some-api.com/photos"><strong>https://some-api.com/photos</strong></a></blockquote><p><strong>3. Request methods to know </strong><br>When we make an HTTP call to a server, we specify a request method that indicates the type of <strong>operation we are about to perform.</strong> These are also called <strong>HTTP verbs</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9FnUFCz-N_WF9WFw2ijfmg.png" /></figure><p><strong>4. Request URL</strong><br>A request must include a request URL that <strong>indicates where to make the API call.</strong><br>A request URL has <strong>three parts</strong>: a <strong>protocol</strong> (such as http:// or <a href="https://">https://</a>), <strong>host</strong> (location of the server), and <strong>path</strong> (route on the server).</p><blockquote><strong>protocol — — — — https://<br>host — — — — — — some-api.com/<br>path — — — — — — photos</strong></blockquote><p><strong>5.Response status codes</strong><br>Status codes are indicators of whether a request failed or succeeded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*88e4a2XNs3kXYb5NmKw2fg.png" /></figure><blockquote>Chills! In Postman, you can hover over any response code to see what it means</blockquote><p>Let’s know about Variables before moving further:</p><blockquote><strong>Variables in Postman:</strong> Postman allows you to save values as <strong>variables to reuse</strong> them and easily <strong>hide sensitive information like API Keys.</strong> <br>Once a variable is defined, you can access its value using double curly brace syntax like this: <strong>{{variableName}}</strong>.<br><strong>Variable scopes are global, collection, environment, data, and local.</strong></blockquote><p><strong>6. Request Parameters:</strong> to refine your request further API allows you to have <strong>query parameters</strong> and <strong>path variable</strong>.</p><blockquote><strong>Query parameter:</strong> Query parameters are added to the end of the path with “<strong>?</strong>” and “<strong>&lt;key&gt;=&lt;value&gt;</strong>”.<br><strong>GET </strong><a href="https://some-api.com/photos?orientation=landscape"><strong>https://some-api.com/photos?orientation=landscape</strong></a><strong><br>GET </strong><a href="https://some-api.com/photos?orientation=landscape"><strong>https://some-api.com/photos?orientation=landscape</strong></a><strong> &amp; size=500x400</strong><br> <br><strong>Path Variable:</strong> path variable comes immediately after a slash in the path and is often used for IDs and entity names such as usernames. <br><strong>GET </strong><a href="https://some-api.com/photos/%7Bid"><strong>https://some-api.com/photos/{id</strong></a><strong>}</strong></blockquote><blockquote><strong>Pro tip: </strong>Always read API documentation for API request syntax.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HbUK01zXDdLO-HoSJfe2nQ.png" /></figure><p><strong>7. Postman’s codegen feature</strong><br>Postman can help you <strong>integrate API calls into your applications by generating code snippets</strong> in various coding languages.<br>Every request you made has a code generation tab you can access from the code <strong>&lt;/&gt; </strong>icon in the far right.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/317/1*0hs5MxCVUVIS8SE05jx30Q.png" /></figure><p><strong>For better and practical understanding you can enroll into Postman API Fundamentals Student Expert certification.</strong></p><blockquote><strong>Reference: </strong>Postman API Fundamentals Student Expert certification.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68a54c969a49" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git and GitHub Essentials Notes]]></title>
            <link>https://medium.com/@rcspell/git-and-github-essentials-ef1eef0928f0?source=rss-0712332fe99d------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef1eef0928f0</guid>
            <category><![CDATA[git-and-github]]></category>
            <dc:creator><![CDATA[rcspell]]></dc:creator>
            <pubDate>Tue, 16 Jul 2024 17:49:17 GMT</pubDate>
            <atom:updated>2024-08-10T05:55:08.800Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eIbOaOXZe6ys-jWubDlmIg.png" /></figure><p><strong>Git:</strong> Git is a Version Control System, a tool to track changes in code, and it’s one of the most popular, free, and open-source options available. It’s known for being fast and scalable. Git operates on the principle of snapshots, with each commit representing a snapshot of your project at a specific point in time.</p><p><strong>GitHub:</strong> GitHub is a website that allows developers to store and manage their code using Git. The folders where code is stored are called repositories. GitHub offers additional features beyond basic version control, such as issue tracking, project boards, and wiki pages, enhancing project management and collaboration within development teams.</p><p><strong>Setting up Git:</strong></p><ul><li>Install Git software, <strong>Gitbash.</strong></li><li>Verify installation: <strong>git — version.</strong></li><li>Configure Git globally:</li><li><strong>git config — global user.name “&lt;Your Name&gt;”</strong></li><li><strong>git config — global user.email “&lt;Your Email&gt;”</strong></li></ul><p><strong>Basic Operations to know:</strong></p><ul><li>Git operates with two main aspects: <strong>Remote</strong> (GitHub) and <strong>Local </strong>(your laptop or PC).</li><li>Common terminal commands include:</li></ul><ol><li>to change directories: <strong>cd &lt;directory_name&gt;</strong></li><li>to move to previous directory:<strong> cd ..</strong></li><li>to list all files:<strong> ls</strong></li><li>to list all files including hidden:<strong> ls -a</strong></li><li>to clear the terminal:<strong> clear</strong></li></ol><p><strong>Initialization:</strong></p><ul><li>Initialize a Git repository in a directory: <strong>git init</strong></li></ul><p><strong>Undo-initialization:</strong></p><ul><li>Undo git init: <strong>rm -rf .git</strong></li></ul><p><strong>Status:</strong></p><ul><li>Check the status of your working directory and staging area: <strong>git status</strong></li><li>FOUR TYPES OF STATUS</li></ul><ol><li><strong>untracked: </strong>new file that git doesn’t tracked or unknown about</li><li><strong>modified:</strong> file is updated and modified yet commitment is left</li><li><strong>staged:</strong> file is ready to commit</li><li><strong>unmodified:</strong> unchanged</li></ol><p><strong>Adding Changes:</strong></p><ul><li>Add changes from your working directory to the staging area: <strong>git add &lt;file_name&gt; </strong>or<strong> git add . </strong>(to add all changes)</li></ul><p><strong>Committing Changes:</strong></p><ul><li>Record changes in the repository: <strong>git commit -m “Your commit message”</strong></li><li>Directly commit without going to staging area: <strong>git commit -a</strong></li></ul><p><strong>Remote Repository Interaction:</strong></p><ul><li>Connect a local repository to a remote repository: <strong>git remote add origin &lt;remote_repository_URL&gt;</strong></li><li>To verify remote: <strong>git remote -v</strong></li><li>To remove remote: <strong>git remote remove origin</strong></li><li>Push changes from your local repository to a remote repository:<strong> git push origin &lt;branch_name&gt;</strong></li><li>Pull changes from a remote repository to your local repository: <strong>git pull origin &lt;branch_name&gt;</strong></li></ul><p><strong>Branching:</strong></p><ul><li>Create a new branch: <strong>git branch &lt;branch_name&gt;</strong></li><li>List all branches in the repository: <strong>git branch</strong></li><li>Switch to a different branch: <strong>git checkout &lt;branch_name&gt;</strong></li><li>Delete a branch:<strong> git branch -d &lt;branch_name&gt;</strong></li><li>Rename a branch:<strong> git branch -M &lt;new_name&gt;</strong></li><li>To compare commits, branch, file and more in branches: <strong>git diff &lt;branch name&gt;</strong></li><li>Merge changes from one branch into another: <strong>git merge &lt;branch_name&gt;</strong></li><li><strong>git fetch:</strong> The git fetch command is used to download commits, files, branches, and tags from a remote repository. It does not affect your local repository’s working state, making it a safe way to review remote changes before integrating them with your local repository.</li></ul><p>The general syntax for the command is: <strong>git fetch origin &lt;branch_name&gt;</strong></p><p><strong>Undoing Changes:</strong></p><ul><li>Undo changes in the working directory: <strong>git checkout — &lt;file&gt;</strong></li><li>Case1: Undo changes in the staging area: <strong>git reset &lt;file_name&gt;</strong></li><li>Case2: Undo commits (for one commit): <strong>git reset HEAD~1</strong></li><li>Case3: Undo commits (for many commits): <strong>git reset — hard &lt;commit_hash&gt;</strong></li><li><strong>git revert &lt;commit_hash&gt;</strong> (keeps track of the undoing change in git log)</li></ul><p><strong>— soft</strong>: uncommit changes, changes are left staged (index).</p><p><strong>— mixed (default): </strong>uncommit + unstage changes, changes are left in working tree.</p><p><strong>— hard:</strong> uncommit + unstage + delete changes, nothing left.</p><p><strong>Deleting directory:</strong></p><ul><li>DELETE FROM BOTH LOCAL AND REMOTE</li></ul><p><strong>git rm -r &lt;name_of_directory&gt;</strong></p><p><strong>git commit . -m “Your commit message”</strong></p><p><strong>git push origin &lt;your-git-branch&gt; (typically main)</strong></p><ul><li>DELETE FROM REMOTE NOT LOCAL</li></ul><p><strong>git rm -r — cached &lt;name_of_directory&gt;</strong></p><p><strong>Repository Management:</strong></p><ul><li>Clone a repository from GitHub to your local machine: <strong>git clone &lt;repository_URL&gt;</strong></li><li>Create a new repository on GitHub: (done through the GitHub website)</li><li>To see all commits, hash: <strong>git log</strong> (press q to exit)</li></ul><p><strong>Collaboration:</strong></p><ul><li><strong>Fork</strong> a repository on GitHub: (done through the GitHub website) a fork is a new repository that shares code and visibility settings with the original “upsteam” repository, Fork is a basically a rough copy.</li><li>Select a option Fork on website it will generate a copy for you to use you can add changes and then start a pull request to show of your changes to the main original location</li><li><strong>Pull request:</strong> It lets you tell others about changes you’ve pushed to a branch in a repository on github.</li></ul><p><em>Download free pdf: </em><a href="https://www.linkedin.com/posts/chhavi-rohilla-607996251_git-and-github-essentials-for-developers-activity-7161046268457160704-y5iY?utm_source=share&amp;utm_medium=member_desktop">https://www.linkedin.com/posts/chhavi-rohilla-607996251_git-and-github-essentials-for-developers-activity-7161046268457160704-y5iY?utm_source=share&amp;utm_medium=member_desktop</a></p><p>Follow for more! Have a nice day :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef1eef0928f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Virtual Machines (VM) & Containers]]></title>
            <link>https://medium.com/@rcspell/virtual-machines-vm-containers-a688edeaea5d?source=rss-0712332fe99d------2</link>
            <guid isPermaLink="false">https://medium.com/p/a688edeaea5d</guid>
            <dc:creator><![CDATA[rcspell]]></dc:creator>
            <pubDate>Thu, 20 Jun 2024 08:54:58 GMT</pubDate>
            <atom:updated>2024-06-20T08:57:08.676Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*F2_bX16JsgK0EwHYXkKkJA.jpeg" /></figure><h4>Virtual Machines (VMs):</h4><p>Think about the different operating systems (OS) available, like Windows, Linux, and Ubuntu. If you ever wondered <strong>why there are so many OSes?</strong> Then just like different mobile phones (Android, iOS) have unique features, different OSes have their own advantages. For example, Kali Linux is popular in cybersecurity because it comes with many built-in tools for that purpose.</p><p>Imagine you’ve been using Windows 11 on your computer for years. Now, you want to learn cybersecurity, and you need to use Kali Linux. But you don’t want to erase Windows because you still need it, and buying another computer is too expensive. This is where a virtual machine (VM) comes in handy. <strong>What VM do? </strong>Virtual machines allow multiple applications to run on a single server by simulating both hardware and software. A VM lets you run Kali Linux on your Windows computer without removing Windows.</p><p><strong>Why Businesses Use VMs? :</strong> Traditionally, businesses would run one application per server because running multiple applications on a single server wasn’t secure or efficient. This method was costly and inefficient. VMs solve this problem by allowing multiple applications to run on a single server, each in its own virtual environment. For example, instead of three separate servers for three applications, one server can run three VMs, each with its own application and OS.</p><p><strong>How to Build VMs? :</strong></p><ul><li><strong>Hardware:</strong> You need a physical server or desktop.</li><li><strong>Hypervisor:</strong> Software like VirtualBox or VMware that allows one machine to run multiple virtual machine. It allocates and control the sharing of a machine’s hardware.</li><li><strong>Virtual Machines:</strong> Each VM can run a different OS and its own applications.</li></ul><p><strong>Drawbacks of VMs:</strong></p><ul><li>Slow startup</li><li>High RAM and CPU usage</li><li>Requires a lot of disk space</li><li>Some OSes may need a license</li></ul><h4>Containers:</h4><p>A container is like a package that includes an application and everything it needs to run (files, configurations, dependencies). For instance, a website container would have all the HTML, scripts, and images bundled together. You can relate it to like packing everything you need for lunch (main dish, bread, salad) into a lunchbox. Docker is a popular tool for creating and managing containers.</p><p><strong>How to Build a Container? :</strong></p><ul><li><strong>Server/Hardware:</strong> A physical server or computer.</li><li><strong>Operating System:</strong> The OS on which the container will run.</li><li><strong>Container Engine:</strong> Software like Docker that unpacks and runs the container files and hands them off to the OS kernel.</li></ul><p><strong>Drawbacks of Containers:</strong></p><ul><li>Must be compatible with the server’s OS</li><li>If the server’s OS crashes, all containers go down</li></ul><h4>Key Difference:</h4><p>While VMs simulate an entire machine (OS + applications), containers package just the application and its dependencies, making them more lightweight and efficient.</p><p>Follow for more! Have a nice day :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a688edeaea5d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>