Skip to content

Instantly share code, notes, and snippets.

View andrieslouw's full-sized avatar

Andries Louw Wolthuizen andrieslouw

View GitHub Profile
@pjv
pjv / cf_ban
Created May 13, 2016 13:17
Cloudflare v4 API ban and urban bash scripts
#!/bin/bash
# dependencies: curl
# example usage: cf_ban 192.168.0.1
# append cloudflare email address and API token:
USER=
TOKEN=