The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 line
636 B

  1. #!/bin/bash
  2. #
  3. # Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://bubblev.com/bubble-license/
  4. #
  5. MITM_PORT=${1:?no port provided}
  6. cd /home/mitmproxy/mitmproxy && \
  7. ./dev.sh && . ./venv/bin/activate && \
  8. mitmdump \
  9. --listen-host 0.0.0.0 \
  10. --listen-port ${MITM_PORT} \
  11. --showhost \
  12. --no-http2 \
  13. --set block_global=true \
  14. --set block_private=false \
  15. --set termlog_verbosity=debug \
  16. --set flow_detail=3 \
  17. --set stream_large_bodies=5m \
  18. --set keep_host_header \
  19. -s ./dns_spoofing.py \
  20. -s ./bubble_passthru.py \
  21. -s ./bubble_modify.py \
  22. --mode transparent