Skip to content

Commit 5e63b5f

Browse files
committed
Can't use cli
1 parent cf714fe commit 5e63b5f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/msf/core/exploit/browser_autopwnv2.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -657,8 +657,6 @@ def get_exploit_urls(cli, request)
657657
host = ''
658658
if datastore['URIHOST']
659659
host = datastore['URIHOST']
660-
elsif cli
661-
host = cli.peerhost
662660
elsif datastore['SRVHOST'] && datastore['SRVHOST'] != '0.0.0.0'
663661
host = datastore['SRVHOST']
664662
else

0 commit comments

Comments
 (0)