Path: blob/master/modules/network/detect_ethereum_ens/module.rb
1155 views
#1# Copyright (c) 2006-2025 Wade Alcorn - [email protected]2# Browser Exploitation Framework (BeEF) - https://beefproject.com3# See the file 'doc/COPYING' for copying permission4#5class Detect_ethereum_ens < BeEF::Core::Command6def self.options7[8{ 'name' => 'ethereum_ens_resource', 'ui_label' => 'What Ethereum ENS image resource to request', 'value' => 'http://ens.eth/static/favicon-6305d6ce89910df001b94e8a31eb08f5.ico' },9# Alternatives:10# http://esteroids.eth/favicon.ico11# http://api3.eth/api3-logo-white.svg12# http://api3.eth/favicon.ico13{ 'name' => 'timeout', 'ui_label' => 'Detection timeout', 'value' => '15000' }14]15end1617def post_execute18return if @datastore['result'].nil?1920save({ 'result' => @datastore['result'] })21end22end232425