Loading

摘要: postman 接口测试工具 阅读全文
posted @ 2019-11-19 14:53 Tester-Dolores 阅读(77) 评论(0) 推荐(0) 编辑
摘要: POST 请求导致CSRF漏洞 解决方案: 1.忽略该检查 2.使用模板标签添加CSRF令牌,在form表单加入{% csrf_token %} 阅读全文
posted @ 2019-11-19 13:51 Tester-Dolores 阅读(41) 评论(0) 推荐(0) 编辑
摘要: def login_action(request): if request.method == 'POST': username = request.POST.get('username','') password = request.POST.get('password','') user = a 阅读全文
posted @ 2019-11-19 13:20 Tester-Dolores 阅读(77) 评论(0) 推荐(0) 编辑