set --read-timeout=60 --tries=3 for wget
This commit is contained in:
@@ -39,7 +39,7 @@ module BeEF
|
|||||||
#
|
#
|
||||||
if use_existing.nil? || use_existing == false
|
if use_existing.nil? || use_existing == false
|
||||||
begin #,"--background"
|
begin #,"--background"
|
||||||
cmd = ["wget", "#{url}", "-c", "-k", "-O", "#{@cloned_pages_dir + output}", "-U", "#{user_agent}"]
|
cmd = ["wget", "#{url}", "-c", "-k", "-O", "#{@cloned_pages_dir + output}", "-U", "#{user_agent}", '--read-timeout', '60', '--tries', '3']
|
||||||
if not @config.get('beef.extension.social_engineering.web_cloner.verify_ssl')
|
if not @config.get('beef.extension.social_engineering.web_cloner.verify_ssl')
|
||||||
cmd << "--no-check-certificate"
|
cmd << "--no-check-certificate"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user