Burp Suite User Forum

Create new post

Buby

Anon | Last updated: Jul 04, 2015 10:46PM UTC

Buby no longer works with 1.6.20 (results in error: no implicit conversion of nil into String); 1.6.19 and below works fine.

PortSwigger Agent | Last updated: Jul 07, 2015 08:24AM UTC

We're not seeing any problems running the Buby extension in the 1.6.20 release. If you're still seeing problems, please can you provide exact repro steps? Please also note that to use Buby when launching Burp from the command line, you must ensure that your working directory is the directory containing the Burp executable. Buby performs some manipulation of the Java classpath based on the working directory, and this doesn't work properly if you invoke Burp from a working directory other than the location where Burp resides.

Burp User | Last updated: Sep 01, 2015 01:04PM UTC

This seems to only happen in OSX w/ 1.6.20 and higher. Java = 1.8.0.45 w/ any Jruby (9.0,1.7.x). Windows works fine; have not tried OSX. TypeError: can't convert nil into String dirname at org/jruby/RubyFile.java:664 (root) at <script>:1 org.jruby.embed.EvalFailedException: (TypeError) can't convert nil into String at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:132) at org.jruby.embed.jsr223.JRubyEngine.eval(JRubyEngine.java:118) at burp.zbc.<init>(Unknown Source) at burp.eze.a(Unknown Source) at burp.uhf.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) Caused by: org.jruby.exceptions.RaiseException: (TypeError) can't convert nil into String at org.jruby.RubyFile.dirname(org/jruby/RubyFile.java:664) at RUBY.(root)(<script>:1) Reproduction steps: On OSX BSP, attempt to install/load Buby from Bapp Store and get failure w/ error above. Tried on 4 different Macs with no luck.

Burp User | Last updated: Sep 01, 2015 01:05PM UTC

Edit: have not tried LINUX*

Burp User | Last updated: Sep 18, 2015 10:44PM UTC

Found the problem... Partially a user fault I suppose for not being tidy enough, but when one does not clean out all the old burp*.jarS, bad things will happen...with buby now. (Re)Solution: start BSP 1.6.20+ inside a CLEAN directory. (or just delete all the hold burp*.jar files in your $BURP_HOME.

Burp User | Last updated: Feb 08, 2017 09:19PM UTC

I'm seeing this problem on 1.7.17 on OS X. How exactly did you solve this? Where are the old burp*.jar files?

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.