Path: blob/master/modules/ipec/inter_protocol_irc/module.rb
1154 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 Inter_protocol_irc < BeEF::Core::Command6def self.options7[8{ 'name' => 'rhost', 'ui_label' => 'IRC Server', 'value' => '127.0.0.1' },9{ 'name' => 'rport', 'ui_label' => 'Port', 'value' => '6667' },10{ 'name' => 'nick', 'ui_label' => 'Username', 'value' => 'user1234__' },11{ 'name' => 'channel', 'ui_label' => 'Channel', 'value' => '#channel1' },12{ 'name' => 'message', 'ui_label' => 'Message', 'value' => 'Message sent from the Browser Exploitation Framework!' }13]14end1516def post_execute17save({ 'result' => @datastore['result'] })18end19end202122