- fiddler抓包找到获得challenge和token的请求,gt是不变的
https://passport.{}.com/x/passport-login/captcha?source=business_spark_login&t=0.9436689309084061
https://api.geetest.com/get.php?gt=ac597a4506fee079629df5d8b66dd4fe&challenge={challenge}&lang=zh-cn&pt=0&client_type=web&w=Ryixzou(Xv11XsIcBNfY21CfUUKw3FKUbt9SphyggOCSXkuqI3KfZ9rAmYqJ)(l4pWG4gkGerrzwJBn379las8E(9hFQ(aLOWgIUUKT9PxPF635eq0uHWAB9NaQNLaySHT8dq3VfUIi4CGXrWj2Xyld8()6qtX)yNFwriL8sRAZIa(1Po5j3aOMweyStvser8OmC7J2v1GV9GX6JetZtShJeTB7hpmyfTgNnPt6wuhruNFU0OwpzFOsbig5gTqMXAwBysDiCPpsfaxupwr3EohaXqMSeMr)ysZORSnbCWJc4keJivS9q8I5Ekw1F0bhbguKb2EPdfhstscyADTU)VvY)oDeZaVuD1ziFo1VnBcHc91ZrUFCgp9SNqP9kvyN3ibz0kwyfqTXEEQ(f5vKxk4nqWXvpVIwU6ZGasXaAtzr3jK6EW07(vF36FAPg4iLoqndGYR4aHthjchClYMKdoTDQUHKKjigOLE5XD26GpM7eYo4)I3cJrlVVmrXccshCNfbQ)R4mYHcGZViVfVt2rnq1ks(nTomvxLmUuwbvGKnVDrmC2Rl9SusMMgDj5A4q(IOQbuxg6y0Zq4QvYL)aem4QCGCbAqyOsTLZGxmh)tz3QrPPsjUXN0E90FhYoRZZi056wvdpOrZPf7gee6pY2Aklds)DqHvaBW0WX7NmCiGHJhsxDW94dy4QjbT1KnJWWGF9iwS0JhTDdw)Gu4QLNbDYvaQ(DQUkXs2Y4Tn6n0i44W8KbSsf7S8aJxXZF57g5g0tjKwK2pEzwinAreVDVpf2sO0iO4)(SiXA4Yk(PoUWtjrehAbMZ58P0KzI2RXyMRJ4BQDQjSkuOdVZC2PDOaaKeIgrAuXlOegakHargM1v76w1Nrt0Jqt3nWtJhK(uOzSvbYItzkNOvNNKJUTYoNSpQzGAmKpd8IVJ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nQsASKrO7A(8B9dUP6Nozr9iARJQYEKw37P2qwBUqVD(p(4PUtvDpBAepKwbvmrgtNRm86nhperyZCkUncThaL9VqTQICbMmsd7TIOCmrEdM0DWzSPKmTCjxKgLPW4CwBGtP5d2CZ(lWk84JHiaNUPW2YxLavWlYT25JZGuOqPMx9NgZklQMv(M6hJlWBlbRL67xXzgghGf3q67ow657TxCB2vP1onrN39xapvo2bxJ3M5CKb2N6D7BQbLOzS)tEGgEI2BSBRgmFZQJREXSvtBlCLJIYX8S8iq6DlHWWV02VNj7ggFlSewTD(4Ynn6HiknVKGodg6(QcPYQLvK6psBYO1vbGSpnxNW2ZJxpHcpq5sw2unnrB5CpMSd5yAbfA11nDEXs8b3J)eCWAEcP36UaZnbJ4.bb197b4e65fe96c5ef63a3065536b9145bddba64356d3b8a1550813f05b4ad14ba5a72ff770272fbb878ab26bb274d8337b8ebd52f755e665d7cc724f5614116972d6b986ec89070755447d4f83956ea7217276ac1a9edc52d5bb972bdebaf6db0289c8b14032427c5d9837cd4a16ea95838f2a7772fdd63ec1e2f033e9f6076&callback=geetest_{int(time.time() * 1000)}
https://api.geetest.com/ajax.php?gt=ac597a4506fee079629df5d8b66dd4fe&challenge={challenge}&lang=zh-cn&pt=0&client_type=web&w=dMCe0u3tN5kAkmHT7WVdYjyC4wiEqA8QonmTfHSABaFfZXOcxAmjshtBaOUliXf(oAKZ)7mxe5xaCPJN(K8V(Uk1(l47dT90aZqm1guM)eJL(tlK()FcDNRm1J)TGSkVv15cLKcYWuITZDNT72qaM)Ip6MseMU6L0wNR0NysNQ6y7miiWMm7KvM6JeTsUHsfh5v0F1a5GqXpWizCJz5IahQm5xcWs5JVl7OhbsAWhAaX5RD0Nm26oiqekMkW5OjWqS24ZyKbnZ3LP5aeDppDR4oL22wKtRHxUngXmCCPb(X1twC3eMfLACsgMQ4cV6VZaWuaRWSUH7ducpVj)svvRPpvNL(lunNar0sP8jT54J5Qyq9dOLdBxaNm6YfqliG4tQzSp2GC6AvB9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mY5YwB20QoMfmNlswUx8j33CZTyE4dPzsLpXCiPn(iFnPEgG0ixkweZyiyPKS7zjwKQ0dR6oYT1BipsLks1SbZ1J55Ei0g2U0QyGnF)jFx9LE(WDKbLllp4UsImiDN2K9MEha63xT9aDYT37csHDGWg..&callback=geetest_{int(time.time() * 1000)}
https://api.geetest.com/get.php?is_next=true&type=click>=ac597a4506fee079629df5d8b66dd4fe&challenge={challenge}&lang=zh-cn&https=false&protocol=https%3A%2F%2F&product=embed&api_server=api.geetest.com&isPC=true&autoReset=true&width=100%25&callback=geetest_{int(time.time() * 1000)}
- 获得图片中的文字坐标
- 解读click.3.0.2.js(在点击登录时才会出现,一般会在statci.geetest.com文件夹下),找到坐标加密方法,获得参数w
- 获得validate
https://api.geetest.com/ajax.php?gt=ac597a4506fee079629df5d8b66dd4fe&challenge={challenge}&lang=zh-cn&pt=0&client_type=web&w={w}&callback=geetest_{int(time.time() * 1000)}
- 带着token,challenge,gt,validate请求login