From c0187b3585f2dc8b6f2e4ecf04cb449ecef2d4e7 Mon Sep 17 00:00:00 2001 From: Alexey Lapitsky Date: Sat, 1 Mar 2014 22:32:06 +0100 Subject: [PATCH] update wappalyzer.js path in the ruby driver --- drivers/ruby/wappalyzer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ruby/wappalyzer.rb b/drivers/ruby/wappalyzer.rb index 01fde3180..e4f163ed5 100755 --- a/drivers/ruby/wappalyzer.rb +++ b/drivers/ruby/wappalyzer.rb @@ -23,7 +23,7 @@ class Wappalyzer end cxt = V8::Context.new - cxt.load File.join(@realdir, '..', 'php', 'js', 'wappalyzer.js') + cxt.load File.join(@realdir, '..', '..', 'share', 'js', 'wappalyzer.js') cxt.load File.join(@realdir, '..', 'php', 'js', 'driver.js') data = {'host' => uri.hostname, 'url' => url, 'html' => body, 'headers' => headers} output = cxt.eval("w.apps = #{@apps.to_json}; w.categories = #{@categories.to_json}; w.driver.data = #{data.to_json}; w.driver.init();")