The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Latest JRuby Complete Jar - 9.2.0.0 Breaks Customs Extensions

Thomas | Last updated: Jun 03, 2018 02:09AM UTC

I recently downloaded the JRuby Complete 9.2.0.0 JAR and use it for my Burp Ruby Environment. Upon attempting to load a custom Ruby extension I was met with the following error: NoMethodError: undefined method `setExtensionName' for nil:NilClass registerExtenderCallbacks at /path/to/custom/extender.rb:18 <main> at <script>:1 org.jruby.embed.EvalFailedException: (NoMethodError) undefined method `setExtensionName' for nil:NilClass The previous JRuby complete Jar, 9.17.0.0 works as intended.

PortSwigger Agent | Last updated: Jun 04, 2018 10:39AM UTC

Hi Thomas, Thanks for reporting this. It looks like a JRuby bug which I have "reported":https://github.com/jruby/jruby/issues/5207. For now you will need to use the older version of JRuby. Hopefully they will include a fix in the next version.

Liam, PortSwigger Agent | Last updated: Jun 04, 2018 10:42AM UTC

Just to let you know that this issue should be fixed in today's release (1.7.34). Thanks for your feedback and please let us know if you run into any other problems.

Nouf | Last updated: May 14, 2020 03:17AM UTC

I got thisd error when I loaded jquery /home/kali/.BurpSuite/bapps/5f46fe766e9c435992c610160bb53cba/uploader.rb:225: warning: `+' after local variable or literal is interpreted as binary operator /home/kali/.BurpSuite/bapps/5f46fe766e9c435992c610160bb53cba/uploader.rb:225: warning: even though it seems like unary operator LoadError: no such file to load -- base64 require at org/jruby/RubyKernel.java:974 <main> at /home/kali/.BurpSuite/bapps/5f46fe766e9c435992c610160bb53cba/uploader.rb:2 require at org/jruby/RubyKernel.java:974 <main> at <script>:1 org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- base64 at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:131) at org.jruby.embed.jsr223.JRubyEngine.eval(JRubyEngine.java:90) at burp.f_b.<init>(Unknown Source) at burp.etr.a(Unknown Source) at burp.fyw.lambda$panelLoaded$0(Unknown Source) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: org.jruby.exceptions.LoadError: (LoadError) no such file to load -- base64 at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:974) at RUBY.<main>(/home/kali/.BurpSuite/bapps/5f46fe766e9c435992c610160bb53cba/uploader.rb:2) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:974) at RUBY.<main>(<script>:1)

Hannah, PortSwigger Agent | Last updated: May 14, 2020 08:13AM UTC

Hi Could you provide some more information on what you are doing so I can attempt to replicate this? The error appears to be coming from an extension called File Upload Traverser. Could you also provide the following: - Your version of Burp Suite - Your version of JRuby

Nouf | Last updated: May 14, 2020 05:06PM UTC

Hi Thank you for your fast reply burp's version is 2.1.0.4 jruby's version is 9.2.11.1

Hannah, PortSwigger Agent | Last updated: May 15, 2020 07:19AM UTC