文章 2023-01-28 来自:开发者社区

remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2

具体错误:$ git push --set-upstream origin quantum6 remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal access token ....

问答 2022-04-15 来自:开发者社区

请教一下各位大神,http中get请求里面携带的password一般采用怎样的方式生成?

我最近在测试一个别人写的APP,APP用户经常投诉说APP报告“密码错误”,但实际输入的密码是正确的,我发现该APP的密码是客户端通过HTTP的get请求送给服务器的,get里面的passsword字段是32位的加密(或者hash)后的字符串,我手里有个username、password和一个随机变量var,我比较感兴趣这个32位字符串一般是怎么生成的?有什么样的算法?谢谢了

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐

{"cardStyle":"productCardStyle","productCode":"aliyun","productCardInfo":{"productTitle":"从 HTTP 到 HTTPS 让网站更安全","productDescription":"本方案介绍如何在ECS上搭建Web应用以及在Nginx服务器上部署SSL证书开启HTTPS安全访问。","productContentLink":"https://www.aliyun.com/solution/tech-solution/ssl","isDisplayProductIcon":true,"productButton1":{"productButtonText":"方案详情","productButtonLink":"https://www.aliyun.com/solution/tech-solution/ssl"},"productButton2":{"productButtonText":"方案部署","productButtonLink":"https://help.aliyun.com/document_detail/2684684.html"},"productButton3":{"productButtonText":"查看更多技术解决方案","productButtonLink":"https://www.aliyun.com/solution/tech-solution/"},"productPromotionInfoBlock":[{"$id":"0","productPromotionGroupingTitle":"解决方案推荐","productPromotionInfoFirstText":"全面安全保障:等保 2.0 解决方案","productPromotionInfoFirstLink":"https://www.aliyun.com/solution/tech-solution/mlps-compliance-solution","productPromotionInfoSecondText":"企业多账号身份权限集中管理","productPromotionInfoSecondLink":"https://www.aliyun.com/solution/tech-solution/cmomaip"}],"isOfficialLogo":false},"activityCardInfo":{"activityTitle":"","activityDescription":"","cardContentBackgroundMode":"LightMode","activityContentBackgroundImageLink":"","activityCardBottomInfoSelect":"activityPromotionInfoBlock"}}