Переглянути джерело

mitm/app tweaks, fix packer software urls

tags/v1.1.4
Jonathan Cobb 4 роки тому
джерело
коміт
153c8d5db7
5 змінених файлів з 8 додано та 7 видалено
  1. +2
    -2
      bubble-server/src/main/resources/bubble/rule/RequestModifierRule_icon.js.hbs
  2. +1
    -1
      bubble-server/src/main/resources/packer/roles/algo/tasks/main.yml
  3. +2
    -2
      bubble-server/src/main/resources/packer/roles/mitmproxy/files/bubble_api.py
  4. +2
    -1
      bubble-server/src/main/resources/packer/roles/mitmproxy/files/bubble_modify.py
  5. +1
    -1
      bubble-server/src/main/resources/packer/roles/mitmproxy/tasks/main.yml

+ 2
- 2
bubble-server/src/main/resources/bubble/rule/RequestModifierRule_icon.js.hbs Переглянути файл

@@ -87,10 +87,10 @@ function {{JS_PREFIX}}_create_button(labelKey, labelDefault, onclick, labelForma
return btn;
}

let {{PAGE_PREFIX}}_url_chasers = {};

if (typeof {{PAGE_PREFIX}}_icon_status === 'undefined') {

let {{PAGE_PREFIX}}_url_chasers = {};

{{PAGE_PREFIX}}_screenWidth = function () { return window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth };

let {{PAGE_PREFIX}}_doc_ready = false;


+ 1
- 1
bubble-server/src/main/resources/packer/roles/algo/tasks/main.yml Переглянути файл

@@ -11,7 +11,7 @@

- name: Download algo dist file
get_url:
url: https://jenkins.bubblev.org/public/releases/latest/algo/algo.zip
url: https://jenkins.bubblev.org/public/releases/algo/latest/algo.zip
dest: /tmp/algo.zip
checksum: sha256:{{ algo_sha256 }}



+ 2
- 2
bubble-server/src/main/resources/packer/roles/mitmproxy/files/bubble_api.py Переглянути файл

@@ -436,8 +436,8 @@ def is_flex_domain(client_addr, server_addr, fqdns):
bubble_log.debug('is_flex_domain: returning True for: '+fqdn+' (check='+check_fqdn+')')
return True
check_fqdn = check_fqdn[check_fqdn.index('.')+1:]
if bubble_log.isEnabledFor(DEBUG):
bubble_log.debug('is_flex_domain: (early) returning False for: '+fqdn)
# if bubble_log.isEnabledFor(DEBUG):
# bubble_log.debug('is_flex_domain: returning False for: '+fqdn)
return False




+ 2
- 1
bubble-server/src/main/resources/packer/roles/mitmproxy/files/bubble_modify.py Переглянути файл

@@ -299,7 +299,8 @@ def bubble_filter_response(flow, flex_flow):
if is_bubble_health_check(path):
health_check_response(flow)
else:
bubble_log.info('bubble_filter_response: sending special bubble response for path: '+path)
if bubble_log.isEnabledFor(DEBUG):
bubble_log.debug('bubble_filter_response: sending special bubble response for path: '+path)
special_bubble_response(flow)

elif flex_flow and flex_flow.is_error():


+ 1
- 1
bubble-server/src/main/resources/packer/roles/mitmproxy/tasks/main.yml Переглянути файл

@@ -39,7 +39,7 @@

- name: Download mitmproxy dist file
get_url:
url: https://jenkins.bubblev.org/public/releases/latest/mitmproxy/mitmproxy.zip
url: https://jenkins.bubblev.org/public/releases/mitmproxy/latest/mitmproxy.zip
dest: /tmp/mitmproxy.zip
checksum: sha256:{{ mitmproxy_sha256 }}



Завантаження…
Відмінити
Зберегти