Coder Social home page Coder Social logo

Comments (6)

SeekArt avatar SeekArt commented on July 28, 2024

目前每个号码一天最多接收10个验证码,不过建议很好,我们应该设置针对单IP发起的验证码请求三次后需要输入验证码

from ibos.

RunnerLee avatar RunnerLee commented on July 28, 2024

指的并不是 IBOS 中的,而是最终调用发送验证码的那个 API。
我试了一下是可以发到 14 条的,就没有接着发下去。

建议接口是针对 手机号 做策略,因为针对 IP 只要随便找个 HTTP 代理就能绕过了,例如:

  • 单个号码周期内最多发送条数
  • 单个号码两次发送最小间隔时间

另外,看了一下 IBOS 的验证短信验证码的代码,对于用户填入的短信验证码,前端只是校验了小于四位并没有考虑大于四位,后端则完全没验证就请求了验证的 API,虽然对于以后修改验证码规则方便,但也会增加一定的压力,建议修改下。

from ibos.

icy2003 avatar icy2003 commented on July 28, 2024

@RunnerLee ip还是手机号的已经反馈,验证的话,其实并不怎么大压力,所以没有做校验

from ibos.

irying avatar irying commented on July 28, 2024

@RunnerLee 厉害了我的哥,防刷的建议真不错,上个月已经搞定了

from ibos.

RunnerLee avatar RunnerLee commented on July 28, 2024

@irying 那个接口好像开了 debug

from ibos.

heiye1024 avatar heiye1024 commented on July 28, 2024

可以弄个ldap功能吗

from ibos.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.