cloudflare_ban

1.0.1 • Public • Published

cloudflare_ban

async function main(){
    const x = require("cloudflare_ban")
    x.set_zone_identifier('zone_identifier')
    x.set_email("email")
    x.set_auth_key("auth_key") //  /profile/api-tokens (Global API Key)
    await x.start()
    let a =await x.block("4.4.4.4")
    console.log(a)
    let b =await x.captcha("4.4.4.4")
    console.log(b)
    let c =await x.js_challenge("4.4.4.4")
    console.log(c)
    
    //let d =await x.remove_block("4.4.4.4")
    //console.log(d)
    //let e =await x.remove_captcha("4.4.4.4")
    //console.log(e)
    //let f =await x.remove_js_challenge("4.4.4.4")
    //console.log(f)
}
main()

Readme

Keywords

none

Package Sidebar

Install

npm i cloudflare_ban

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

7.53 kB

Total Files

4

Last publish

Collaborators

  • qwertyforce