<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/owasp/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/owasp/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/owasp/bugs/</id><updated>2008-09-03T17:48:42Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Hardcoded JRE Extension Directory</title><link href="https://sourceforge.net/p/owasp/bugs/28/" rel="alternate"/><published>2008-09-03T17:48:42Z</published><updated>2008-09-03T17:48:42Z</updated><author><name>Chris</name><uri>https://sourceforge.net/u/jesdisciple/</uri></author><id>https://sourceforge.net9df1f4d526f257438d969f26866512b94b8590d8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;WebScarab only looks in ./lib/jhall-2.0_02.jar (relative to the WebScarab JAR) for the JavaHelp libraries.  This is a hard-coded and arbitrary setting that makes setup confusing to the point that newbies must view the source code; such a quest is chronicled at [http://ubuntuforums.org/showthread.php?t=908687].&lt;/p&gt;
&lt;p&gt;Expected behavior: The location of jhall.jar should somehow adapt to the user by either directly asking or otherwise dynamically building a path from relevant info.&lt;/p&gt;
&lt;p&gt;Observed behavior: ./lib/jhall-2.0_02.jar (relative to the WebScarab JAR) is the only anticipated location of the JavaHelp libraries.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Source Build Failure</title><link href="https://sourceforge.net/p/owasp/bugs/27/" rel="alternate"/><published>2008-07-30T01:14:49Z</published><updated>2008-07-30T01:14:49Z</updated><author><name>Steve Milner</name><uri>https://sourceforge.net/u/stevemilner/</uri></author><id>https://sourceforge.net164b215f67358a6ec8c22a663d2d3e8b214a1d7d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Source building does not seem to work with java 1.6/ant 1.7.0. There is a missing file required for build it seems. If the builder should supply it then it would help for that to be documented in the README or INSTALL (sorry if it's there and I missed it).&lt;/p&gt;
&lt;p&gt;[steve@tachikoman webscarab-20070504-1631]$ java -version&lt;br /&gt;
java version "1.6.0"&lt;br /&gt;
OpenJDK  Runtime Environment (build 1.6.0-b09)&lt;br /&gt;
OpenJDK Server VM (build 1.6.0-b09, mixed mode)&lt;br /&gt;
[steve@tachikoman webscarab-20070504-1631]$ ls&lt;br /&gt;
build.xml  ChangeLog  doc  INSTALL  LICENSE  README  src&lt;br /&gt;
[steve@tachikoman webscarab-20070504-1631]$ ant -version&lt;br /&gt;
Apache Ant version 1.7.0 compiled on February 21 2008&lt;br /&gt;
[steve@tachikoman webscarab-20070504-1631]$ ant compile&lt;br /&gt;
Buildfile: build.xml&lt;/p&gt;
&lt;p&gt;init:&lt;/p&gt;
&lt;p&gt;prepare:&lt;/p&gt;
&lt;p&gt;BUILD FAILED&lt;br /&gt;
/home/steve/rpmbuild/SOURCES/webscarab-20070504-1631/build.xml:76: Warning: Could not find file /home/steve/rpmbuild/SOURCES/webscarab-20070504-1631/server.p12 to copy.&lt;/p&gt;
&lt;p&gt;Total time: 0 seconds&lt;br /&gt;
[steve@tachikoman webscarab-20070504-1631]$ grep -ri "server.p12" * | grep -v "build.xml"&lt;br /&gt;
src/org/owasp/webscarab/plugin/proxy/ConnectionHandler.java:    private static String _keystore = "server.p12";&lt;br /&gt;
[steve@tachikoman webscarab-20070504-1631]$ find . -name "server.p12"&lt;br /&gt;
[steve@tachikoman webscarab-20070504-1631]$ &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CharsetUtils.getCharset() returns sometimes null</title><link href="https://sourceforge.net/p/owasp/bugs/26/" rel="alternate"/><published>2008-04-07T09:41:55Z</published><updated>2008-04-07T09:41:55Z</updated><author><name>jpstotz</name><uri>https://sourceforge.net/u/jpstotz/</uri></author><id>https://sourceforge.netd176e0a11a42d558af1b1e8795f542bcbb67989b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;On certain CSS files the utility method org.owasp.webscarab.util.CharsetUtils.getCharset(byte[]) returns null as charset which usually raises an exeption in the using code parts.&lt;/p&gt;
&lt;p&gt;Example:&lt;br /&gt;
Enable "intercept responses" in WebScarab and load &lt;a href="http://www.mediawiki.org/skins-1.5/monobook/main.css" rel="nofollow"&gt;http://www.mediawiki.org/skins-1.5/monobook/main.css&lt;/a&gt; through WebScarab. &lt;/p&gt;
&lt;p&gt;at java.lang.String.&amp;lt;init&amp;gt;(Unknown Source)&lt;br /&gt;
at java.lang.String.&amp;lt;init&amp;gt;(Unknown Source)&lt;br /&gt;
at org.owasp.webscarab.ui.swing.editors.TextPanel.setBytes(TextPanel.java:158)&lt;br /&gt;
at org.owasp.webscarab.ui.swing.ContentPanel.updatePanel(ContentPanel.java:209)&lt;/p&gt;
&lt;p&gt;Jan&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>property name mismatches</title><link href="https://sourceforge.net/p/owasp/bugs/25/" rel="alternate"/><published>2008-02-13T15:27:56Z</published><updated>2008-02-13T15:27:56Z</updated><author><name>Pavel Kankovsky</name><uri>https://sourceforge.net/u/p-eak/</uri></author><id>https://sourceforge.net2e98943ad0ed2bb22855ea038ab15e6e6aa69e6b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Class org.owasp.webscarab.ui.swing.Lite:&lt;br /&gt;
- method createNewSession gets WebScarab.DefaultDir (like everyone else) but it sets WebScarab.defaultDirectory later&lt;/p&gt;
&lt;p&gt;Class org.owasp.webscarab.ui.swing.UIFramework&lt;br /&gt;
- method createNewSession sets WebScarab.defaultDirectory&lt;/p&gt;
&lt;p&gt;Class org.owasp.webscarab.plugin.sessionid.swing.SessionIDPanel&lt;br /&gt;
- method exportButtonActionPerformed gets and sets WebScarab.DefaultDirectory&lt;/p&gt;
&lt;p&gt;Class org.owasp.webscarab.plugin.proxy.BeanShell...&lt;br /&gt;
- method parseProperties gets BeanShell.scriptFile&lt;br /&gt;
- method setScriptFile sets BeanShell.scriptfile&lt;/p&gt;
&lt;p&gt;Class org.owasp.webscarab.plugin.extensions.swing.ExtensionsPanel&lt;br /&gt;
- method loadButtonActionPerformed gets Extensions.DefaultDir but it sets Scripted.DefaultDir later&lt;/p&gt;
&lt;p&gt;Again, I found it (perhaps I should say I stumbled upon it) when I was reading the source code.&lt;/p&gt;
&lt;p&gt;BTW: Is there any reason why certain classes (namely org.owasp.webscarab.ui.swing.Lite, org.owasp.webscarab.ui.swing.UIFramework, and org.owasp.webscarab.plugin.proxy.swing.ManualEditFrame)&lt;br /&gt;
call Preferences.getPreferences().[gs]etProperty rather than Preferences.[gs]etPreference()?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>typo in Framework$AddConversationHook</title><link href="https://sourceforge.net/p/owasp/bugs/24/" rel="alternate"/><published>2008-02-12T21:41:20Z</published><updated>2008-02-12T21:41:20Z</updated><author><name>Pavel Kankovsky</name><uri>https://sourceforge.net/u/p-eak/</uri></author><id>https://sourceforge.net3cb8d579074c54b6b597fd8c562a71010a5c810c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The method runScripts of&lt;br /&gt;
org.owasp.webscarab.plugin.Framework$AddConversationHook&lt;br /&gt;
calls _bsfManager.declareBean("conversation", ...)&lt;br /&gt;
and then _bsfManager.undeclareBean("connection").&lt;br /&gt;
I suppose the latter call is incorrect and should read _bsfManager.undeclareBean("conversation").&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CONNECT command creates always SSL connection</title><link href="https://sourceforge.net/p/owasp/bugs/23/" rel="alternate"/><published>2008-01-25T08:36:07Z</published><updated>2008-01-25T08:36:07Z</updated><author><name>jpstotz</name><uri>https://sourceforge.net/u/jpstotz/</uri></author><id>https://sourceforge.net0e4aa2a0def22449a0136f798eb07a79fe9fb100</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I just stumbled across a problem concerning Proxy clients that are using the CONNECT command for establishing a direct tunneled connection through WebScarab. &lt;br /&gt;
The current implementation assumes that such connections are always TLS connections - which sometimes is not the case. &lt;/p&gt;
&lt;p&gt;The problem is that the host specified by the CONNECT command does not contain a protocol scheme, therefore we have to guess (or may be try-out?) if the destination port expects an TLS or plain TCP connection. The only available indicator for guessing the protocol scheme is the port number. &lt;/p&gt;
&lt;p&gt;Therefore I see three possible options: &lt;br /&gt;
1. By default all tunnel connections are assumed to be HTTPS connections, only for common HTTP ports like 80 we use a plain HTTP connection.&lt;br /&gt;
2. By default all tunnel connections are assumed to be HTTP connections, only for common HTTPS ports like 443 we use a SSL/TLS encrypted HTTP connection.&lt;br /&gt;
3. By default all tunnel connections are assumed to be HTTPS connections. We try to establish the connection and if that fails we fall back to HTTP.&lt;/p&gt;
&lt;p&gt;Option 1 and 2 are easy to implement (my modified WebScarab uses option 2). Option 3 needs a bit mor work and I don't know if it implies further problems.&lt;/p&gt;
&lt;p&gt;Affected class: org.owasp.webscarab.model.Request&lt;br /&gt;
methods: &lt;br /&gt;
public void parse(StringBuffer buff);&lt;br /&gt;
public void read(InputStream is, HttpUrl base);&lt;/p&gt;
&lt;p&gt;Jan&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Unable to register custom editor class</title><link href="https://sourceforge.net/p/owasp/bugs/22/" rel="alternate"/><published>2008-01-24T13:18:05Z</published><updated>2008-01-24T13:18:05Z</updated><author><name>jpstotz</name><uri>https://sourceforge.net/u/jpstotz/</uri></author><id>https://sourceforge.net5e3cf7b84987b1a928a16e4fb40cd01da29f35dc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I wrote a custom content editor panel and now I am trying to register it using org.owasp.webscarab.ui.swing.editors.EditorFactory.registerEditor(c,e).&lt;br /&gt;
I want to register my custom edit class befor starting WebScarab - the problem is that at that time EditFactory._editors is null. It is initialized only upon first reception of a packet, therefore the current implementation of registerEditor() is useless.&lt;/p&gt;
&lt;p&gt;IMHO it would be better to directly initialize EditFactory._editors with new LinkedHashMap() or to initialize it when Editfactory.registerEditor() is called the first time.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SSL exception</title><link href="https://sourceforge.net/p/owasp/bugs/21/" rel="alternate"/><published>2007-08-01T19:10:07Z</published><updated>2007-08-01T19:10:07Z</updated><author><name>d3concept</name><uri>https://sourceforge.net/u/d3concept/</uri></author><id>https://sourceforge.netc6b480e9ca0b01e66aa9353d0c49430f4d338c9b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I actually use webscarab-installer-20051017-2127.jar&lt;br /&gt;
with a jre : jre1.5.0_06 on a linux redhat 9&lt;br /&gt;
At now i have a problem with webscarab. This is the trace of the problem :&lt;br /&gt;
Could you help me ?&lt;br /&gt;
If i upgrade to version webscarab-installer-20070504-1631.jar, do i&lt;br /&gt;
have this problem also ?&lt;br /&gt;
Do i use the good version of java ?&lt;br /&gt;
Thanks for your help&lt;/p&gt;
&lt;p&gt;14:48:56 Listener-10.255.255.12:9999-5(ConnectionHandler.run): ConnectionHandler&lt;br /&gt;
got an error : javax.net.ssl.SSLException: Connection has been shutdown: javax.&lt;br /&gt;
net.ssl.SSLHandshakeException: Remote host closed connection during handshake&lt;br /&gt;
javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHands&lt;br /&gt;
hakeException: Remote host closed connection during handshake&lt;br /&gt;
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(Unknown Source)&lt;br /&gt;
at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)&lt;br /&gt;
at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)&lt;br /&gt;
at org.owasp.webscarab.model.Message.readLine(Unknown Source)&lt;br /&gt;
at org.owasp.webscarab.model.Request.read(Unknown Source)&lt;br /&gt;
at org.owasp.webscarab.plugin.proxy.ConnectionHandler.run(Unknown Source&lt;br /&gt;
)&lt;br /&gt;
at java.lang.Thread.run(Unknown Source)&lt;br /&gt;
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection du&lt;br /&gt;
ring handshake&lt;br /&gt;
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)&lt;br /&gt;
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.waitForClose(Unknown Sourc&lt;br /&gt;
e)&lt;br /&gt;
at com.sun.net.ssl.internal.ssl.HandshakeOutStream.flush(Unknown Source)&lt;br /&gt;
at com.sun.net.ssl.internal.ssl.Handshaker.sendChangeCipherSpec(Unknown&lt;br /&gt;
Source)&lt;br /&gt;
at com.sun.net.ssl.internal.ssl.ServerHandshaker.sendChangeCipherAndFini&lt;br /&gt;
sh(Unknown Source)&lt;br /&gt;
at com.sun.net.ssl.internal.ssl.ServerHandshaker.clientFinished(Unknown&lt;br /&gt;
Source)&lt;br /&gt;
at com.sun.net.ssl.internal.ssl.ServerHandshaker.processMessage(Unknown&lt;br /&gt;
Source)&lt;br /&gt;
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)&lt;br /&gt;
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source&lt;br /&gt;
)&lt;br /&gt;
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)&lt;br /&gt;
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Un&lt;br /&gt;
known Source)&lt;br /&gt;
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Sou&lt;br /&gt;
rce)&lt;br /&gt;
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getSession(Unknown Source)&lt;br /&gt;
at org.owasp.webscarab.plugin.proxy.ConnectionHandler.negotiateSSL(Unkno&lt;br /&gt;
wn Source)&lt;br /&gt;
... 2 more&lt;br /&gt;
Caused by: java.io.EOFException: SSL peer shut down incorrectly&lt;br /&gt;
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)&lt;br /&gt;
... 16 more&lt;br /&gt;
14:48:57 Listener-10.255.255.12:9999-6(URLFetcher.fetchResponse): &lt;a href="https://ptunia" rel="nofollow"&gt;https://ptunia&lt;/a&gt;&lt;br /&gt;
.3p.fr.cly:443/ptu/presentation/commun/html/lanceurApplicationTest.html : 200 OK&lt;br /&gt;
14:48:57 Listener-10.255.255.12:9999-6(URLFetcher.fetchResponse): &lt;a href="https://ptunia" rel="nofollow"&gt;https://ptunia&lt;/a&gt;&lt;br /&gt;
.3p.fr.cly:443/ptu/presentation/commun/js/lanceurApplicationTest.js : 200 OK&lt;br /&gt;
14:48:57 Listener-10.255.255.12:9999-6(URLFetcher.fetchResponse): &lt;a href="https://ptunia" rel="nofollow"&gt;https://ptunia&lt;/a&gt;&lt;br /&gt;
.3p.fr.cly:443/ptu/presentation/commun/sag/js/ImplementationPrises.js : 200 OK&lt;br /&gt;
14:48:57 Listener-10.255.255.12:9999-6(URLFetcher.fetchResponse): &lt;a href="https://ptunia" rel="nofollow"&gt;https://ptunia&lt;/a&gt;&lt;br /&gt;
.3p.fr.cly:443/fwk/js/fwkDomaine.js : 200 OK&lt;/p&gt;
&lt;p&gt;Thanks for advance&lt;br /&gt;
Bests regards&lt;br /&gt;
Michel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Performance issue with proxy requests</title><link href="https://sourceforge.net/p/owasp/bugs/20/" rel="alternate"/><published>2007-01-15T17:00:46Z</published><updated>2007-01-15T17:00:46Z</updated><author><name>Peter Becker</name><uri>https://sourceforge.net/u/peterbecker/</uri></author><id>https://sourceforge.netae83cf2347aa65dc3e0ce265b9807c9bbe323960</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;We use WebScarab as a helper tool for our functional testing with HTMLunit -- it is extremely useful when checking a functional test and why it might fail. The problem we encountered is that WebScarab slows down a lot after a few hundred request/response patterns. Around 800-900 requests the load on the machine will be very high, the "Cookie" column will be 100+ requests behind and I am forced to restart WebScarab to get into a working state again.&lt;/p&gt;
&lt;p&gt;This is not a major issue, but reasonably annoying :-)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>WSDL Schema parsing crash</title><link href="https://sourceforge.net/p/owasp/bugs/19/" rel="alternate"/><published>2006-12-01T10:53:33Z</published><updated>2006-12-01T10:53:33Z</updated><author><name>Arnout Engelen</name><uri>https://sourceforge.net/u/raboofje/</uri></author><id>https://sourceforge.net4e61c3603b115b4f927bf6babc49bc010e0536c1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;org.owasp.webscarab.plugin.webservice.Schema.java does not appear to support constructs like this:&lt;/p&gt;
&lt;p&gt;&amp;lt;element name="NieuwSignaalResponse"&amp;gt;&lt;br /&gt;
&amp;lt;complexType&amp;gt;&lt;br /&gt;
&amp;lt;sequence&amp;gt;&lt;br /&gt;
&amp;lt;element name="ResultaatCode" type="xsd:int"/&amp;gt;&lt;br /&gt;
&amp;lt;element name="ResultaatBericht" type="xsd:string"/&amp;gt;&lt;br /&gt;
&amp;lt;element name="Matchnummer" type="xsd:long"/&amp;gt;&lt;br /&gt;
&amp;lt;/sequence&amp;gt;&lt;br /&gt;
&amp;lt;/complexType&amp;gt;&lt;br /&gt;
&amp;lt;/element&amp;gt;&lt;/p&gt;
&lt;p&gt;because line 107 assumes an element to have a 'type' attribute and line 85 assumes a complexType to have a 'name' attribute.&lt;/p&gt;
&lt;p&gt;I haven't checked the XML Schema docs to see if these assumptions are valid (actually I suspect they are not), but even if they are it would be nice if a specific error message could be generated. Currently a NPE is written to the console.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>