Skip to content

Commit

Permalink
Avoiding 1.8.7 variable assignment incompat.
Browse files Browse the repository at this point in the history
  • Loading branch information
todb committed Nov 7, 2012
1 parent 0ed3614 commit 81ed0bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/msf/core/exploit/realport.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def realport_recv_banner(port=0, timeout=30, max_data=4096)
banner
end

def realport_send(port=0, data)
def realport_send(port=0, data="")
sock.put( [port].pack("C") + data )
end

Expand Down

1 comment on commit 81ed0bb

@corelanc0d3r
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.