📜  usr 共享 metasploit-framework 模块利用 windows http rejetto_hfs_exec.rb:110: 警告:URI.escape 已过时 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:30.254000             🧑  作者: Mango

代码示例1
Try to fix it with this:

Line 110 in rejetto_hfs_exec.rb should be changed as follows:

'uri' => "/?search=%00{.#{URI::encode_www_form_component(payload)}.}"

And if it doesn't work...
it's because you are using eth0 instead of tun0 IP. Be careful next time.

https://github.com/rapid7/metasploit-framework/issues/13973