Skip to content

Commit 4c112e7

Browse files
committed
Remove errant whitespace, unnecessary to_s
1 parent f54fc3d commit 4c112e7

File tree

1 file changed

+3
-3
lines changed
  • modules/auxiliary/spoof/cisco

1 file changed

+3
-3
lines changed

modules/auxiliary/spoof/cisco/cdp.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ class Metasploit3 < Msf::Auxiliary
1111

1212
def initialize
1313
super(
14-
'Name' => 'Send Cisco Discovery Protocol (CDP) Packets',
14+
'Name' => 'Send Cisco Discovery Protocol (CDP) Packets',
1515
'Description' => 'This module sends Cisco Discovery Protocol (CDP) packets',
1616
'Author' => 'Fatih Ozavci <viproy.com/fozavci>',
1717
'License' => MSF_LICENSE,
18-
'Actions' => [
18+
'Actions' => [
1919
['Spoof', { 'Description' => 'Sends CDP packets' }]
2020
],
2121
'DefaultAction' => 'Spoof'
@@ -62,7 +62,7 @@ def run
6262
cdp_packet = build_cdp
6363
print_status("Sending CDP messages on #{interface}")
6464
while @run
65-
capture.inject(cdp_packet.to_s)
65+
capture.inject(cdp_packet)
6666
Rex.sleep(60)
6767
end
6868
ensure

0 commit comments

Comments
 (0)