Skip to content

Commit cfd06ab

Browse files
author
Austin
authored
what was i thinking?
1 parent b6e2e2a commit cfd06ab

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

modules/auxiliary/scanner/misc/cisco_smart_install.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ def initialize(info = {})
4242
[
4343
Opt::RPORT(4786),
4444
OptAddressLocal.new('LHOST', [ false, "The IP address of the system running this module" ]),
45-
OptInt.new('SLEEP', [ true, "Time to wait for config to come back", 10]),
46-
OptInt.new('DELAY', [ true, "Time to wait till requesting config to prevent service from becomming unresponsive.", 60])
45+
OptInt.new('SLEEP', [ true, "Time to wait for config to come back", 10])
4746
]
4847
)
4948
end
@@ -134,8 +133,7 @@ def run_host(ip)
134133
return unless smi?
135134
disconnect # cant send any additional packets, so closing
136135
connect
137-
print_status("Waiting #{datastore['DELAY']} seconds before requesting config")
138-
Rex.sleep(datastore['DELAY'])
136+
print_status("Requesting configuration from device...")
139137
send_packet
140138
print_status("Waiting #{datastore['SLEEP']} seconds for configuration")
141139
Rex.sleep(datastore['SLEEP'])

0 commit comments

Comments
 (0)