Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/modules/ipec/inter_protocol_irc/module.rb
1154 views
1
#
2
# Copyright (c) 2006-2025 Wade Alcorn - [email protected]
3
# Browser Exploitation Framework (BeEF) - https://beefproject.com
4
# See the file 'doc/COPYING' for copying permission
5
#
6
class Inter_protocol_irc < BeEF::Core::Command
7
def self.options
8
[
9
{ 'name' => 'rhost', 'ui_label' => 'IRC Server', 'value' => '127.0.0.1' },
10
{ 'name' => 'rport', 'ui_label' => 'Port', 'value' => '6667' },
11
{ 'name' => 'nick', 'ui_label' => 'Username', 'value' => 'user1234__' },
12
{ 'name' => 'channel', 'ui_label' => 'Channel', 'value' => '#channel1' },
13
{ 'name' => 'message', 'ui_label' => 'Message', 'value' => 'Message sent from the Browser Exploitation Framework!' }
14
]
15
end
16
17
def post_execute
18
save({ 'result' => @datastore['result'] })
19
end
20
end
21
22