mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-06-16 10:04:12 +02:00
12 lines
406 B
Plaintext
12 lines
406 B
Plaintext
|
Acquire::http::Proxy "http://<%= @server['host'] %>:<%= @server['port'] %>";
|
||
|
<% if @server['proxy_ssl'] %>
|
||
|
Acquire::https::Proxy "http://<%= @server['host'] %>:<%= @server['port'] %>";
|
||
|
<% else %>
|
||
|
Acquire::https::Proxy "DIRECT";
|
||
|
<% end %>
|
||
|
<% unless @server['cache_bypass'].nil? %>
|
||
|
<% @server['cache_bypass'].each do |bypass, type| %>
|
||
|
Acquire::<%= type %>::Proxy::<%= bypass %> "DIRECT";
|
||
|
<% end %>
|
||
|
<% end %>
|