<?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 Deepshikha. on Medium]]></title>
        <description><![CDATA[Stories by Deepshikha. on Medium]]></description>
        <link>https://medium.com/@miss_DP?source=rss-87ee9595c928------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmRTpxyRb3RB1q9Hbz4yVg.jpeg</url>
            <title>Stories by Deepshikha. on Medium</title>
            <link>https://medium.com/@miss_DP?source=rss-87ee9595c928------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 19:45:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@miss_DP/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[Web VAPT — No Rate limit (Insecure Design) Vulnerability.]]></title>
            <link>https://medium.com/@miss_DP/web-vapt-no-rate-limit-insecure-design-vulnerability-e80909129553?source=rss-87ee9595c928------2</link>
            <guid isPermaLink="false">https://medium.com/p/e80909129553</guid>
            <dc:creator><![CDATA[Deepshikha.]]></dc:creator>
            <pubDate>Sun, 26 Oct 2025 17:54:15 GMT</pubDate>
            <atom:updated>2025-10-26T17:54:15.128Z</atom:updated>
            <content:encoded><![CDATA[<h3>Web VAPT — No Rate limit (Insecure Design) Vulnerability.</h3><p>Project — While performing Web VAPT I have found a No Rate limit (Insecure Design) Vulnerability in a web application.</p><p>Severity Level : <em>Medium</em></p><p>During <strong>Vulnerability Assessment and Penetration Testing (VAPT)</strong> of web applications, one of the frequently discovered issues is the <strong>lack of rate limiting</strong> on critical functionalities such as login, OTP verification, or coupon redemption endpoints. This vulnerability occurs when the application fails to restrict the number of requests a user can make within a specific period of time. Without proper rate limiting, attackers can easily automate large volumes of requests using scripts or bots.</p><p>A common example of this weakness is the <strong>“No Rate Limit on Purchasing Coupon Code”</strong> vulnerability. In such a scenario, the application allows users to repeatedly send purchase or redemption requests for coupon codes without any throttling mechanism. An attacker can exploit this by writing an automated script or using tools like Burp Suite Intruder or OWASP ZAP to rapidly send multiple requests. As a result, they may repeatedly generate or redeem discount coupons, manipulate pricing logic, or even brute-force valid coupon codes.</p><p>From a security perspective, this flaw can lead to <strong>coupon abuse, financial manipulation, and denial of service for legitimate users</strong>. Attackers can overwhelm the server with automated requests, exploit application logic, or gain unauthorized discounts — all due to missing request throttling controls. This type of vulnerability typically arises because of <strong>insufficient server-side validation</strong> and poor <strong>API endpoint security design</strong>. Relying only on client-side controls (like JavaScript-based limits) is ineffective, since attackers can bypass them with ease.</p><p>POCs :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v_qaKNkAhMGsC3-3szlkWQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8GAykKjod4EIC7fFmNH8aA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YNuOnKeROXWElz3GhJOwuw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R6Mccge_QG67zao0HTJd-Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TeapaQYMrOz_FQ09ItFcuw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bcS0FcoCGDFohns4QgYAZA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EiGXTMcoBfwzNLLlZoDggg.png" /></figure><p>During VAPT, it’s important to test for rate limiting issues by observing the application’s behavior when multiple identical requests are sent rapidly. If the server does not respond with an error or block after a threshold is reached, it indicates the absence of rate limiting controls. Security testers should also check whether the application implements mechanisms such as <strong>CAPTCHA</strong>, <strong>IP-based throttling</strong>, or <strong>token-based request limiting</strong>.</p><p>To mitigate this vulnerability, developers should implement <strong>robust server-side rate limiting</strong> using techniques like request counters, time-based restrictions, and user/IP monitoring. Additionally, <strong>logging and alerting</strong> should be configured to detect abnormal request patterns during runtime.</p><p>In conclusion, the lack of rate limiting is a simple yet serious flaw that can lead to automation-based exploitation. Identifying and fixing this issue during the VAPT phase ensures stronger API protection, prevents abuse, and enhances the overall security posture of the web application.</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e80909129553" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bug Hunt— Web vulnerability found — CAPTCHA not enforced on /pcccomment/{id} form]]></title>
            <link>https://medium.com/@miss_DP/bug-hunt-web-vulnerability-found-captcha-not-enforced-on-pcccomment-id-form-282888364921?source=rss-87ee9595c928------2</link>
            <guid isPermaLink="false">https://medium.com/p/282888364921</guid>
            <dc:creator><![CDATA[Deepshikha.]]></dc:creator>
            <pubDate>Tue, 21 Oct 2025 16:35:25 GMT</pubDate>
            <atom:updated>2025-10-21T16:35:25.383Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Bug Hunt— Web vulnerability found — CAPTCHA not enforced on /pcccomment/{id} form</strong></h3><p>Severity : <em>Medium</em></p><p>A <strong>Medium level</strong> bug/ vulnerability was found in Ask Your Query field where the request is forwarded without validating or checking the CAPTCHA.</p><p>The <strong>/pcccomment/{id}</strong> form <strong>(example: /pcccomment/131)</strong> implements a CAPTCHA <strong>(g-recaptcha-response)</strong> but <strong>does not validate it server-side</strong>. Submitting the form with an <strong>empty or invalid CAPTCHA</strong> still results in a successful submission.</p><p>This allows bots or attackers to automate form submissions, spam the system, or abuse the endpoint without solving the CAPTCHA.</p><p><strong>Step1: </strong>Try to fill the Ask the Query field and proceed without giving the CAPTCHA.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*QN9tB3DJU8bRvNzWY_cQjw.png" /></figure><p><strong>Step 2:</strong> Intercept the affected request using a proxy tool such as burp suite and send it to repeater.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-f8HC9c3FlNcP6vqzb74Lg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s8rIRWky4erCHmKhGU2LEQ.png" /></figure><p><strong>Step 3: </strong>Now, <strong>g-recaptcha-response set to blank</strong> and send the request. Observe that the form submission succeed without properly validating the CAPTCHA.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ni0RAlRzXjI6I6h5wro6Uw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h5QpeA-K8y-Te2WCM3msAg.png" /></figure><p>So here we can see that — without checking or validating the CAPTCHA the query is passed and request is forwarded. This allows bots or attackers to automate form submissions, spam the system, or abuse the endpoint without solving the CAPTCHA.</p><p><strong>Mitigation: <br></strong>1. Enforce server-side validation of <strong>g-recaptcha-response</strong> and reject requests without valid CAPTCHA.<br>2. Implement rate-limiting or anti-bot mechanisms in addition to CAPTCHA.<br>3. Log failed CAPTCHA attempts and alert on suspicious activity to detect automated abuse.<br>_________________________________________________________________</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=282888364921" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[THM — Internal Walkthrough]]></title>
            <link>https://medium.com/@miss_DP/thm-internal-walkthrough-363b7ced910a?source=rss-87ee9595c928------2</link>
            <guid isPermaLink="false">https://medium.com/p/363b7ced910a</guid>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[pivoting]]></category>
            <category><![CDATA[network-pivoting]]></category>
            <dc:creator><![CDATA[Deepshikha.]]></dc:creator>
            <pubDate>Thu, 16 Oct 2025 10:16:26 GMT</pubDate>
            <atom:updated>2025-10-16T10:16:26.980Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>THM — Internal Walkthrough</strong></h3><p><strong>Based on Pivoting method.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*cHNsPXtvbqMPSISJM1x3qQ.jpeg" /></figure><pre>                Room: https://tryhackme.com/room/internal<br>                Level: Hard</pre><p>Read the requirements for the machine and then proceed.<br>Also, add the IP of the machine in — /etc/hosts</p><pre>nmap -sS -sV -sC 10.201.46.209 --open<br># to check open ports and services.</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*dlIHy_iQdHvxIdSIgSaokw.png" /></figure><p>Result shows — we have port 22/tcp SSH &amp; port 80/tcp HTTP are open. With Apache/2.4.29 running on port 80/tcp. <br>Lets check what’s on <a href="http://10.201.46.209/">http://10.201.46.209:80</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/879/1*eFc706XZuvxSSbomL-dj9A.png" /><figcaption>Apache2 is Runing.</figcaption></figure><p>Found not much information — need to do directory bruteforcing.</p><pre>gobuster dir -u http://10.201.46.209/ -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -t 20<br># to find hidden direcories.</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*7ztoMN_kxlfNJZe3Ah4gqg.png" /></figure><p>Check — <a href="http://10.201.46.209/">http://10.201.46.209/</a>blog</p><p>Its a web page with named — Internal — check for any information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/977/1*9UBgb2NvwaooidspUJtkKw.png" /><figcaption>Internal Webpage</figcaption></figure><p>This webpage uses Word-press CMS, also scroll down and there is a Login option.</p><p>We have here is word press login page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*mIASyQtUgtMIe_ZRZwWouw.png" /></figure><p>Try — wpscan to find/ enumerate username and then bruteforce password.</p><pre>wpscan --url http://10.201.46.209/blog -e u<br>#enumerate username</pre><p>In result — we can see — username : admin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*gC9sB6oHYUFvAEkRWGYZ6Q.png" /></figure><p>Try for password bruteforce — for username: admin</p><pre>wpscan --url http://internal.thm/blog -U admin -P /usr/share/wordlists/rockyou.txt<br>#password cracking for username: admin</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*DN9-XmbA7B_PM50jUi3lvg.png" /><figcaption>Password Found</figcaption></figure><p>Try Login — username: admin and Password: my2boys</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QEQe2ivlPFjQq2ZLTTU_mg.png" /><figcaption>Logged in as Admin</figcaption></figure><p>Go to — Appearance — Theme Editor — go to 404 template (in right panel).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-ztREl2PWBlCPDlsK8tErA.png" /></figure><p>Edit this — PhP template with your reverse shell php script to get the reverse shell access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*7UYa-YxjY1GDhMIfPxBU-g.png" /><figcaption>Change the IP and Port according to yours. And Update file</figcaption></figure><pre>http://internal.thm/blog/wp-content/themes/twentyseventeen/404.php<br>#browse this to get reverse connection</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ib_aYmmvxrZutiQAhgggcw.png" /></figure><p>If you try — sudo -l</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/545/1*Cd3hIHoEEz6ha0s-5qq91Q.png" /><figcaption>No tty present</figcaption></figure><p>Use shell spawning — for TTY shell to stablize it.</p><pre>python -c &#39;import pty; pty.spawn(&quot;/bin/sh&quot;)&#39;</pre><p>Now again try —<em> sudo -l</em> → asking for password which we don’t have, so try ….<br>to find binaries with SUIDs, or any other possibilities.</p><p>To be Continuee…… after post exploitation….. sooon.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=363b7ced910a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VAPT — Api pentest — using Burpsuite]]></title>
            <link>https://medium.com/@miss_DP/vapt-api-pentest-using-burpsuite-a18081d70b29?source=rss-87ee9595c928------2</link>
            <guid isPermaLink="false">https://medium.com/p/a18081d70b29</guid>
            <dc:creator><![CDATA[Deepshikha.]]></dc:creator>
            <pubDate>Fri, 16 Aug 2024 15:36:41 GMT</pubDate>
            <atom:updated>2024-08-16T15:36:41.280Z</atom:updated>
            <content:encoded><![CDATA[<h3>VAPT — Api pentest — using Burpsuite</h3><p>The content provided in this write-up is intended solely for educational purposes. Any information, methods, or tools discussed should be used responsibly and at your own discretion. I cannot be held accountable for any damages incurred to systems or individuals as a result of utilizing the content herein. It’s crucial to note that using the techniques or tools described for attacking individuals or organizations without explicit consent is illegal and unethical. Compliance with all relevant local, state, and federal laws is essential. By accessing this information, you acknowledge and accept that I bear no liability for any misuse or harm resulting from its application.</p><p><strong>TARGET</strong></p><blockquote>For this, we need Docker to run the web application.<br>For DOCKER, first install it using — ‘sudo apt install docker’ and ‘sudo apt install docker-compse’.<br> Once it is done check for the version installed.</blockquote><p>Then Pull the application — from the Docker container.</p><p># docker pull stashaccount/api-pentest-vapt</p><p>Then run it.</p><p># docker run –p 5000:5000 stashaccount/api-pentest-vapt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*8Y42mC3PoXJJih3lTabrHQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*ZuceE2NltPlWBp-v9uuw0g.png" /></figure><p>open the browser and load the web page — <a href="http://localhost:5000/">http://localhost:5000</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/281/1*Tsnn8FH43nWkMMkn2kMe8A.png" /></figure><p>We used CURL tool, to get some insite of webpage<br>Commands — <br> # curl –X GET <a href="http://localhost:5000/">http://localhost:5000</a><br> # curl –u username:password <a href="http://localhost:5000/">http://localhost:5000</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*b7-kPGxoveWgGyhVlsKPFg.png" /><figcaption>Nothing as such found.</figcaption></figure><p>Next we used GOBUSTER tool, to look for the directories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/444/1*T-KPH6gErAhCRy-nXJCaug.png" /></figure><p>Here we found some directories: /admin , /api , /home , /login. Since in /admin the status code is 401 which is not found, so we have to go for directory /api which has status of 200, as /home is redirected to login page with status code of 300 which is for redirecting.</p><p>So with that we proceed to look for other endpoints with /api directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/539/1*v504LpuMVKbKoOwfw3s6Ug.png" /></figure><p>Here in result we have /admin with status code 500 not accessible. But /users with status code 200 is accessible.<br>So we have — /api/users — endpoint</p><p>Now we will use the Burpsuite tool for intercept the request.</p><p>Open the Burpsuite –Browser and browse the webpage keeping the intercept on.</p><p>It will capture the request, forward that request to REPEATER.</p><p>In Request side (left) we will change the header to see the what Response we are getting on Response side (right).</p><p>Type — GET /api/users HTTP/1.1 — and SEND.</p><p>In result we can see that the user’s details are available.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/592/1*ndYZMvIvemFpqEwR9BPqsQ.png" /><figcaption>api endpoint — /api/users</figcaption></figure><p>Here we can see that, all are users but only one user is admin. Lets note it down.</p><p>We have details of users but for login this is not enough information, because for login we need email and password. Also there is no Signup provided we cannot create any account.</p><p>Go through the script in SOURCE CODE to find some more hints or informations.</p><p>Here we found that TOKEN is needed for users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/435/1*GpZYMoqj4ueCm0vUgyv7kQ.png" /></figure><p>Try — /home?token=${token} in header with a random token number to check the response.</p><p>For this header we have a positive response with 200 OK status. But not much details to look here. A valid session Token is required here to get the account details or access or something near to that.</p><p>Go through the script for information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*12xu73pp98b8maQo5-oX9g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/1*dqdgOJgWpnncQM1ecvd9xA.png" /></figure><p>So we found a message by the developer here. Which is saying or giving some hint about SHELL and followed by that Admins have specical access to it. HACK ME IF YOU CAN!!! It sounds like developer want us to hack or get the shell access.</p><p>Browse — <a href="http://localhost:5000/home?token=232312">http://localhost:5000/home?token=232312</a></p><p>We are directed to another page with Home — Login and Admin control tabs.</p><p>Asking us — Are you an admin?.</p><p>This means we need to have admin details to bypass this page, just a guess. Lets try.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/1*7pXT-EQDBv1YlE4I-NO5_w.png" /><figcaption>Admin page!!</figcaption></figure><p>There is a url given — looks like naother API endpoint. — /api/user/getDetails.</p><p>And also we need Token for Authorization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/312/1*HUSVYDc1a2khCrr6HYIRPg.png" /></figure><p>Apply this url in header request in burpsuite.</p><p>In response we can see that we need an Authorization Header — for login as admin.</p><p>Therefore we need a token and header — Authroization : Bearer ${token} for access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*hp6cWQhc4NejW_b5IktK9Q.png" /></figure><p>To get the authrozation as admin we need to find the token and for that we need to get shell connection to trace the JWT token.<br>For the confidentiality of the webapplication developer I cannot post the full walkthrough.</p><p>Here i only wanted to show the use of Burpsuite and Gobuster.</p><p>Thankyou!!. :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a18081d70b29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Random CTFs]]></title>
            <link>https://medium.com/@miss_DP/random-ctfs-3e04ebf6edad?source=rss-87ee9595c928------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e04ebf6edad</guid>
            <dc:creator><![CDATA[Deepshikha.]]></dc:creator>
            <pubDate>Thu, 11 Jul 2024 10:55:43 GMT</pubDate>
            <atom:updated>2024-07-11T10:55:43.714Z</atom:updated>
            <content:encoded><![CDATA[<h4>CTF -1</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/307/1*hZQBAcJXCvVSNb8JAjgx6w.png" /></figure><p>This challenge is based on web exploitation. <br>Go to the provided link — <a href="https://uscybercombine-s4-hunt.chats.io/">https://uscybercombine-s4-hunt.chats.io</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/441/1*w3mBKSRJ0wsUXmQX7gPtOg.png" /></figure><p>Then explore the website to find any hint. Check its source code! — View source page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/444/1*R2Jn1J7K58UktTlcTf387w.png" /></figure><p>Scroll down and we can find the P1 in comment bar. Seems like the 1st part of the flag.<br>Also it is giving us a hint — Don’t forget to check in on the bots!! — That means there is something in robots.txt page.<br>Now, Check the robots.txt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*AkXutv_ZYj5VSSaocH_Ouw.png" /></figure><p>Yes, we guessed it write here we have the P2. This seems like the 2nd part of the flag.<br>Also we have — Disallow: /secret-bot-spot — so let’s go to the URL and search for it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/1*JoyRt1nJ0tVfxy29An__bg.png" /></figure><p>So it’s like a sub domain of the web application. Nothing on the web page, so look into source page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/372/1*hlHmy7g17QbcPvWc9swqIg.png" /></figure><p>Here we can find a link which looks like script but it will lead you to another page.<br>Lets check what it is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*gEjOVXTmJfETi4Uzw_APEA.png" /></figure><p>So here it is the final part of the flag P3. Let’s join them and submit the flag. It works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/253/1*F3rvs8M3dw3_UsHnwouLSw.png" /></figure><h4>CTF — 2</h4><p>This challenge is based on crypto.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/291/1*mO_uB-p_U7-o0Ay0GChanw.png" /></figure><p>Run the command — nc 0.cloud.chals.io 32820</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*knPCEll4dLmLnyiQMTv7ig.png" /></figure><p>It is based on Diffie-hellman key exchange method, The Diffie-Hellman key exchange is a method used by two parties to securely generate a shared secret key, which can then be used for encryption and decryption of messages.<br> Write a Python script to solve this. As given below,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/291/1*dPJlqejjcXdPX-DAAq2mLg.png" /></figure><p>By solving with above script we will get the values of S and T which should be same. Hence it is the key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*SoIbtQIF8u9KiEmqYVZhBQ.png" /></figure><p>So 47 is the key between Alice and Bob.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*lDjhU87Iq-84pCKl_B0E9w.png" /></figure><p>Now as directed we need to perform bitwise XOR to get the flag which is encrypted. For that lets write another script in python to solve this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/533/1*b2Q3JgQ1uYZZBR5LtnX-9w.png" /></figure><p>Here it is, Put the values as required and we will get the Flag.</p><p>Run the python file and we have the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*OcO1YNmtMgVOx__UfyWFqg.png" /></figure><p>CTF are fun to learn !!!.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e04ebf6edad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VAPT using Owasp Top 10 Methodologies — Walkthrough]]></title>
            <link>https://medium.com/@miss_DP/vapt-using-owasp-top-10-methodologies-walkthrough-2aeab012497c?source=rss-87ee9595c928------2</link>
            <guid isPermaLink="false">https://medium.com/p/2aeab012497c</guid>
            <dc:creator><![CDATA[Deepshikha.]]></dc:creator>
            <pubDate>Wed, 10 Jul 2024 19:51:05 GMT</pubDate>
            <atom:updated>2024-07-10T19:51:05.698Z</atom:updated>
            <content:encoded><![CDATA[<h3>VAPT using Owasp Top 10 Methodologies — Walkthrough</h3><p><strong>About zero.webappsecurity.com</strong><br>The Free Online Bank website is created by Micro Focus Fortify solely to showcase the capabilities and effectiveness of Micro Focus Fortifies Web Inspect products in identifying and addressing vulnerabilities in web applications. It’s important to note that this website is not an actual banking platform, and any resemblances to other products or websites are purely coincidental. Micro Focus Fortify provides this site “as is,” without any warranties, express or implied.</p><h4>SUMMARY</h4><p>The VAPT — OWASP was performed and the detailed report and findings are described below. The aim of this assessment was to identify security weaknesses within the web server’s setup and the website hosted on it. These tests simulated potential attacks or malicious actions to uncover vulnerabilities. However, precautions were taken to ensure that the web server wasn’t compromised or harmed during the testing process.</p><h4>OBJECTIVE</h4><p>The scope is to find OWASP top 10 vulnerabilities on the website Also, find other potential vulnerabilities.</p><p>The content provided in this write-up is intended solely for educational purposes. Any information, methods, or tools discussed should be used responsibly and at your own discretion. I cannot be held accountable for any damages incurred to systems or individuals as a result of utilizing the content herein. It’s crucial to note that using the techniques or tools described for attacking individuals or organizations without explicit consent is illegal and unethical. Compliance with all relevant local, state, and federal laws is essential. By accessing this information, you acknowledge and accept that I bear no liability for any misuse or harm resulting from its application.</p><h4>Broken access control</h4><p>This vulnerability is under <strong>IDOR</strong> (Insecure direct object reference),<strong> </strong>occurs when the developer exposes a reference to an internal implementation object such as database key, file, directories, etc. An attacker can manipulate these references to access unauthorized data. The impact will depend on the severity of the exposed object.</p><p>1) Users can access unauthorized files or data<br>2) Users able to access data of other users, etc.</p><p>On changing the accounted=2 to 4 one can access other users data.</p><p><strong>Steps to check:</strong> Login as user. <br>Go to <a href="http://zero.webappsecurity.com/bank/account.html?accountid=2">http://zero.webappsecurity.com/bank/account.html?accountid=2</a><strong> <br>and change the id numbers.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*o4PDpWkOFKm-Ow5HsKcmNA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*ngrmflhTlPUQhZkp2vdJiw.png" /></figure><p>It was found that if someone knows the account ID of one user can easily access other user’s account and their personal details by just changing the ID numbers. This is an extremely serious vulnerability for any web application.</p><p><strong>Session IDs aren’t changing</strong></p><p>On loading the web page, the session ID: JSESSIONID : EA0F367E is not changing when the web page is on hibernate mode for long time.</p><p>1. Session IDs are constant, not changing even if we keep the page logged in for a longer time.<br>2. Session cookies are weak and easily exposed. Attackers can hijack the session ID and cookies, eventually can stole the credentials to masquerade as user.<br>3. Anyone can steal this session ID and perform session hijacking.</p><p><strong>Steps to check:</strong> Go to <a href="http://zero.webappsecurity.com/">http://zero.webappsecurity.com</a><strong> check for the session cookie, leave the webpage for sometime the cookie will not change.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*wuumAmnBAk-aGwvuK-Xsbg.png" /></figure><p><strong>Cryptographic Failure</strong></p><p>Cryptographic failure refers to vulnerabilities arising from improper implementation, weak algorithms, or flawed key management in cryptographic systems. These failures can lead to data breaches, unauthorized access, or compromised integrity and confidentiality of sensitive information. Mitigation involves using strong algorithms, proper key management practices, regular audits, and staying updated with cryptographic best practices and standards.<br>The Login password and Session Cookie is saved in plain text instead of hash format. With a valid session ID or cookie anyone can steal the credentials using tools like Burpsuite.</p><p><strong>Steps to check: </strong>Use brupsuite to intercept the request.<br> Login and check the response.<br>Here Password and Cookie is saved in plain text. See the screen shot below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*_yKu9S0_RsHuB3zNc_DiIw.png" /></figure><p><strong>Injection</strong></p><p>Injection refers to a type of security vulnerability where untrusted data is sent to an interpreter as part of a command or query. This can lead to the execution of unintended commands or manipulation of data. Common types include SQL injection (SQLi), where malicious SQL queries are injected into an input field, and cross-site scripting (XSS), where malicious scripts are injected into a web page. Prevention involves using parameterized queries, input validation, and escaping user input to mitigate these risks.</p><p><strong>Command injection:</strong> <br> Anyone can inject command in URL and it is stored and reflected later, this vulnerability can be used as payload injection.</p><p><strong>Steps to check: </strong>Try to use the scripts in URL.<br> <a href="http://zero.webappsecurity.com/bank/account-activity.html?accountId=123456);alert(112);//123">http://zero.webappsecurity.com/bank/account-activity.html?accountId=123456);alert(112);//123</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/472/1*u48UXqlgdNSpx643VBO9kQ.png" /></figure><p><strong>Cross site Scripting:</strong></p><p>Cross site scripting flaws occur when web application accept untrusted data from the user and send it to the web browser without proper input validation. In a typical XSS attack, the attackers inject a JavaScript into the website and when a user visits the infected link, the JavaScript executes on the user’s browser. It is a client-side code injection attack</p><p><strong>Steps to check: </strong>For executing the cross site script find any description or comments box. Write some script code in description box and submit, the script executes. As shown in screenshot.</p><p><strong><em>Script = &lt;svg onload=alert(1)&gt; “&gt;&lt;svg onload=alert(1)//</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*s4hPmp4EpTTwxqhKGxiOaw.png" /></figure><p><strong>Broken Authentication</strong></p><p>Broken authentication is an umbrella term for several vulnerabilities that attackers exploit to impersonate legitimate users online. Broadly, broken authentication refers to weaknesses in two areas: session management and credential management. Both are classified as broken authentication because attackers can use either avenue to masquerade as a user: hijacked session IDs or stolen login credentials.</p><p><strong>Steps to Check:<br> Poor Password Policy: <br> </strong>1.<strong> </strong>We can see on the login page, username and passwords are openly mentioned.<strong><br> </strong>2. It allows weak and small passwords without taking any special characters, numbers. Hence it is easy to crack the username and password (login credentials) using Brute-force attack or Dictionary attack.<br> 3. There is no auto Lockout, which gives an opportunity to try as many possibilities of passwords as we want.<br> 4. If we use the BackButton, it is navigating us to the previous page, the attacker can make use of the back button and navigate to the previous pages visited by the user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/1*uu9K-zM8ReMyHecWOgK8Tw.png" /></figure><p><strong>Insecure Deserialization<br> <br> </strong>It is a vulnerability where untrusted data is improperly handled during deserialization, leading to remote code execution or other malicious actions. Attackers can exploit this by injecting malicious code into serialized objects, bypassing security controls and compromising the application or server. Prevention involves validating input, using integrity checks like digital signatures, and limiting deserialization privileges.</p><p><strong>Insecure Connection:</strong> The connection is not secured and filtered so we can conclude that anyone can break the authentication or other parameters to steal any useful information or credentials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*oZCSGXD_PqEDHvDJa3avHg.png" /></figure><p><strong>Security Misconfiguration <br> </strong><br> Security Misconfiguration occurs when system framework software is not properly configured by DBA and developers. This can lead to access to the system and result in a compromised system.</p><p>1) Some directories are listed which shouldn’t be listed. Like the Admin page and other USERs details.</p><p><strong>Steps to check: </strong>Go to <a href="http://zero.webappsecurity.com/admin/user.html">http://zero.webappsecurity.com/admin/user.html</a><strong> it will direct to the page given below in screenshot which contains sensitive information of other users.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/1*DTqXWfdW-9fAW-91Li0NPQ.png" /></figure><p><strong>Sensitive Data Exposure<br> </strong><br> Many web applications do not properly protect sensitive data, sometimes error messages contains extra information which are not required. Sensitive data is exposed because of flaws in the web application. For example, if weak algorithms are used to save passwords then they can be easily cracked, and sensitive data will be exposed.</p><p><strong>Steps to Check:<br> </strong>Go to <a href="http://zero.webappsecurity.com/asdsd">http://zero.webappsecurity.com/asdsd</a> (any random search) will give this error message.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/399/1*x3LPq8zPvww8thOm9E3NLA.png" /></figure><p>Here we can see that Apache Tomcat/ 7.0.70 are mentioned in error message, which is server and its version. Anyone can use this information to find server vulnerabilities and can attack.</p><p><strong>Steps to check:</strong></p><p>Go to <a href="http://zero.webappsecurity.com/manager/stats">http://zero.webappsecurity.com/manager/stats</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*m7BCpYREuLvbmkSP0QUzjQ.png" /></figure><p>Here we can see Manager Directory is openly exposed. This is a clear threat to web application.</p><p><strong>Using components with known vulnerabilities</strong></p><p>This particular vulnerability can bring big risk to the business especially because of its ease of exploitability. If the attacker is able to find out the vulnerable components which a particular application is using, it can be easily exploited since the exploit methods are already out there in the internet and the attacker simply has to make use of it and can cause a minimal impact, or serious or even complete data compromise, or also lead to server/host takeover for organizations.</p><p>In this we can found that the website was using outdated Tomcat and the Version is also leak.</p><p>This is a vulnerable version which has flaws and can be attacked easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/1*BVikTTnXpGvQjij0m9J0QA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*FmSx89PAjH7vv5YeWoY6-w.png" /></figure><p><strong>Insufficient logging and monitoring</strong></p><p>It is important to check and monitor what is being exposed to users. Inadequate logging and monitoring make it difficult to detect security incidents and respond effectively. Attackers can exploit vulnerabilities without detection, perform unauthorized actions, and exfiltrate data unnoticed.</p><p><strong>Steps to Check: </strong>Go to <a href="http://zero.webappsecurity.com/manager/stats">http://zero.webappsecurity.com/manager/stats</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*16WxcJ-VvzR3KwQLWLyPew.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*XNdefkC-qvriw471BtyKiA.png" /></figure><p>Here we can see username ‘tomcat’ and password ‘s3cret’ is available in manager directory. This can be captured and miss used by any attack vectors.</p><p>So these are some vulnerability that I found in this sample webapplication for practice — using OWASP Top 10 methods.<br>Happy learning!!!!!……….</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2aeab012497c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Runner — Hack the Box walkthrough.]]></title>
            <link>https://medium.com/@miss_DP/runner-hack-the-box-walkthrough-4f43de5cc999?source=rss-87ee9595c928------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f43de5cc999</guid>
            <dc:creator><![CDATA[Deepshikha.]]></dc:creator>
            <pubDate>Sun, 07 Jul 2024 08:11:45 GMT</pubDate>
            <atom:updated>2024-07-07T08:11:45.163Z</atom:updated>
            <content:encoded><![CDATA[<p>Runner — Hack the Box walkthrough.</p><p>Let’s solve the RUNNER machine on Hack The Box. This machine is currently free to play to and the inaugural Linux machine of Season 5.</p><p>To connect use VPN. Download the vpn and use — openvpn for it connectivity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*NunCr8TXvRbR_1Yp13Aa3A.png" /><figcaption>Active machine — Runner</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*2cZTkLRYmRQwX5S4UhOi8Q.png" /><figcaption>IP address 10.10.11.13</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/407/1*PNge_RoPu8VBh_tTo1Iapw.png" /><figcaption>Ping to check connectvity.</figcaption></figure><p>Always, Ping the machine to check you are connected to the machine or not.</p><p>Scan using — nmap -sS -sV -A -Pn 10.10.11.13</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*RqOTTdTzDZThnn0jdyQ4XQ.png" /></figure><p>Here we get the open ports, services and versions in use — 22/tcp , 80/tcp, 8000/tcp and ssh , http respectivly.</p><p>Since it is 80/ tcp — http. Let’s check it in browser.<br>Add the IP in host list</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/415/1*qhXMnTgIEs8pWcrHlgUzXw.png" /><figcaption>runner.htb</figcaption></figure><p>Not much is given in this web page.<br>Follow the command — whatweb 10.10.11.13</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*kg9SmNf-LLzMpQwF35D4pg.png" /></figure><p>This is powered by — Teamcity — Lets try it as a subdomain.<br>Add to host list — Teamcity.runner.htb</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*_D523dpZZKVp0YteU4T_Fw.png" /><figcaption>Teamcity Login Page.</figcaption></figure><p>Now we need login credentials — we dont have any. Let’s use python script to exlpoit. Generate a token.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*yjbHKm_upPquc4TU_s1pnQ.png" /><figcaption>Python exlpoit.py Token generator.</figcaption></figure><p>Login was successful with these one time token. Username and Password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*KDQBPAEq8Js6uZr0RsAIwQ.png" /><figcaption>We are in.</figcaption></figure><p>Lets look around — we can see we have Administration Button at top right.<br>Click!!!.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/254/1*R0yxnN6VfBx4cXm-kMVJeQ.png" /><figcaption>So many option to explore.</figcaption></figure><p>Go to Backup, there we can find one backup file, Download it!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*8HuPytqvGFW-Sg1wSsiBhg.png" /><figcaption>Download the BACKUP FILE.</figcaption></figure><p>Explore all the possible Directories and Readable files in the downloaded backup file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*YNTQuyZRIJ-YEU4LlWuEkg.png" /></figure><p>Found some interesting data and information, Usernames and Passwords!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*5aeyLS7k6DgmAQfpZDEhpg.png" /></figure><p>Let’s dig more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*95ZIpXRjIyf_4U9671Gx8Q.png" /><figcaption>ssh_keys Directories.</figcaption></figure><p>Reading id_rsa file we will find PRIVATE KEY!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/422/1*Fk2QLCgKsBJDVoF6Bvz_DQ.png" /></figure><p>With so much information let’s try to get the HOST authentication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*h45puFhU_ox3s8HOtgK01w.png" /><figcaption>john authentication.</figcaption></figure><p>Explore the Directory!</p><p>Here we get the USER.TXT file and the user FLAG!!!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*nh-Wn2Z0DfSUaU3wQ9iMXA.png" /><figcaption>READ user.txt</figcaption></figure><p>Now check the network connection using — <br> netstat -lantp</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*YM8AptTwyb5Ud3wanQt7fA.png" /><figcaption>List all listening TCP sockets</figcaption></figure><p>In above Screenshot we see that 127.0.0.1:9000 is open and listiening.</p><p>Now, establishes an SSH connection to the host 10.10.11.13 as user john, using the private key file id_rsa for authentication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*Xv-N2Hzn2UWonvi8l-bacw.png" /></figure><p>Here it is possible to establish.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*v5x68oubR6NNyueBLHk0OQ.png" /></figure><p>We need credentials for login. we have alredy found John and Mathew’s username and password. Crack the HASH of Mathew password using JohntheRipper.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*eAvMRDjIac3jhXiKLxEx3A.png" /><figcaption>HASH Cracked</figcaption></figure><p>Got inside as Mathew!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*tdldC-mISsDa9ZU0Utjv7w.png" /><figcaption>User Mathew Access.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*XiYMaCavyB4Q8XI0qLIfYw.png" /></figure><p>Here we have Image list — comatins two ID — use them to create the container.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*EWpJsXnuYzpecYDuH-_cOQ.png" /><figcaption>Container Con1 is created.</figcaption></figure><p>Create Container console in root.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*rFMuPR9qIn7qOBVA_u3uLw.png" /></figure><p>Then create new volume.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*k89-GMWsACnzy2RfWK9ZVw.png" /><figcaption>Create Volume</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*YBLFTRamBGtI0edBsrqVdQ.png" /><figcaption>Volume created</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*1D4HZQYMBnb2x1bvflqGAg.png" /><figcaption>Volume list</figcaption></figure><p>After creating Volume and container, execute the container console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*J6nzkCOE6S8RBvHXaJB3GA.png" /><figcaption>Root access.</figcaption></figure><p>Look in directories in root. <br>Here we have — root.txt — in root directory.<br>Here we have our Root FLAG.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6IvmBLeSX6fGxh4uUO1S2w.png" /><figcaption>Solved.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f43de5cc999" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Some random CTF walkthrough]]></title>
            <link>https://medium.com/@miss_DP/some-random-ctf-walkthrough-ffaa5ac63b53?source=rss-87ee9595c928------2</link>
            <guid isPermaLink="false">https://medium.com/p/ffaa5ac63b53</guid>
            <dc:creator><![CDATA[Deepshikha.]]></dc:creator>
            <pubDate>Thu, 04 Jul 2024 10:18:25 GMT</pubDate>
            <atom:updated>2024-07-09T16:54:10.093Z</atom:updated>
            <content:encoded><![CDATA[<h4>Some random CTF</h4><p>These are some random CTFs I have solved to practice my skills, you can find CTFs in various platforms like Pico Ctf , Hack the box etc.</p><h4>CTF-1</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*PxgcTtXY-uacZPmSRHkGLg.png" /></figure><p>In this task we need to bypass the security. Now let’s try to open the given <em>url — http://165.227.106.113/header.php</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*_JO906XVusOPu_hytqposA.png" /></figure><p>This site says that we’ve used a wrong user agent. Always look at the source code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*CE7fO6MLC2ywhkIC7COA4A.png" /></figure><p>In the comments we can see the user — agent. Now, use burpsuite to edit the header.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*BnS9zs3u375WCukHY-aSWA.png" /></figure><p>So this is our request header. Now send this header to repeater. In repeater we have to edit and then send this request to the server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*Kl5hJOlJ6BEcZ1rgIbNkww.png" /></figure><p>Now, copy the user agent from the source code and paste it here. Now let’s see the response from the server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*Ysr3b_cjgDgzR7knoS9MGw.png" /></figure><p>This site again says you are not from “awesomesauce.com”. Now add a refere to get the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/1*K1vAoeP7Z_uRzT95LVkW-A.png" /></figure><p>After sending the request to the server with referer in the header it will gives us the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/415/1*nj9uYwAiBqUVRvr6BA9dNQ.png" /><figcaption>Here is the FLAG!!</figcaption></figure><p>Copy the flag and paste it and it’s done.</p><h4>CTF — 2</h4><p>For this task, you are required to play around with the HTTP-request header. By using the Burp suite, the request is originally in GET.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/1*swbQ1jjnbIZ2CdIoEXe2_w.png" /></figure><p>Our objective is to change the request from GET to POST. If you look at the response, you should find the username and password for the POST request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*oDGAEPnhYGBoB9M-PV1JaQ.png" /></figure><p>By sending the request to the repeater and change the request with the following.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/1*YAYxg0U2txSWI8VuiuAPmg.png" /></figure><p>Here is the flag and it’s done.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*yRmbSk2KMesQMZngNHN8Pw.png" /><figcaption>FLAG!!</figcaption></figure><h4>CTF — 3</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/479/1*z8sxfhsFXb0WY3z8etRG0A.png" /></figure><p>Here, a link has been given, on clicking upon the link opens up a blank site with the heading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/1*Pyhd6VLlWkCQ_7ujbmbOGA.png" /></figure><p>Now from the word “robots” we can think of <strong>robots.txt</strong> files. A robots.txt file tells search engine crawlers which URLs the crawler can access on your site. Even the hint suggests <strong>“What part of the website could tell you where the creator doesn’t want you to look?”</strong><br> So I access the robots.txt file by <strong>adding /robots.txt</strong> to the URL of the site. This is what I get.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/234/1*q_eHOa2Toozdopu5PO06uw.png" /></figure><p>Now we can see the “Disallow” part of the file. It’s an HTML extension which means it should lead to another webpage. I add <strong>“/8028f.html” </strong>to the site’s URL and got the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/379/1*-tQl6T8XEaGe-On7-q4V1Q.png" /><figcaption>FLAG!!</figcaption></figure><h4>CTF — 4</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/487/1*yjh1Rp-T8Erh-wLFAahWJw.png" /></figure><p>In the description itself it is given there are two PDF files we required as invitation cards. And as mentioned both files need to have the same MD5 hash values.<br>First let’s try it with two pdfs with different MD5 hash values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/319/1*gtR4FpKk-Dwhc6tuj9FgLQ.png" /></figure><p>This is the page we need to upload the pdf files into.</p><p>We have two Files with two different MD5 hash.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*lLUKpWP8cyTX9aZgBuEw5g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/133/1*NvMsTNYzbDgQsG3CDwtGGw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/213/1*yZDV1bmv3m34QLXgmjPrFw.png" /></figure><p>Getting this message after uploading the PDFs, which means we need exactly same MD5 hash value- Pdf files.</p><p>For that either google such files or use MD5 sum in python script. Here I am picking up two files with same MD5 hash from google.com.</p><p>After uploading them, we got our required output and flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*rsojsuDtvI-Cxf9UIMmYPA.png" /><figcaption>FLAG!!</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ffaa5ac63b53" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>