diff --git a/modules/network/detect_tor/command.js b/modules/network/detect_tor/command.js index 4872d2e11..95e89dd97 100644 --- a/modules/network/detect_tor/command.js +++ b/modules/network/detect_tor/command.js @@ -14,7 +14,9 @@ beef.execute(function() { img.setAttribute("style","visibility:hidden"); img.setAttribute("width","0"); img.setAttribute("height","0"); - img.src = 'http://dige6xxwpt2knqbv.onion/wink.gif'; + //img.src = 'http://dige6xxwpt2knqbv.onion/wink.gif'; + //img.src = 'http://xycpusearchon2mc.onion/deeplogo.jpg' + img.src = '<%= @tor_resource %>'; img.id = 'torimg'; img.setAttribute("attr","start"); img.onerror = function() { diff --git a/modules/network/detect_tor/module.rb b/modules/network/detect_tor/module.rb index d3cb58ea3..65e7532c0 100644 --- a/modules/network/detect_tor/module.rb +++ b/modules/network/detect_tor/module.rb @@ -7,6 +7,7 @@ class Detect_tor < BeEF::Core::Command def self.options return [ + {'name' => 'tor_resource', 'ui_label' => 'What Tor resource to request', 'value' => 'http://xycpusearchon2mc.onion/deeplogo.jpg'}, {'name'=>'timeout', 'ui_label' =>'Detection timeout','value'=>'10000'} ] end