<?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 Whit3 on Medium]]></title>
        <description><![CDATA[Stories by Whit3 on Medium]]></description>
        <link>https://medium.com/@Whit3?source=rss-5619e41e6cac------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*rsUr-pwcSmPnZg18Y4h58A.png</url>
            <title>Stories by Whit3 on Medium</title>
            <link>https://medium.com/@Whit3?source=rss-5619e41e6cac------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 01:48:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Whit3/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[how I found my first bug.]]></title>
            <link>https://medium.com/@Whit3/how-i-found-my-first-bug-15aed5487489?source=rss-5619e41e6cac------2</link>
            <guid isPermaLink="false">https://medium.com/p/15aed5487489</guid>
            <category><![CDATA[google-dorking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[recon]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <dc:creator><![CDATA[Whit3]]></dc:creator>
            <pubDate>Mon, 26 Dec 2022 09:29:39 GMT</pubDate>
            <atom:updated>2025-10-30T09:05:12.184Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*ZZC_y0JkIiFu2d7Cyj32Bw.jpeg" /></figure><p>Greetings everyone, my name is whit3.<br>this is a quick write-up about how was able to find my first bug with google dorking methods and nuclei vulnerability scanner. after checking many tweets about nuclei recently,I decided to install it and play around with it.<br>if you don’t know about nuclei it is a customizable vulnerability scanner based on YAML.this utility is used to send requests across targets based on a template or workflows (bundle of templates). you can check my summary notes on GitHub or my description in the previous article about it too:<br><a href="https://github.com/WhiteOwl-Pub/nuclei-notes">https://github.com/WhiteOwl-Pub/nuclei-notes</a></p><p>after checking several YouTube videos and articles about nuclei I decided to test it on real sites.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*Cc8MgllCmQoZZmGHy5_o0A.gif" /></figure><p>I use google dorks to test WordPress sites with parameters like:</p><pre>inurl:&quot;wordpress.bak&quot; site:.eu<br>inurl:&quot;/wp-json/wp/v2/users/&quot;<br>intitle:&quot;index of&quot; intext:&quot;Includes wordpress&quot;<br>inurl:&quot;/wp-json/&quot; -wordpress</pre><p>checking the responses and decided to scan them with nuclei or not. after 5 or 6 tries I found a government news site that interest me.I checked it with nuclei and this site blocked my IP. I waited about 10 minutes and I checked the site again and notice that my IP had access again ,so this site has some sort of firewall (WAF),and I must find a way to bypass it. I played around with limit rate options to see if I can bypass this firewall ,after some time I set the right options and the website did not detect scanner requests. it takes some time for the nuclei scan complete but the results this wonderful tool achieved were worth it!</p><pre>nuclei -u https://example.com -w workflows/wordpress-workflow.yaml -t file -t exposures -retries 2 -c 2 -rl 2</pre><p>this site has several critical vulnerabilities like XSS, user exposure, information disclosure, misconfiguration found just by running this command!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RFq6Z5afQzpr5ICpU5RqMg.png" /></figure><p>I checked other parts of the site manually with burp-suit and used other tools like wpscan,sqlmap,dirsearch,katana and … too .and found some log files and other file with sensitive information in it.so I decided it was enough and it was time to report my bugs.<br>I emailed them but I didn’t get any response ,I sent a message through their social media to inform them and sadly I didn’t get any answer yet. after two weeks of waiting, I checked the site again and contacted them again with no response. they add news every day on their site but they didn’t care about site security. so I let it go,(if they answer I will update my article)and yes! this is the story of the first bug I found!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15aed5487489" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10 Practical Recon & vulnerability Scanners for bug hunters (part two)]]></title>
            <link>https://medium.com/@Whit3/10-practical-recon-vulnerability-scanners-for-bug-hunters-part-two-eed49f3cc86e?source=rss-5619e41e6cac------2</link>
            <guid isPermaLink="false">https://medium.com/p/eed49f3cc86e</guid>
            <category><![CDATA[web-pen-testing]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[osint]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[recon]]></category>
            <dc:creator><![CDATA[Whit3]]></dc:creator>
            <pubDate>Thu, 15 Dec 2022 16:27:04 GMT</pubDate>
            <atom:updated>2025-10-30T09:05:36.383Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*YaVWvfEOrjvD2qpPsRDMbQ.jpeg" /></figure><p>Hello again friends, whit3 is here.<br>I hope you enjoy the last part, in this article, I want to introduce several active recon tools and automated vulnerability scanners.</p><h3>dirsearch</h3><p>dirsearch, written in python is designed to brute-force directories and files on web servers because multi-threading is very fast and outputted reports are in very good shape (check html format!). this tool has its own word list (10000 words) by default or we can use several custom word lists of our own.</p><p>note that dirsearch only replaces the `%EXT%` keyword with extensions we set from `-e` option, the default dictionary has this keyword but for other word lists, we can use `-f` option to force append Extension to every word.<br>it is good to modify the word list by adding custom ` — prefixes`, ` — suffixes`, or `-U` (uppercase), and `-L` (Lowercase) word lists.<br>we can intercept requests made with dirsearch with burp suit with — proxy option too.</p><p>examples:</p><pre>python3 dirsearch.py -u https://example.com  ==&gt; simple search with dirsearch default wordlist<br><br>python3 dirsearch.py -u https://example.com -w common_paths.txt,api-seen-in-wild.txt --crawl -t 5 ==&gt; using two wordlists and crawling for new paths with just 5 threads<br><br>python3 dirsearch.py -u https://example.com -f php,html,js -w common.txt --format html -o report.html ==&gt; force these extentions to every word in wordlist and report in html format<br><br>python3 dirsearch.py -u https://example.com --proxy 127.0.0.1:7070 ==&gt; using burpsuit proxy</pre><p>source: <a href="https://github.com/maurosoria/dirsearch">https://github.com/maurosoria/dirsearch</a></p><h3>ffuf (Fuzz Faster you Fool)</h3><p>web fuzzing tool written in Go this tool is very popular among bug bounties, this tool is intended for discovering elements and content within web applications, or web servers. you can fuzz everything in the URLs. it has a lot of flags to optimize the result:</p><ul><li>Match and filter on Response Code</li><li>Using an Interface like burp suit with it</li><li>Fuzzing Multiple Locations</li><li>Delay Between Requests (for WAF)</li><li>Using Replay Proxy</li></ul><p>I wrote a summary note for useful options with examples and how to intercept all traffic through burp suit in GitHub: <a href="https://github.com/WhiteOwl-Pub/ffuf-notes">https://github.com/WhiteOwl-Pub/ffuf-notes</a></p><p>source: <a href="https://github.com/search?q=ffuf">https://github.com/search?q=ffuf</a></p><h3>gobuster</h3><p>gobuster is a tool used to brute-force URIs (directories and files), DNS subdomains, Vhosts, and Open Amazon S3 buckets. it has 6 different modes:</p><ul><li>dir: uses directory/file enumeration mode</li><li>dns: uses DNS subdomain enumeration mode</li><li>fuzz: uses fuzzing mode</li><li>s3: uses aws bucket enumeration mode</li><li>gcs — Enumerate open google cloud buckets</li><li>vhost: uses VHOST enumeration mode</li></ul><p>examples:</p><pre>gobuster dir -u https://example.com -w common.txt ==&gt; enum directories and files<br><br>gobuster dns -d example.com -w wordlist.txt ==&gt; enum subdomains for example.com <br><br>gobuster fuzz -u https://example.com?FUZZ=test -w parameter-names.txt ==&gt; fuzzing parametes<br><br>gobuster vhost -u  https://example.com -w subs-5000.txt ==&gt; enum subdomains<br><br>gobuster s3 -w bucket<br><br>gobuster gcs -w buckets-ep.txt</pre><p>source: <a href="https://github.com/OJ/gobuster">https://github.com/OJ/gobuster</a></p><h3>nuclei</h3><p>finally! very interesting vulnerability scanner I encountered in many bug hunter tweets and I find my first bug with it!<br>the way this tool work is it has config files (templates) in lots of categories checking for vulnerability, exposures, misconfiguration, and … the configs are based on YAML and very simple to write so we can create a custom one for our need. if you want several specific templates to use for penetration you can write workflows (bundle of templates).<br>if you want to use and check community templates,Cent is a useful tool for organizing all the nuclei templates created by the community in one place. check: <a href="https://github.com/xm1k3/cent">https://github.com/xm1k3/cent</a><br>many of the sites I tested were using IDS/IPS and they detect and block my IP fast .but after I added limit rates to reduce requests I successfully completely pentest many of them so check and play with the limit rate option too.</p><p>you can find all templates and workflows in `$HOME/nuclei-templates/`<br>I wrote a summary note for it with useful tips and tricks:<br><a href="https://github.com/WhiteOwl-Pub/nuclei-notes">https://github.com/WhiteOwl-Pub/nuclei-notes</a></p><p>source: <a href="https://github.com/projectdiscovery/nuclei">https://github.com/projectdiscovery/nuclei</a></p><h3>nikto</h3><p>Nikto is a web server scanner that performs tests against web servers for multiple items.<br>Nikto is not designed as a stealthy tool and many IPS and IDS can detect it easily, but it has eight different IDS evasion techniques that we can use.<br>this tool is useful to find potential problems and security vulnerabilities, including:</p><ul><li>Server and software misconfigurations</li><li>Default files and programs</li><li>Insecure files and programs</li><li>Outdated servers and programs</li><li>Pointers to lead a human tester to better manual test</li></ul><pre>nikto -h https://example.com<br><br>nikto -h https://example.com -Display 1 -evasion 2 ==&gt; Show redirects and set evasion mode on Directory self-reference</pre><p>source: <a href="https://github.com/sullo/nikto/">https://github.com/sullo/nikto/</a></p><h3>Final notes</h3><p>thanks for reading this article I hope you learn something new from it! these are useful tools for automating them with the right options and running them when we don’t have any work to do or just run them in the background. note that for these scripts use timeout options for tools too.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eed49f3cc86e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10 Practical Recon & vulnerability Scanners for bug hunters (part one)]]></title>
            <link>https://medium.com/@Whit3/10-practical-recon-vulnerability-scanners-for-bug-hunters-part-one-31460b4f642e?source=rss-5619e41e6cac------2</link>
            <guid isPermaLink="false">https://medium.com/p/31460b4f642e</guid>
            <category><![CDATA[web-penetration-testing]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[recon]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[osint]]></category>
            <dc:creator><![CDATA[Whit3]]></dc:creator>
            <pubDate>Fri, 09 Dec 2022 16:10:56 GMT</pubDate>
            <atom:updated>2025-10-30T09:06:34.496Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*YaVWvfEOrjvD2qpPsRDMbQ.jpeg" /></figure><p>Greetings everyone, I’m whit3.</p><p>recently I mainly saw youtube videos and read articles about what recon and vuln scanners bug bounty hunters used, and then I tested them to see how these tools worked.<br>after all, we know the recon step is very important in bug bounties and there are a ton of scripts and tools in GitHub to use. but some of them did not work very well and as result, you could miss a critical vuln or have many false positives. in my opinion, using two or three right tools is better than using tons of them with false positive results.</p><p>I even found my first bug while testing these tools and I will write a write-up for it soon. <br>so let’s get to it!</p><h3>amass</h3><p>the focus of this excellent tool is on passively or actively enumerating subdomains.<br>amass has 5 subcommands: intel, enum, viz, track, db</p><p>intel: <br>useful for collecting OSINT data on the organization and allow you to find further root domain names associated with the organization we can use it to gather IP ranges, ASNs, and parent domains owned by an organization<br>we can set ASN numbers, organization names, and domain options to find info.</p><p>enum: <br>this option is for enumerating all subdomains. also, we can employ options like `-sc` to see what data sources these subs are discovered with, `-ipv4 `for their IPs, and `-brute` to execute brute-forcing.</p><p>viz:<br>visualize all the gathered information with this option in several ways like maltego and gexf and d3.</p><p>track:<br>if you have a specific target and want to see what changes in domains and their subs periodically<br>use this option. also, it is useful for organizations to track their services and domains.</p><p>db:<br>all of our enumerations are stored amass database we can see all in the list with amass `db -list`. if you enumerate a lot this option can be useful.</p><p>examples:</p><pre><br>amass intel -asn 262387<br>amass enum -d example.com -ipv4 -src <br><br></pre><p><a href="https://github.com/OWASP/Amass">source</a>: https://github.com/OWASP/Amass</p><h3>theHarvester</h3><p>powerful and old recon tool based on python to perform OSINT gathering, this tool searches for names, emails, IPs, subdomains, ASNs, and URLs (and some interesting ones!). using public resources to fully benefit from this you must get some of API you need and added them `api-keys.yaml` config file in theHarvester directory.</p><p>for a complete search with all resources, we can set the harvester to check all sources with the `-b all` option.<br>some interesting features we can use this tool for is Subdomain Takeover checks with `-r`, <br>using Shodan on discovered hosts with `-s`, DNS lookup `-n`, and DNS brute forcing with `-d`.<br>one of the cons of this tool I encounter is sometimes we get too many false positives.</p><p>example:<br>`python theHarvester.py -d google.com -b all`</p><p>source: <a href="https://github.com/laramies/theHarvester">https://github.com/laramies/theHarvester</a></p><h3>subfinder</h3><p>if you are in a hurry to find subdomains use subfinder! written in Go, this tool is very fast and simple to use for subdomain discoveries. note that this tool is used for just passive enumerations.</p><p>like theHarvester, this tool has `-all` option to search all resources but it is very time-consuming.<br>for choosing a specific resource to check subs we use -s option (see all of the available resources we can use with -ls option)<br>for better results add API keys for resources in subfinder config file at `$HOME/.config/subfinder/config.yaml`. for simple usage just use it like the example below.<br>furthermore, we can chain subfinder and httpx commands to see more accurate results.<br>note that as the option (`-d`) tells, don’t use www. or https:// in domain entry.</p><p>example:<br>`subfinder -d example.com`</p><p>source: <a href="https://github.com/projectdiscovery/subfinder7">https://github.com/projectdiscovery/subfinder7</a></p><h3>httpx</h3><p>httpx is an HTTP toolbox that lets running multiple probes. we can check status codes, page titles, technology in use, IPs, ASN, and … for targets.<br>it’s a very flexible tool to use, some interesting features I use are to set a filter or match options for status codes I want and then output them. and path brute-forcing for checking in a certain path for a list of targets.</p><p>examples:</p><pre>subfinder -d example.com -silent| httpx -title -status-code -tech-detect -probe  ==&gt; #chain command with subfinder<br><br>httpx -l hosts -o httpx-report -probe -status-code -ip  ==&gt; #probe list of targes we give  <br><br>httpx -l urls.txt -path /v1/api -sc -probe ==&gt; #path brute-forceing</pre><p>source: <a href="https://github.com/projectdiscovery/httpx">https://github.com/projectdiscovery/httpx</a></p><h3>katana</h3><p>katana is a utility for crawling and spidering websites written in go. katana has two modes: standard mode and headless mode.</p><p>standard crawling is much faster as it doesn’t have the browser overhead but it doesn’t render any javascript or DOM as the result, we are missing post-dom-rendered endpoints or asynchronous endpoint calls.</p><p>headless crawling hooks internal headless calls to handle HTTP requests/responses directly within the browser context so as result it is identified as the legitimate browser and can render javascript or DOM, unlike standard mode.</p><p>examples:</p><pre>katana -u https://example.com ==&gt; simple usage<br><br>subfinder -d example.com -silent | katana ==&gt; finding subs and crawling them.<br><br>cat targets | katana -hl -o katana-report ==&gt; crawling with headless mode list of targets </pre><p>source: <a href="https://github.com/search?q=katana">https://github.com/search?q=katana</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31460b4f642e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[what is two-factor authentication and how to bypass it?]]></title>
            <link>https://medium.com/@Whit3/what-is-two-factor-authentication-and-how-to-bypass-it-486add77fd65?source=rss-5619e41e6cac------2</link>
            <guid isPermaLink="false">https://medium.com/p/486add77fd65</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[mfa]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[2fa-bypass]]></category>
            <category><![CDATA[2fa-authentication]]></category>
            <dc:creator><![CDATA[Whit3]]></dc:creator>
            <pubDate>Thu, 24 Nov 2022 16:14:39 GMT</pubDate>
            <atom:updated>2025-10-30T09:07:19.701Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*MBfxdfLOIIDlI-x0BfXhfQ.jpeg" /></figure><h3>Summary</h3><p>Hello everyone I’m whit3. in this article we will speak about several techniques to bypass 2FA authentication.</p><p>we may all have tried to use 2FA authentication at least once in our life to increase our account security, but does really this method secure our account against hackers? I think it’s all about the implementation of this security module in web apps. Poorly implemented 2FA authentication can be bypassed entirely!<br>we start to see what really 2FA is and do, then we see how to implement it, and finally, we get to ways to bypass poorly implemented 2FA authentications.</p><h3>terminologies &amp; definitions</h3><p><strong>several definitions we need to know:</strong><br>2FA (two-factor authentication):<br>security process in which users provide two different authentication factors to verify themselves.</p><p>MFA (Multi-factor authentication): using two or more different authentication factors for securing access to a given system.</p><p>SFA (Single-factor authentication): using just one authentication factor to for securing access to a given system.</p><p><strong>and we have three main factors:</strong><br>knowledge factors:<br>Something you know, such as a password or the answer to a security question.</p><p>possession factors:<br>Something you have, that is, a physical object like a mobile phone or security token. These are sometimes referred to as “possession factors”.</p><p>inherence factors:<br>Something you are or do, for example, your biometrics or patterns of behavior. These are sometimes referred to as “inherence factors”.</p><h3>Simple 2FA Steps:</h3><p>1. user goes to the login page of the application or website and enters the credentials (username &amp; password) and then the server check that the credentials are valid. (first auth factor) <br>2. after successfully passing the first step of auth, the server generates a unique key for the user to use and pass the second auth factor.(this could be the 2FA generator app on mobile or server sending code with a text message.)<br>3. user uses the received code to pass the second auth, and the server verifies the code if it matches the code server generates a user login to their account.</p><p>it’s good to note that we must use different factors, not the same ones when implementing MFAs, for example, it’s not a good way to use passwords and send 2FA codes to an Email address because these are the same verification factors that we use in different ways. and some ways like texting MFA codes are prone to the risk of SIM swapping so that attackers can see what messages are received.</p><p>MFAs are a good way to increase our account security to prevent hackers from gaining access to our accounts. attackers could achieve users’ passwords in some ways (data breaches, phishing and …) but these modules add a second security layer that hardens for attackers to gain access to user accounts.</p><h3>ways to Bypassing 2FA</h3><p><strong>Bypassing two-factor authentication with URL Endpoint:</strong><br>Poor implementation of two-factor authentication can be bypassed entirely. if there are separate pages to authenticate these two factors it could be a flaw that when the user authenticates the first factor on the first page they go into the login state and it can be bypassed if the attacker changes the URL endpoint or cookies to access the account page.</p><p>for a demonstration I use PortSwigger lab (the resource links are below):</p><ol><li>we first use our credentials to access our account.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*sfLVdOkBmkrrw5Hqplxylg.png" /></figure><p>2. after successful auth, we use the 2fa code that the server sent to our email.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*LRnpXLcxeVEuPbLC4uXyOw.png" /></figure><p>3. then we access our account, just make a note of the URL endpoint: <em>/my-account</em><br>if the site has the flaw we can use the URL endpoint after the first step of auth for other users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*m6SGUYOmgPCcUpYIRYBrmg.png" /></figure><p>4. we log out and then use victim credentials to auth the first factor (user and password).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/909/1*_TA4poR5mH6GC5HUjOlUrg.png" /></figure><p>5. after successfully pass the first factor we need just to change /login2 endpoint to /my-account in URL to bypass it entirely.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*UHXtPELnUAgE2mpG8r4Dcw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*m6SGUYOmgPCcUpYIRYBrmg.png" /></figure><p>6. finally, we access to victim account and bypass the 2FA auth.</p><h3>Bypassing two-factor authentication with cookies</h3><p>sometimes sites do not check who is completing the second step of 2FA, the attacker can change the cookies and access to users that he/she is enumerated. so we can see this type of flaw is compromise the first step of auth and the attacker can access users just with their user names.</p><p>I use another PortSwigger lab :</p><p>note that in this lab we need to use the Burp Suite tool to intercept and forward modified requests.</p><p>1.after we set up Burp proxy we intercept all login process with our own credentials and access our account and then log out.</p><p>2. we now go to burp proxy &gt; HTTP History to see all requests and responses. after some checking, we notice GET /login2 request has a cookie to verify the username to send an email.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rG8kTaBCouiOMXQwAU54GA.png" /></figure><p>3. we run it in the repeater tab and tested to see each time we send a request the 2FA auth mechanism sends from the server to our email.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JcqQjs4irx4MvWPAxb8H7Q.png" /></figure><p>4. we can figure out that if we change verify cookie to the victim user and send the request, the server sends the 2FA code to the victim’s email. since we don’t have access to the victim’s email we do it just to know there is a code to brute-force.</p><p>5. we go to proxy &gt; HTTP History to send POST /login2 request for 2FA to intruder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oENk5tcjHe8jI2Xiru2hCg.png" /></figure><p>6. at the intruder tab set the attack to sniper and change verify cookie to the victim’s username (in this case carlos) and set the brute-force position to MFA amount.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zhjkgJBIy3aM7GGEJC7I8w.png" /></figure><p>7. in the payloads tab we change the payload type to numbers and the payload option from 0 to 1000 and step to 1 and changed the format to 4 digits without fractions because we know the 2FA code for this site is 4 digits and start the attack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*kFvyu5Vs_FxD9oMgz2yVJQ.png" /></figure><p>8)it may take some time to find the code 302 code. we can click on the response column to set it to when we get the code, it showed at the top of the column and then we can use the URL to access the victim’s account.</p><p>9)we right-click on the code and copy the original session and paste it into the browser.</p><p>this is the first article I wrote and I hope you enjoy it if you have any suggestions or found problems with this I’m glad to hear about it.</p><p>thanks for reading it to the end!</p><h3>sources:</h3><ul><li><a href="https://portswigger.net/web-security/authentication/multi-factor">Vulnerabilities in multi-factor authentication | Web Security Academy</a></li><li><a href="https://portswigger.net/web-security/authentication/multi-factor/lab-2fa-broken-logic">Lab: 2FA broken logic</a></li><li><a href="https://portswigger.net/web-security/authentication/multi-factor/lab-2fa-simple-bypass">Lab: 2FA simple bypass</a></li><li><a href="https://www.techtarget.com/searchsecurity/definition/two-factor-authentication">What is Two-Factor Authentication (2FA) and How Does It Work?</a></li><li><a href="https://www.investopedia.com/terms/t/twofactor-authentication-2fa.asp">What Is Two-Factor Authentication (2FA)? How It Works and Example</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=486add77fd65" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>