Browse Source

add mitm_pid script

pull/51/head
Jonathan Cobb 4 years ago
parent
commit
37fb6d077c
2 changed files with 10 additions and 1 deletions
  1. +8
    -0
      bin/mitm_pid
  2. +2
    -1
      bubble-server/src/main/resources/ansible/bubble_scripts.txt

+ 8
- 0
bin/mitm_pid View File

@@ -0,0 +1,8 @@
#!/bin/bash
#
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/
#
# Print PID of currently-active mitmproxy
# Note: this command only works on a running bubble node
#
ps auxwww | grep /home/mitmproxy/mitmproxy/venv/bin/mitmdump | grep $(cat /home/mitmproxy/mitmproxy_port) | grep -v grep | awk '{print $2}'

+ 2
- 1
bubble-server/src/main/resources/ansible/bubble_scripts.txt View File

@@ -18,4 +18,5 @@ cleanup_bubble_databases
install_packer.sh
rkeys
rmembers
rdelkeys
rdelkeys
mitm_pid

Loading…
Cancel
Save