<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	 xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>holes &#8211; AnonyViet &#8211; English Version</title>
	<atom:link href="https://en.anonyviet.com/tag/holes/feed/" rel="self" type="application/rss+xml" />
	<link>https://en.anonyviet.com</link>
	<description>The most popular website for sharing information technology, computer networks, and security knowledge. Stay up to date with the hottest news and tips</description>
	<lastBuildDate>Sun, 29 Jan 2023 23:21:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.2</generator>

<image>
	<url>https://en.anonyviet.com/wp-content/uploads/2023/01/cropped-ico-logo-75x75-1.png</url>
	<title>holes &#8211; AnonyViet &#8211; English Version</title>
	<link>https://en.anonyviet.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Code guide to test Sql Injection security holes with Python script and how to prevent it.</title>
		<link>https://en.anonyviet.com/code-guide-to-test-sql-injection-security-holes-with-python-script-and-how-to-prevent-it/</link>
					<comments>https://en.anonyviet.com/code-guide-to-test-sql-injection-security-holes-with-python-script-and-how-to-prevent-it/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Sun, 29 Jan 2023 23:21:52 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[holes]]></category>
		<category><![CDATA[Injection]]></category>
		<category><![CDATA[prevent]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Test]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=6451</guid>

					<description><![CDATA[In this post, AnonyViet will help you check if your website is attacked by python sql syntax 🙂 …!!! Join the channel Telegram of the AnonyViet 👉 Link 👈 And it will only work if the variables use the GET method. Here we will write a code in python language. We will need an internet [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div>
<p><span style="color: #ff0000">In this post, <strong>AnonyViet</strong> will help you check if your website is attacked by python sql syntax 🙂 …!!!</span></p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p><span style="color: #ff0000">And it will only work if the variables use the GET method.</span></p>
<p><span style="color: #ff0000">Here we will write a code in python language.</span></p>
<p><span style="color: #ff0000">We will need an internet connection to check and a vulnerable website.</span></p>
<p><span style="color: #ff0000">To find a vulnerable website for testing, go to google and type dorks SQLi :</span></p>
<p><code>inurl: "index.php? Cat_id ="</code></p>
<p><img fetchpriority="high" decoding="async" class=" wp-image-5639 aligncenter" src="https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-12.38.09-AM-300x208.png" alt="Code guide to test Sql Injection security holes with Python script and how to prevent it.  9" width="691" height="479" srcset="https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-12.38.09-AM-300x208.png 300w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-12.38.09-AM-1024x711.png 1024w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-12.38.09-AM-768x533.png 768w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-12.38.09-AM-1536x1066.png 1536w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-12.38.09-AM-750x521.png 750w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-12.38.09-AM-1140x791.png 1140w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-12.38.09-AM.png 1902w" sizes="(max-width: 691px) 100vw, 691px" title="Code guide to test Sql Injection security holes with Python script and how to prevent it.  11"/></p>
<p><span style="font-size: 24pt;color: #ff0000">You follow the steps below to write a piece of python code:</span></p>
<p><span style="color: #ff0000">First open notepad/sublime Text , … create a file then save it: new.py</span></p>
<p><span style="color: #ff0000">We will use <strong>sys, urllib </strong>and<strong> urllib.request modules</strong>.  So import the following libraries: <strong>import sys, urllib, urllib.request</strong> or <strong>import sys</strong>, <strong>import urllib</strong> and <strong>import urllib.request</strong></span></p>
<p><img decoding="async" loading="lazy" class="wp-image-5652 aligncenter" src="https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.59.33-AM-300x174.png" alt="Code guide to test Sql Injection security holes with Python script and how to prevent it.  ten" width="690" height="400" srcset="https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.59.33-AM-300x174.png 300w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.59.33-AM-1024x595.png 1024w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.59.33-AM-768x446.png 768w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.59.33-AM-1536x892.png 1536w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.59.33-AM-750x435.png 750w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.59.33-AM-1140x662.png 1140w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.59.33-AM.png 1588w" sizes="auto, (max-width: 690px) 100vw, 690px" title="Code guide to test Sql Injection security holes with Python script and how to prevent it.  twelfth"/></p>
<p><span style="color: #ff0000">Next: Now we will need to select the input type.</span></p>
<p><span style="font-size: 12pt;color: #ff0000"><strong>1. Use the input(“”) command to get input from the user. </strong></span></p>
<p><strong>fullurl = input(“Please specify the full vulnerable url: “)</strong></p>
<p><img decoding="async" loading="lazy" class="wp-image-5651 aligncenter" src="https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.58.55-AM-300x172.png" alt="Code guide to test Sql Injection security holes with Python script and how to prevent it.  11" width="708" height="406" srcset="https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.58.55-AM-300x172.png 300w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.58.55-AM-1024x588.png 1024w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.58.55-AM-768x441.png 768w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.58.55-AM-1536x883.png 1536w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.58.55-AM-750x431.png 750w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.58.55-AM-1140x655.png 1140w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.58.55-AM.png 1580w" sizes="auto, (max-width: 708px) 100vw, 708px" title="Code guide to test Sql Injection security holes with Python script and how to prevent it.  13"/></p>
</p>
<p><span style="color: #ff0000"><strong>2. Code that makes a web request</strong></span></p>
<p><span style="color: #ff0000">This is the most important part.</span></p>
<p><code><strong>resp = urllib.request.urlopen(fullurl + "=1\' or \'1\' = \'1\'")</strong></code><br /><code><strong>body = resp.read()</strong></code><br /><code><strong>fullbody = body.decode(‘utf-8’)</strong></code></p>
<p><img decoding="async" loading="lazy" class="wp-image-5650 aligncenter" src="https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.58.09-AM-300x171.png" alt="Code guide to test Sql Injection security holes with Python script and how to prevent it.  twelfth" width="758" height="432" srcset="https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.58.09-AM-300x171.png 300w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.58.09-AM-1024x583.png 1024w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.58.09-AM-768x437.png 768w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.58.09-AM-1536x875.png 1536w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.58.09-AM-750x427.png 750w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.58.09-AM-1140x649.png 1140w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.58.09-AM.png 1542w" sizes="auto, (max-width: 758px) 100vw, 758px" title="Code guide to test Sql Injection security holes with Python script and how to prevent it.  14"/></p>
<p><span style="color: #ff0000">Now make our program check if the target is vulnerable, once we have response then we have to check if it has SQL error.</span></p>
<p><span style="color: #ff0000">We will use this code:</span></p>
<p><code><strong>if “You have an error in your SQL syntax” in fullbody:</strong></code></p>
<p><code><strong>print (“The website is classic SQL injection vulnerable!”)</strong></code></p>
<p><code><strong>else:</strong></code></p>
<p><code><strong>print (“The website is not classic SQL injection vulnerable!”)</strong></code></p>
<p><img decoding="async" loading="lazy" class="wp-image-5648 aligncenter" src="https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.57.07-AM-300x173.png" alt="Code guide to test Sql Injection security holes with Python script and how to prevent it.  13" width="675" height="389" srcset="https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.57.07-AM-300x173.png 300w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.57.07-AM-1024x592.png 1024w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.57.07-AM-768x444.png 768w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.57.07-AM-1536x888.png 1536w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.57.07-AM-1140x659.png 1140w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.57.07-AM.png 1584w" sizes="auto, (max-width: 675px) 100vw, 675px" title="Code guide to test Sql Injection security holes with Python script and how to prevent it.  15"/><span style="color: #ff0000">Ok.  Now let&#8217;s run it:</span></p>
<p><span style="color: #ff0000">Use the command: python “name”.py</span></p>
<p><span style="color: #ff0000">Then enter the site you found at the beginning.</span></p>
<p><img decoding="async" loading="lazy" class="wp-image-5646 aligncenter" src="https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.30.08-AM-300x151.png" alt="Code guide to test Sql Injection security holes with Python script and how to prevent it.  14" width="664" height="334" srcset="https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.30.08-AM-300x151.png 300w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.30.08-AM-1024x517.png 1024w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.30.08-AM-768x387.png 768w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.30.08-AM-360x180.png 360w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.30.08-AM-750x378.png 750w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.30.08-AM-1140x575.png 1140w, https://anonyviet.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-21-at-1.30.08-AM.png 1340w" sizes="auto, (max-width: 664px) 100vw, 664px" title="Code guide to check for Sql Injection security vulnerabilities with Python script and how to prevent it.  16"/></p>
<p><span style="color: #ff0000">Ok so it worked.</span></p>
<p><span style="color: #ff0000">Method 2: Use it quickly, then use it</span></p>
<ul>
<li><span style="color: #ff0000">python “name”.py -w website</span></li>
</ul>
<p><span style="text-decoration: underline;font-size: 18pt"><strong><span style="color: #ff0000;text-decoration: underline">Now to prevent Hacker from checking my site with SQL injection, I do the following:</span></strong></span></p>
<p><span style="color: #ff0000">Prevent SQLi on MYSQL simply use the string mysql_real_escape for queries, for example:</span></p>
<p><code><strong>$query = sprintf(“SELECT * FROM users where user=’%s’ AND password=’%s’,</strong></code></p>
<p><code><strong>                        mysql_real_escape_string($username)</strong></code></p>
<p><code><strong>                        mysql_real_escape_string($password)</strong></code></p>
<p><span style="color: #ff0000">Wish you success and accompany AnonyViet. </span></p>
<p><span style="color: #ff0000">Love !!</span></p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;5638&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
<p><!-- AI CONTENT END 2 --></p></div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/code-guide-to-test-sql-injection-security-holes-with-python-script-and-how-to-prevent-it/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2017/06/12121212.jpg" medium="image"></media:content>
            	</item>
		<item>
		<title>How to find Website security holes with OWASP ZAP</title>
		<link>https://en.anonyviet.com/how-to-find-website-security-holes-with-owasp-zap/</link>
					<comments>https://en.anonyviet.com/how-to-find-website-security-holes-with-owasp-zap/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Wed, 25 Jan 2023 10:01:57 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Find]]></category>
		<category><![CDATA[holes]]></category>
		<category><![CDATA[OWASP]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[ZAP]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=2808</guid>

					<description><![CDATA[Website security is always a necessary issue before operating on the Internet. If you want to check if your Website has security holes, use OWASP ZAP &#8211; Zed Attack Proxy software to scan for errors. Join the channel Telegram of the AnonyViet 👉 Link 👈 OWASP ZAP – Zed Attack Proxy is an open source [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p><strong>Website security is always a necessary issue before operating on the Internet.  If you want to check if your Website has security holes, use OWASP ZAP &#8211; Zed Attack Proxy software to scan for errors.</strong></p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p>OWASP ZAP – Zed Attack Proxy is an open source tool that allows you to test the robustness of your application against security vulnerabilities.  But what exactly is OWASP ZAP?</p>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2021%2F11%2Fcach-su-dung-zap-quet-lo-hong-bao-mat.jpg" rel="noopener" class="local-link"><img post-id="2808" fifu-featured="1" decoding="async" class="aligncenter wp-image-36635 size-full" src="https://anonyviet.com/wp-content/uploads/2021/11/cach-su-dung-zap-quet-lo-hong-bao-mat.jpg" alt="How to find Website security holes with OWASP ZAP" title="How to find Website security holes with OWASP ZAP" width="600" height="338" srcset="https://anonyviet.com/wp-content/uploads/2021/11/cach-su-dung-zap-quet-lo-hong-bao-mat.jpg 600w, https://anonyviet.com/wp-content/uploads/2021/11/cach-su-dung-zap-quet-lo-hong-bao-mat-300x169.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" title="How to find Website security holes with OWASP ZAP 20"/></a></p>
<p>In a nutshell, this is a vulnerability testing tool that helps programmers and security professionals discover website vulnerabilities.  You can perform a variety of tasks through OWASP ZAP, including scanning web requests, using dictionary lists to find files and folders on the web server, and crawling websites to find all the files and folders on the web server. link and URL.  In addition, you can intercept, view, modify, and forward web requests between the browser and the web application using OWASP ZAP.</p>
<p>OWASP ZAP scanning can reveal problems related to <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fsql-injection-la-gi-lam-the-nao-de-ngan-chan-lo-hong-sql-injection%2F" rel="noopener" class="local-link">SQL injection</a>broken authentication, exposed sensitive data, broken access control, security misconfiguration, <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2F10-website-giup-ban-thuc-hanh-ky-nang-hack-xss%2F" rel="noopener" class="local-link">Cross-Site Scripting (XSS)</a>insecure decryption, components with known vulnerabilities, and any missing security headers.</p>
<p>In this article, we will see how OWASP ZAP works, how to set up ZAP, how to create our own crawlers to scan for vulnerabilities.</p>
<h2 id="ftoc-owasp-zap-hoat-dong-nhu-the-nao" class="ftwp-heading">How does OWASP ZAP work?</h2>
<p>OWASP ZAP is a proxy server that scans all traffic running through it.  This proxy server includes automated tools that allow you to block security holes on your website and generate reports from its findings.  Here&#8217;s a quick diagram of how ZAP works.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-36617 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/01.jpg" alt="How to find Website security holes with OWASP ZAP 16" width="528" height="352" srcset="https://anonyviet.com/wp-content/uploads/2021/11/01.jpg 528w, https://anonyviet.com/wp-content/uploads/2021/11/01-300x200.jpg 300w" sizes="auto, (max-width: 528px) 100vw, 528px" title="How to find Website security holes with OWASP ZAP 21"/></p>
<p>ZAP creates its attacks by running the ZAP browser on a URL.  During this process, ZAP will use its crawlers to gather information about a target application, scan all available pages, and then run the active scanner on it.  The active scanner will accurately identify any vulnerabilities using known attack methods on the targets it receives from the scan.  Alerts will be issued if potential vulnerabilities are detected and flagged from high to low based on the level of risk.</p>
<h2 id="ftoc-thiet-lap-zap-zed-attack-proxy" class="ftwp-heading">Setting up ZAP – Zed Attack Proxy</h2>
<p><strong>Step 1:</strong> To set up OWASP ZAP, you need to install it first.  You can access: <a target="_blank" href="https://en.anonyviet.com/next-link/?url=http%3A%2F%2Fzaproxy.org%2Fdownload" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">zaproxy.org/download</a> to select an installer that is compatible with your operating system.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-36618 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/02-1-768x525-1.jpg" alt="How to find Website security holes with OWASP ZAP 17" width="768" height="525" srcset="https://anonyviet.com/wp-content/uploads/2021/11/02-1-768x525-1.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/11/02-1-768x525-1-300x205.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/11/02-1-768x525-1-750x513.jpg 750w" sizes="auto, (max-width: 768px) 100vw, 768px" title="How to find Website security holes with OWASP ZAP 22"/></p>
<p><strong>Step 2: </strong>Once downloaded, run the installer.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-36619 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/03.png" alt="How to find Website security holes with OWASP ZAP 18" width="510" height="510" srcset="https://anonyviet.com/wp-content/uploads/2021/11/03.png 510w, https://anonyviet.com/wp-content/uploads/2021/11/03-300x300.png 300w, https://anonyviet.com/wp-content/uploads/2021/11/03-150x150.png 150w, https://anonyviet.com/wp-content/uploads/2021/11/03-75x75.png 75w, https://anonyviet.com/wp-content/uploads/2021/11/03-350x350.png 350w" sizes="auto, (max-width: 510px) 100vw, 510px" title="How to find Website security holes with OWASP ZAP 23"/></p>
<p><strong>Step 3:</strong> Read and accept the terms and conditions to continue.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-36620 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/04-2.png" alt="How to find Website security holes with OWASP ZAP 19" width="510" height="510" srcset="https://anonyviet.com/wp-content/uploads/2021/11/04-2.png 510w, https://anonyviet.com/wp-content/uploads/2021/11/04-2-300x300.png 300w, https://anonyviet.com/wp-content/uploads/2021/11/04-2-150x150.png 150w, https://anonyviet.com/wp-content/uploads/2021/11/04-2-75x75.png 75w, https://anonyviet.com/wp-content/uploads/2021/11/04-2-350x350.png 350w" sizes="auto, (max-width: 510px) 100vw, 510px" title="How to find Website security holes with OWASP ZAP 24"/></p>
<p><strong>Step 4:</strong> Select &#8216;Standard installation&#8217; and click &#8216;Next&#8217;.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-36621 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/05-1.png" alt="How to find Website security holes with OWASP ZAP 20" width="510" height="510" srcset="https://anonyviet.com/wp-content/uploads/2021/11/05-1.png 510w, https://anonyviet.com/wp-content/uploads/2021/11/05-1-300x300.png 300w, https://anonyviet.com/wp-content/uploads/2021/11/05-1-150x150.png 150w, https://anonyviet.com/wp-content/uploads/2021/11/05-1-75x75.png 75w, https://anonyviet.com/wp-content/uploads/2021/11/05-1-350x350.png 350w" sizes="auto, (max-width: 510px) 100vw, 510px" title="How to find Website security holes with OWASP ZAP 25"/></p>
<p><strong>Step 5:</strong> Click &#8216;Install&#8217; to finish.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-36622 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/06-1.jpg" alt="How to find Website security holes with OWASP ZAP 21" width="510" height="510" srcset="https://anonyviet.com/wp-content/uploads/2021/11/06-1.jpg 510w, https://anonyviet.com/wp-content/uploads/2021/11/06-1-300x300.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/11/06-1-150x150.jpg 150w, https://anonyviet.com/wp-content/uploads/2021/11/06-1-75x75.jpg 75w, https://anonyviet.com/wp-content/uploads/2021/11/06-1-350x350.jpg 350w" sizes="auto, (max-width: 510px) 100vw, 510px" title="How to find Website security holes with OWASP ZAP 26"/></p>
<p><strong>Step 6:</strong> Wait a moment for the program to finish installing.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-36623 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/07-1.png" alt="How to find Website security holes with OWASP ZAP 22" width="510" height="510" srcset="https://anonyviet.com/wp-content/uploads/2021/11/07-1.png 510w, https://anonyviet.com/wp-content/uploads/2021/11/07-1-300x300.png 300w, https://anonyviet.com/wp-content/uploads/2021/11/07-1-150x150.png 150w, https://anonyviet.com/wp-content/uploads/2021/11/07-1-75x75.png 75w, https://anonyviet.com/wp-content/uploads/2021/11/07-1-350x350.png 350w" sizes="auto, (max-width: 510px) 100vw, 510px" title="How to find Website security holes with OWASP ZAP 27"/></p>
<p><strong>Step 7:</strong> Once done, you will be directed to a screen that looks something like this.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-36624 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/08-1.png" alt="How to find Website security holes with OWASP ZAP 23" width="510" height="510" srcset="https://anonyviet.com/wp-content/uploads/2021/11/08-1.png 510w, https://anonyviet.com/wp-content/uploads/2021/11/08-1-300x300.png 300w, https://anonyviet.com/wp-content/uploads/2021/11/08-1-150x150.png 150w, https://anonyviet.com/wp-content/uploads/2021/11/08-1-75x75.png 75w, https://anonyviet.com/wp-content/uploads/2021/11/08-1-350x350.png 350w" sizes="auto, (max-width: 510px) 100vw, 510px" title="How to find Website security holes with OWASP ZAP 28"/></p>
<h2 id="ftoc-tao-zap-spider" class="ftwp-heading">Create ZAP Spider</h2>
<p>To run the first scan, run the newly installed OWASP ZAP.  You will be greeted with a screen that looks like this:</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-36625 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/09-2.png" alt="How to find Website security holes with OWASP ZAP 24" width="510" height="510" srcset="https://anonyviet.com/wp-content/uploads/2021/11/09-2.png 510w, https://anonyviet.com/wp-content/uploads/2021/11/09-2-300x300.png 300w, https://anonyviet.com/wp-content/uploads/2021/11/09-2-150x150.png 150w, https://anonyviet.com/wp-content/uploads/2021/11/09-2-75x75.png 75w, https://anonyviet.com/wp-content/uploads/2021/11/09-2-350x350.png 350w" sizes="auto, (max-width: 510px) 100vw, 510px" title="How to find Website security holes with OWASP ZAP 29"/></p>
<p>Once the download is complete, you will get a screen that looks like the image below.  In the main &#8216;Quick Start&#8217; view, you can choose between &#8216;Automated Scan&#8217; and &#8216;Manual Explore&#8221;.  For this tutorial, select &#8216;Automated Scan&#8217;.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-36626 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/10.jpg" alt="How to find Website security holes with OWASP ZAP 25" width="1046" height="825" srcset="https://anonyviet.com/wp-content/uploads/2021/11/10.jpg 1046w, https://anonyviet.com/wp-content/uploads/2021/11/10-300x237.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/11/10-1024x808.jpg 1024w, https://anonyviet.com/wp-content/uploads/2021/11/10-768x606.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/11/10-750x592.jpg 750w" sizes="auto, (max-width: 1046px) 100vw, 1046px" title="How to find Website security holes with OWASP ZAP 30"/>This option will give you a page like the image below.  You can run it on your application by pointing the destination URL to the localhost your application is currently running on.</p>
<p>This is an example of when in the scan phase.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-36627 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/11-2-768x439-1.jpg" alt="How to find Website security holes with OWASP ZAP 26" width="768" height="439" srcset="https://anonyviet.com/wp-content/uploads/2021/11/11-2-768x439-1.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/11/11-2-768x439-1-300x171.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/11/11-2-768x439-1-750x429.jpg 750w" sizes="auto, (max-width: 768px) 100vw, 768px" title="How to find Website security holes with OWASP ZAP 31"/></p>
<p>Once done, you can click on the &#8216;Alerts&#8217; tab to see all the potential vulnerabilities.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-36628 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/12-768x290-1.jpg" alt="How to find Website security holes with OWASP ZAP 27" width="768" height="290" srcset="https://anonyviet.com/wp-content/uploads/2021/11/12-768x290-1.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/11/12-768x290-1-300x113.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/11/12-768x290-1-750x283.jpg 750w" sizes="auto, (max-width: 768px) 100vw, 768px" title="How to find Website security holes with OWASP ZAP 32"/></p>
<p>Based on the example and scan results above, we can see that the issues detected are not serious and can be easily remedied, such as X-Frame-Options and Anti-CSRF Tokens.</p>
<p>The impact of a vulnerability can be assessed by the number of specific alerts.  For example, cross-domain JavaScript source file inclusion seems to be a bug of some sort.  However, if we dig deeper, we find that the risk is classified as low because of the reliable source.</p>
<p>Here&#8217;s a screenshot of one of the flagged warnings and reports generated for the cross-domain JavaScript source file inclusion error.  Right below is a solution on how to reduce this vulnerability based on this bug.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-36629 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/13-768x345-1.jpg" alt="How to find Website security holes with OWASP ZAP 28" width="768" height="345" srcset="https://anonyviet.com/wp-content/uploads/2021/11/13-768x345-1.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/11/13-768x345-1-300x135.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/11/13-768x345-1-750x337.jpg 750w" sizes="auto, (max-width: 768px) 100vw, 768px" title="How to find Website security holes with OWASP ZAP 33"/></p>
<p>Conversely, if we want to start vulnerability testing based on severity, OWASP ZAP will automatically rank from highest to lowest in the &#8216;Alerts&#8217; file list.  The top warning on the list is &#8216;Vulnerable JS Library&#8217;.  The report is marked as medium risk because the jQuery used is not the latest version.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-36630 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/14-768x345-1.jpg" alt="How to find Website security holes with OWASP ZAP 29" width="768" height="345" srcset="https://anonyviet.com/wp-content/uploads/2021/11/14-768x345-1.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/11/14-768x345-1-300x135.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/11/14-768x345-1-750x337.jpg 750w" sizes="auto, (max-width: 768px) 100vw, 768px" title="How to find Website security holes with OWASP ZAP 34"/></p>
<p>A little more digging into jquery-2.1.4 tells us that this target site is vulnerable to Cross-site Scripting (XSS) attacks via elements from untrusted sources.  This is because in the JQuery version, DOM manipulation methods can execute untrusted code.</p>
<h2 id="ftoc-ket-luan" class="ftwp-heading">Conclusion</h2>
<p>The Quick Scan function of OWASP ZAP &#8211; Zed Attack Proxy will not &#8220;hack&#8221; your Web.  However, it will give you an overview of the security issues and vulnerabilities your website is facing.</p>
<p>Using OWASP ZAP during the programming phase can also help us improve our security processes by identifying problems before they grow too large over time.  It is easier to fix a potential vulnerability when it is small than when it is large and affects the entire developed application.</p>
<p>One thing to keep in mind is that if you run OWASP ZAP on a more mature application with lots of legacy code, you may get a large number of warnings.  This is normal, especially if security is not part of the growth mindset at first.  As long as you prioritize your vulnerabilities and find ways to address them, it will increase the security of your application.</p>
<p>In addition to running the function <strong>Quick Scan</strong> manually every time, you can also automate it into your workflow via Docker Packaged Scans, GitHub Actions or automation frameworks.</p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;36615&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/how-to-find-website-security-holes-with-owasp-zap/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2021/11/cach-su-dung-zap-quet-lo-hong-bao-mat.jpg" medium="image"></media:content>
            	</item>
		<item>
		<title>How to use reconFTW to Spy on the network for security holes</title>
		<link>https://en.anonyviet.com/how-to-use-reconftw-to-spy-on-the-network-for-security-holes/</link>
					<comments>https://en.anonyviet.com/how-to-use-reconftw-to-spy-on-the-network-for-security-holes/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Wed, 25 Jan 2023 09:36:47 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[holes]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[reconFTW]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Spy]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=2792</guid>

					<description><![CDATA[I was assigned the task of finding vulnerabilities in the Website. Before you need to do network scouting/network scouting, the term is called Recon. If used manually, it is quite time consuming, today I will introduce you to Tool reconFTW to help you scout your friends very well, integrated with many functions to help collect [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p><strong>I was assigned the task of finding vulnerabilities in the Website.  Before you need to do network scouting/network scouting, the term is called Recon.  If used manually, it is quite time consuming, today I will introduce you to Tool reconFTW to help you scout your friends very well, integrated with many functions to help collect accurate information about the Website you are scanning.</strong></p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<h2 id="ftoc-lo-hong-bao-mat-website-la-gi" class="ftwp-heading">What is a website security vulnerability?</h2>
<p>Website security vulnerabilities are weaknesses in the design and configuration of the system, web developer error or negligence in the operation of the website.  The existence of these vulnerabilities is a danger to developers as well as website visitors when black hat hackers can fully exploit them to be able to steal your data or information. your personal information, the user&#8217;s and more</p>
<p><img post-id="2792" fifu-featured="1" decoding="async" class="size-full wp-image-36990 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/cong-cu-quet-lo-hong-bao-mat-1.jpg" alt="How to use reconFTW to Spy on the network for security holes" title="How to use reconFTW to Spy on the network for security holes" width="800" height="533" srcset="https://anonyviet.com/wp-content/uploads/2021/11/cong-cu-quet-lo-hong-bao-mat-1.jpg 800w, https://anonyviet.com/wp-content/uploads/2021/11/cong-cu-quet-lo-hong-bao-mat-1-300x200.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/11/cong-cu-quet-lo-hong-bao-mat-1-768x512.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/11/cong-cu-quet-lo-hong-bao-mat-1-750x500.jpg 750w" sizes="(max-width: 800px) 100vw, 800px" title="How to use reconFTW to Spy on the network for security holes 13"/></p>
<p>Hackers use scanning tools to detect a wide range of websites with poor security configuration or websites on popular platforms like WordPress that have published vulnerabilities that have not been addressed by the website owner or web developer, and They will use them to attack, install malicious code and destroy websites.</p>
<p>Some studies show that in 2019, every 45 minutes, a website will be &#8220;visited&#8221; by hackers and mainly black hat hackers.  This is enough to talk about how dangerous the existence of security holes is.</p>
<h2 id="ftoc-cac-loai-lo-hong-bao-mat-website-pho-bien" class="ftwp-heading">Common types of website security vulnerabilities</h2>
</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-36989 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/wordpress-hacking-exploit-700x393-1.jpg" alt="WordPress Security Vulnerability" width="695" height="370" srcset="https://anonyviet.com/wp-content/uploads/2021/11/wordpress-hacking-exploit-700x393-1.jpg 695w, https://anonyviet.com/wp-content/uploads/2021/11/wordpress-hacking-exploit-700x393-1-300x160.jpg 300w" sizes="auto, (max-width: 695px) 100vw, 695px" title="How to use reconFTW to Spy on the network for security holes 14"/></p>
<ul>
<li>SQL Injection (you can see more articles <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fsqlmap-v1-2-9-sql-injection%2F" rel="noopener" class="local-link">use SQLmap</a> For more details)</li>
<li>Broken Authentication</li>
<li>Cross Site Scripting</li>
<li>Server-Side Template Injection</li>
<li>Insecure Direct Object References</li>
</ul>
<p>reconFTW is a software from the github community and authored by six2dez.  This is a network reconnaissance tool, also known as a network spy, and it can collect information of the website such as the owner, the domain name is associated with but most importantly, this tool is capable of automating the process. Check your website&#8217;s security, list all subdomains, and do a comprehensive vulnerability check.  reconFTW uses a variety of methods to test including:</p>
<ul>
<li>passive</li>
<li>bruteforce</li>
<li>permutations</li>
<li>certificate transparency</li>
<li>source code scraping</li>
<li>analytics</li>
<li>DNS records</li>
</ul>
<p>It also performs various vulnerability checks like XSS, Open Redirects, SSRF, CRLF, LFI, SQLi, SSL check, SSTI,DNS, etc. Along with that, reconFTW can OSINT (trace tracing) and scan target&#8217;s port.</p>
<p>To say, compared to tools like Burpsuite, in terms of features, they are not inferior to them but also can run the tool simply and easily.  After experiencing, this is an extremely suitable tool for those of you who cannot use tools like nmap or Burpsuite.</p>
<p>At the same time, after the whole detective process has been completed, all that has been collected will be aggregated into a single file and it is quite convenient if you want to reopen it to check and check for possible errors. available on the website.</p>
<p>It takes a long time to run the entire network reconnaissance feature, but I just need to sit and eat because the whole process has been automated and optimized so that the user can easily. collect information</p>
<h2 id="ftoc-luu-y-truoc-khi-thuc-hien" class="ftwp-heading">Note before doing</h2>
<p style="text-align: center;"><span style="color: #ff0000;"><strong>It is strictly forbidden to take advantage of the security holes of non-proprietary websites to wreak havoc.  Anonyviet will not be responsible for any of your actions.  Please continue if you already agree with this note!</strong></span></p>
<h2 id="ftoc-huong-dan-su-dung-reconftw-de-quet-lo-hong-bao-mat-website" class="ftwp-heading">Instructions for using reconFTW to scan website security holes</h2>
<h3 id="ftoc-huong-dan-cai-dat" class="ftwp-heading">Installation Instructions</h3>
<p>You can visit the official tool&#8217;s github link <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fgithub.com%2Fsix2dez%2Freconftw" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">here</a></p>
<h4 id="ftoc-doi-voi-cai-dat-truc-tiep-su-dung-may-ao-su-dung-vps" class="ftwp-heading">For live installation / using virtual machine / using VPS</h4>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">git clone https://github.com/six2dez/reconftw&#13;
cd reconftw/&#13;
./install.sh&#13;
&#13;
#khởi động tool&#13;
./reconftw.sh -d [tên miền] -r</pre>
<h4 id="ftoc-doi-voi-docker" class="ftwp-heading">For Docker</h4>
<p><strong>Method 1: From <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fhub.docker.com%2Fr%2Fsix2dez%2Freconftw" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">DockerHub</a></strong></p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">docker pull six2dez/reconftw:main&#13;
wget https://raw.githubusercontent.com/six2dez/reconftw/main/reconftw.cfg&#13;
mkdir Recon&#13;
&#13;
#câu lệnh khời động tool&#13;
docker run -d -v $PWD/reconftw.cfg:/root/Tools/reconftw/reconftw.cfg -v $PWD/Recon/:/root/Tools/reconftw/Recon/ --name reconftwSCAN --rm six2dez/reconftw:main -d [tên miền] -r</pre>
<p><strong>Method 2: from Github</strong></p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">git clone https://github.com/six2dez/reconftw&#13;
cd reconftw&#13;
docker build -t reconftw Docker/.&#13;
&#13;
#câu lệnh khởi động tool&#13;
docker run -v $PWD/reconftw.cfg:/root/Tools/reconftw/reconftw.cfg -v $PWD/Recon/:/root/Tools/reconftw/Recon/ --name reconftwSCAN --rm reconftw -d [tên miền] -r</pre>
<h3 id="ftoc-huong-dan-su-dung" class="ftwp-heading">User manual</h3>
<p><strong>Syntax</strong>: <code>./reconftw.sh [tùy chọn dành cho mục tiêu] [Input cho mục tiêu] [chế độ(mode)] [các tùy chọn khác]</code></p>
<h4 id="ftoc-doi-voi-tuy-chon-cho-muc-tieu" class="ftwp-heading">For option for target</h4>
<p><strong>Here</strong>:</p>
<p><strong>Target.com</strong> is the domain you want to attack</p>
<p><strong>-r</strong>: I will explain in the mode (mode)</p>
<ul>
<li><strong>-d</strong>: for 1 domain name<br /><strong>For example</strong>: <code>./reconftw.sh -d target.com -r</code></li>
<li><strong>-l</strong>: use a list of domains<br /><strong>For example</strong>: <code>./reconftw.sh -l targets.txt -r</code></li>
<li><strong>-m</strong>: for 1 target but multiple domains<br /><strong>For example</strong>:<code>./reconftw.sh -m target -l domains.txt -r</code></li>
<li><strong>-i</strong>: add subdomains as list<br /><strong>For example</strong>:<code>./reconftw.sh -d target.com -i in.txt -r</code></li>
<li><strong>-x</strong>: exclude subdomains<br /><strong>For example:</strong> <code>./reconftw.sh -d target.com -x oos.txt -r</code></li>
</ul>
<h4 id="ftoc-doi-voi-cac-che-do" class="ftwp-heading">For modes</h4>
<p>Usually, I recommend using -r over the others because I only use that.  If you want full scan, use -a</p>
<p><strong>Note</strong>: processing speed depends on the mode you choose and the speed of your home network.  Sometimes with large web it will take quite a while.</p>
<ul>
<li><strong>-r: </strong>Website scouting with all modes (no attack)<br /><strong>For example</strong>: <code>./reconftw.sh -d target.com -r</code></li>
<li><strong>-S:</strong> Search Subdomains<br /><strong>For example</strong>: <code>./reconftw.sh -d target.com -s<br /></code></li>
<li><strong>-p:</strong> Only run as passive<br /><strong>For example</strong>: <code>./reconftw.sh -d target.com -p<br /></code></li>
<li><strong>-w: </strong>Check the website provided in the list<br /><strong>For example</strong>: <code>./reconftw.sh -l targetlist.txt -w<br /></code></li>
<li><strong>-a: </strong>Run all functions<br /><strong>For example</strong>: <code>./reconftw.sh -d target.com -a<br /></code></li>
<li><strong>-n: </strong>osint – tracing<br /><strong>For example</strong>: <code>./reconftw.sh -d target.com -n<br /></code></li>
<li><strong>-H: </strong>show help<br /><strong>For example</strong>: <code>./reconftw.sh -h<br /></code></li>
</ul>
<h4 id="ftoc-doi-voi-cac-tuy-chon-khac" class="ftwp-heading">For other options</h4>
<ul>
<li><strong>–deep</strong>: Run deep scan</li>
<li><strong>-v</strong>: VPS – use when you run on VPS</li>
<li><strong>-f</strong> conf_file: use another config (not recommended)</li>
<li><strong>-o</strong>: Save output of reconFTW</li>
</ul>
<h3 id="ftoc-1-so-vi-du-ve-cach-su-dung" class="ftwp-heading">Some examples of usage</h3>
<ul>
<li>Run web snooping with a unique domain name: <code>./reconftw.sh -d target.com -r</code></li>
<li>Run web scouting with a list of domains: <code>./reconftw.sh -l sites.txt -r -o /output/directory/</code></li>
<li>Run web scouting with a list of domains on vps: <code>./reconftw.sh -d target.com -r --deep -o /output/directory/<br /></code></li>
<li>Run web snooping with multiple domains from 1 company: <code>./reconftw.sh -m company -l domains_list.txt -r<br /></code></li>
<li>Boot into Full power mode: <code>./reconftw.sh -d target.com -a<br /></code></li>
</ul>
<p><strong>Eg</strong>:</p>
<p><img decoding="async" loading="lazy" class="aligncenter" src="https://github.com/six2dez/reconftw/raw/main/images/reconFTW.gif" alt="How to use reconFTW to scan website security holes" width="564" height="476" title="How to use reconFTW to Spy on the network for security holes 15"/></p>
<h3 id="ftoc-demo-thuc-te" class="ftwp-heading">Actual Demo</h3>
<p>First, I run the following command: <code>./reconftw.sh -d duocphamviethung.com.vn -r</code></p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-37002 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/a-44.jpg" alt="run reconFTW" width="467" height="353" srcset="https://anonyviet.com/wp-content/uploads/2021/11/a-44.jpg 467w, https://anonyviet.com/wp-content/uploads/2021/11/a-44-300x227.jpg 300w" sizes="auto, (max-width: 467px) 100vw, 467px" title="How to use reconFTW to Spy on the network for security holes 16"/></p>
</p>
<p>After it finishes scanning, it returns the results.  There is a statistics of the time it takes to scan and complete the task.  Currently, it has taken me up to 2 hours for a small website, so please note the time!</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-37001 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/b-5.jpg" alt="At the end of the scan" width="835" height="226" srcset="https://anonyviet.com/wp-content/uploads/2021/11/b-5.jpg 835w, https://anonyviet.com/wp-content/uploads/2021/11/b-5-300x81.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/11/b-5-768x208.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/11/b-5-750x203.jpg 750w" sizes="auto, (max-width: 835px) 100vw, 835px" title="How to use reconFTW to Spy on the network for security holes 17"/></p>
<p>All files are saved in folder <code>Recon/[tên website tấn công]</code> if you don&#8217;t set its output. <img decoding="async" loading="lazy" class="size-full wp-image-36998 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/c-3.jpg" alt="Output files" width="645" height="501" srcset="https://anonyviet.com/wp-content/uploads/2021/11/c-3.jpg 645w, https://anonyviet.com/wp-content/uploads/2021/11/c-3-300x233.jpg 300w" sizes="auto, (max-width: 645px) 100vw, 645px" title="How to use reconFTW to Spy on the network for security holes 18"/></p>
<p>Here, the file that you need to pay attention to is the nuclei_output file because this file will return a CVE error code that hackers can use to exploit information.  You can go to Google and search for the error code to find the solution to fix it as soon as possible!</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-37054 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/254983742_728110471497180_1425299277977769600_n.jpg" alt="File contains error code CVE" width="334" height="138" srcset="https://anonyviet.com/wp-content/uploads/2021/11/254983742_728110471497180_1425299277977769600_n.jpg 334w, https://anonyviet.com/wp-content/uploads/2021/11/254983742_728110471497180_1425299277977769600_n-300x124.jpg 300w" sizes="auto, (max-width: 334px) 100vw, 334px" title="How to use reconFTW to Spy on the network for security holes 19"/></p>
</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-37058 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/11/254813719_265494362208376_8065495242876070818_n-1.jpg" alt="CVE error codes after scanning is complete" width="814" height="121" srcset="https://anonyviet.com/wp-content/uploads/2021/11/254813719_265494362208376_8065495242876070818_n-1.jpg 814w, https://anonyviet.com/wp-content/uploads/2021/11/254813719_265494362208376_8065495242876070818_n-1-300x45.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/11/254813719_265494362208376_8065495242876070818_n-1-768x114.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/11/254813719_265494362208376_8065495242876070818_n-1-750x111.jpg 750w" sizes="auto, (max-width: 814px) 100vw, 814px" title="How to use reconFTW to Spy on the network for security holes 20"/></p>
<p>Use it to pentest your system only!</p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;36971&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/how-to-use-reconftw-to-spy-on-the-network-for-security-holes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2021/11/cong-cu-quet-lo-hong-bao-mat-1.jpg" medium="image"></media:content>
            	</item>
		<item>
		<title>How to install Nuclei to scan Website security holes</title>
		<link>https://en.anonyviet.com/how-to-install-nuclei-to-scan-website-security-holes/</link>
					<comments>https://en.anonyviet.com/how-to-install-nuclei-to-scan-website-security-holes/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Tue, 24 Jan 2023 13:37:30 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[holes]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Nuclei]]></category>
		<category><![CDATA[Scan]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Website]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=1847</guid>

					<description><![CDATA[What is Nuclei? Nuclei is an open source toolkit used to scan Website security holes, also known as Bug finder. Some Bug Hunters are using this tool to receive bounties from websites with weak security. A special feature that Nuclei is favored by many Hackers is that it has a large user community and error [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<h2 id="ftoc-nuclei-la-gi" class="ftwp-heading">What is Nuclei?</h2>
<p>Nuclei is an open source toolkit used to scan Website security holes, also known as Bug finder.  Some Bug Hunters are using this tool to receive bounties from websites with weak security.  A special feature that Nuclei is favored by many Hackers is that it has a large user community and error code templates are always updated regularly, so when a vulnerability has just been released, Nuclei already has a template to scan.</p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p>Another highlight is that Nuclei is completely free and you can customize how to scan Website as well as create templates to scan Website bugs to your liking.</p>
<p>Nuclei can scan various protocols, including DNS, HTTP, TCP and many more.  All kinds of security checks can be done using kernel templates.</p>
<h2 id="ftoc-cach-cai-dat-nuclei" class="ftwp-heading">How to install Nuclei</h2>
<p>It is recommended to turn off anti-virus programs on Windows when performing an Upgrade Kali Linux to avoid blocking installation packages.  To install Nuclei, execute the following commands on Kali Linux:</p>
<p><code>sudo su</code></p>
<p>Enter password user</p>
<p><code>apt-get update -y</code></p>
<p><code>apt-get upgrade -y</code></p>
<p>Because nuclei is written in Goland language, so we need to install Goland on Kali Linux, execute the following commands:</p>
<p><code>apt install gccgo-go -y</code><br /><code>apt install golang-go -y</code></p>
<p>Install Nuclei to scan Website security holes</p>
<p><code>git clone https://github.com/projectdiscovery/nuclei.git; \</code><br /><code>cd nuclei/v2/cmd/nuclei; \</code><br /><code>go build; \</code><br /><code>mv nuclei /usr/local/bin/; \</code><br /><code>nuclei -version;</code></p>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2022%2F05%2Fcai-dat-nuclei-1.png" rel="noopener" class="local-link"><img decoding="async" class="aligncenter size-full wp-image-41422" src="https://anonyviet.com/wp-content/uploads/2022/05/cai-dat-nuclei-1.png" alt="remove nuclei" width="544" height="253" srcset="https://anonyviet.com/wp-content/uploads/2022/05/cai-dat-nuclei-1.png 544w, https://anonyviet.com/wp-content/uploads/2022/05/cai-dat-nuclei-1-300x140.png 300w" sizes="(max-width: 544px) 100vw, 544px" title="How to install Nuclei to scan Website 8 security holes"/></a></p>
<p>After the installation is complete, type the command <code>nuclei -h</code> to start</p>
<p>The case of reported nuclei <span style="color: #ff0000;"><strong>outdated</strong></span>, is because you downloaded the old version.  Let&#8217;s execute the update template command again.</p>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2022%2F05%2Fupdate-nuclei-1.png" rel="noopener" class="local-link"><img decoding="async" loading="lazy" class="aligncenter size-full wp-image-41424" src="https://anonyviet.com/wp-content/uploads/2022/05/update-nuclei-1.png" alt="update kernel" width="499" height="408" srcset="https://anonyviet.com/wp-content/uploads/2022/05/update-nuclei-1.png 499w, https://anonyviet.com/wp-content/uploads/2022/05/update-nuclei-1-300x245.png 300w" sizes="auto, (max-width: 499px) 100vw, 499px" title="How to install Nuclei to scan Website security holes 9"/></a>Use the command:<br /><code>go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest<br /></code></p>
<p><code>sudo nuclei -update</code></p>
<p>If successful, you will see the following interface:</p>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2022%2F05%2Fnuclei-1.png" rel="noopener" class="local-link"><img post-id="1847" fifu-featured="1" decoding="async" loading="lazy" class="aligncenter size-full wp-image-41428" src="https://anonyviet.com/wp-content/uploads/2022/05/nuclei-1.png" alt="How to install Nuclei to scan Website security holes" title="How to install Nuclei to scan Website security holes" width="646" height="325" srcset="https://anonyviet.com/wp-content/uploads/2022/05/nuclei-1.png 646w, https://anonyviet.com/wp-content/uploads/2022/05/nuclei-1-300x151.png 300w, https://anonyviet.com/wp-content/uploads/2022/05/nuclei-1-360x180.png 360w" sizes="auto, (max-width: 646px) 100vw, 646px" title="How to install Nuclei to scan Website security holes 10"/></a></p>
<p>If you want to use nuclei to find Bug Website on Windows, download the version<a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fgithub.com%2Fprojectdiscovery%2Fnuclei%2Freleases%2Fdownload%2Fv2.7.0%2Fnuclei_2.7.0_windows_amd64.zip" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';"> Windows kernel</a> back to use.</p>
<h2 id="ftoc-cach-dung-nuclei-de-quet-lo-hong-website" class="ftwp-heading">How to use Nuclei to scan Website vulnerabilities</h2>
<p>To proceed to find Bug Website we execute the following command:</p>
<p><code>nuclei -u địa-chỉ-website</code></p>
<p>Eg: <code>nuclei -u https://domain.com</code></p>
<p>In case some Websites will have a firewall (WAF) and block scanning processes, you can reduce the frequency of sending requests to the server by rate-limit.  Let&#8217;s use the parameter: <code>--rate-limit</code>.</p>
<p>Eg: <code>nuclei -u https://domain.com -rate-limit 1</code> //ie send 1 second send 1 request</p>
<p>To bypass WAF, you can change the packet header to avoid blocking, with the parameter <code>-h</code></p>
<p>Eg: <code>nuclei -u https://domain.com -rate-limit 1 -header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64)'</code></p>
<p>In case you want to scan many Web pages, create a file named url.txt, fill in 1 Web page per line, then use the syntax <code>-list url.txt</code></p>
<p>You can see some more examples when scanning Website vulnerabilities at <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fnuclei.projectdiscovery.io%2Fnuclei%2Fget-started" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">nuclei&#8217;s home page</a>.</p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;41421&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/how-to-install-nuclei-to-scan-website-security-holes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2022/05/nuclei-1.png" medium="image"></media:content>
            	</item>
	</channel>
</rss>
