In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
The content of this article mainly focuses on how the generation process of as,cp,signature is narrated. The content of the article is clear and clear. It is very suitable for beginners to learn and is worth reading. Interested friends can follow the editor to read together. I hope you can get something through this article!
Now since the media rumors, many people are now engaged in the self-media industry, game promotion, film and television publicity, and so on, are spread in the form of articles.
Today, let's share the idea of generating the parameters of Jinri Toutiao. Take Jinri Toutiao recommendation as an example, we will grab and debug the package.
See these three parameters, the others are normal parameters, you can carry them.
If we find the parameter name, we'll search.
Then we found that there are too many as and cp, variable names in search, such as Ma, then we directly search for the parameter _ signature. After finding this parameter, we search for as and cp in the current js file, and we will find these two parameters. Start debugging, as, and cp are all in the e parameter. Then we go on to debug the e parameter.
Debugging enters the m.default function and finds the as and cp values returned by function a, as shown in the following figure
Note here that the I function is encrypted by md5 and can be modified through python. If you need jsmd5 encryption, you need to copy md5.js for debugging. Currently, md5 is written in js, which can be copied for debugging.
Then let's go back to the decryption process of the parameter _ signature. This parameter does not work, and the data can be obtained without this parameter. Let's talk about the idea here. Url is a fixed parameter, params this is the as,cp we cracked. Some other parameters are included in it.
Entering this function, we can see the generation process. The parameter s is generated by passing the parameter, ah, into the g.sign function, and the parameter s is the parameter _ signature that we need.
This can be a difficulty, as the name of the js script changes all the time. Root out the js file to generate the _ signature parameter.
Thank you for your reading. I believe you have a certain understanding of "what is the process of generating as,cp,signature". Go and practice it. If you want to know more about it, you can follow the website! The editor will continue to bring you better articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.