Skip to content

Commit 04ec4e4

Browse files
author
jvazquez-r7
committed
minor cleanup for shell_bind_tcp
1 parent 3d199fe commit 04ec4e4

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

modules/payloads/singles/linux/mipsle/shell_bind_tcp.rb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
##
2-
# $Id$
3-
##
4-
51
##
62
# This file is part of the Metasploit Framework and may be subject to
73
# redistribution and commercial restrictions. Please see the Metasploit
@@ -23,7 +19,6 @@ module Metasploit3
2319
def initialize(info = {})
2420
super(merge_info(info,
2521
'Name' => 'Linux Command Shell, Bind TCP Inline',
26-
'Version' => '$Revision$',
2722
'Description' => 'Listen for a connection and spawn a command shell',
2823
'Author' => 'Vlatko Kosturjak',
2924
'License' => MSF_LICENSE,
@@ -40,7 +35,7 @@ def initialize(info = {})
4035
end
4136

4237
def generate
43-
if(!datastore['LPORT'] or datastore['LPORT'].empty? )
38+
if !datastore['LPORT']
4439
return super
4540
end
4641

0 commit comments

Comments
 (0)