is_tor_working 120 B

12345
  1. #!/bin/bash
  2. # GPLv3 or later see COPYING.GPL
  3. curl --socks5-hostname localhost:9050 https://check.torproject.org/api/ip