search
HomeWeb Front-endJS TutorialCrawler JS reverse sliding encryption (2)

Crawler JS reverse sliding encryption (2)

Relevant learning recommendations: javascript video tutorial

The previous article analyzed and restored the confusion of a certain slide. code, and many people in the background are asking about the encryption behind it and what the entire process is, so today I will simply come up with the entire encryption

Without further ado, time is precious, let’s get started!

Go back to the previous encryption of w

Crawler JS reverse sliding encryption (2)

You can see that the function receives three parameters. Chase up the call stack

Crawler JS reverse sliding encryption (2)

The restored code is very clear. The three parameters are c, l, n["$_DAAD"], look at the code carefully

 _ = e ? n["lastPoint"]["x"] : t["$_CCAY"]() / a - n["$_DDHB"]u = e ? n["lastPoint"]["y"] : n["$_DDIm"] - t["$_CCBw"]() / a;复制代码

It is not difficult to guess that this _ and u correspond to the coordinates of the x and y axes respectively when we slide.

If you don’t believe it, you can take a ruler and measure it (manual dog head)

Crawler JS reverse sliding encryption (2)

The third parameter is the sliding time. So the key lies in the second parameter l..

The console outputs it separately to see what it is

Do the last two look familiar? It is the data returned by the previous request

Crawler JS reverse sliding encryption (2)

Then there is only one key point left, go in and take a look

Crawler JS reverse sliding encryption (2)

Click in , you can enter the function, set a breakpoint, and resend the request

Crawler JS reverse sliding encryption (2)

This t is a trajectory we slide..., through this function, the trajectory array becomes a string.

After deducting the function, the previous array assignment can be deleted, because we have restored it, and it seems to be in the way.

Crawler JS reverse sliding encryption (2)

After deducting the function Try to run it, what is missing will be filled in. The principle that remains unchanged for thousands of years

continues to return to the encryption of l. Next is the outermost function. Use the same method to remove the encryption function.

Crawler JS reverse sliding encryption (2)

After completing the above, the three parameters of the W encryption function are complete!

Continue with the following process.... It’s not difficult at all.

Just take out those encrypted functions.

Crawler JS reverse sliding encryption (2)

Take out all those AES Base64 and that’s it!

Js The encryption part is basically completed, and all that remains is to send requests based on the request flow in the Network.

The above is the entire process of sliding a certain test, isn’t it so easy!

If you want to know more about programming learning, please pay attention to the php training column!

The above is the detailed content of Crawler JS reverse sliding encryption (2). For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:juejin. If there is any infringement, please contact admin@php.cn delete
PHP 爬虫实战:爬取 Twitter 上的数据PHP 爬虫实战:爬取 Twitter 上的数据Jun 13, 2023 pm 01:17 PM

在数字化时代下,社交媒体已经成为人们生活中不可或缺的一部分。Twitter作为其中的代表,每天有数亿用户在上面分享各种信息。对于一些研究、分析、推销等需求,获取Twitter上的相关数据是非常必要的。本文将介绍如何使用PHP编写一个简单的Twitter爬虫,爬取一些关键字相关的数据并存储在数据库中。一、TwitterAPITwitter提供

爬虫实战:用 PHP 爬取京东商品信息爬虫实战:用 PHP 爬取京东商品信息Jun 13, 2023 am 11:11 AM

在当今的电商时代,京东作为中国最大的综合电商之一,每日上架的商品数量甚至可以达到数万种。对于广大的消费者来说,京东提供了广泛的商品选择和优势的价格优惠。但是,有些时候,我们需要批量获取京东商品信息,快速筛选、比较、分析等等。这时候,我们就需要用到爬虫技术了。在本篇文章中,我们将会介绍利用PHP语言编写爬虫,帮助我们快速爬取京东商品信息的实现。准备工作首先,我

爬虫技巧:如何在 PHP 中处理 Cookie爬虫技巧:如何在 PHP 中处理 CookieJun 13, 2023 pm 02:54 PM

在爬虫开发中,处理Cookie常常是必不可少的一环。Cookie作为HTTP中的一种状态管理机制,通常被用来记录用户的登录信息和行为,是爬虫处理用户验证和保持登录状态的关键。在PHP爬虫开发中,处理Cookie需要掌握一些技巧和留意一些坑点。下面我们详细介绍如何在PHP中处理Cookie。一、如何获取Cookie在使用PHP编写

爬虫实战:使用PHP爬取携程旅游信息爬虫实战:使用PHP爬取携程旅游信息Jun 13, 2023 am 10:26 AM

随着旅游业的不断发展,旅游信息变得非常丰富。为了方便大家获取更全面、准确的旅游信息,我们可以使用爬虫来抓取旅游网站上的数据,并进行分析和处理。本文将介绍如何使用PHP爬取携程旅游信息。爬虫基础知识爬虫是一种自动化程序,可以模拟用户访问网站并获取网站上的数据。爬虫一般分为以下几步:发起请求:爬虫程序会向目标网站发起HTTP请求,获取目标网站的HTML代码。解析

PHP 爬虫实战:爬取百度搜索结果PHP 爬虫实战:爬取百度搜索结果Jun 13, 2023 pm 12:39 PM

随着互联网的发展,我们可以通过各种搜索引擎轻易地获得各种信息。而对于开发者来说,如何从搜索引擎中获取各种数据,是一项非常重要的技能。今天,我们来学习如何使用PHP编写一个爬虫,来爬取百度搜索结果。一、爬虫工作原理在开始之前,我们先来了解一下爬虫工作的基本原理。首先,爬虫会发送请求给服务器,请求网站的内容。服务器接收到请求之后,会返回网页的内容。爬虫收到内

Python中的爬虫实战:微信公众号爬虫Python中的爬虫实战:微信公众号爬虫Jun 10, 2023 am 09:01 AM

Python是一种优雅的编程语言,拥有强大的数据处理和网络爬虫功能。在这个数字化时代,互联网上充满了大量的数据,爬虫已成为获取数据的重要手段,因此,Python爬虫在数据分析和挖掘方面有着广泛的应用。在本文中,我们将介绍如何使用Python爬虫来获取微信公众号文章信息。微信公众号是一种流行的社交媒体平台,用于在线发布文章,是许多公司和自媒体推广和营销的重要工

使用 PHP 和 Selenium WebDriver 实现爬虫使用 PHP 和 Selenium WebDriver 实现爬虫Jun 13, 2023 am 10:06 AM

随着互联网的蓬勃发展,我们可以轻松地获取海量的数据。而爬虫则是其中一种常见的数据获取方式,特别是在需要大量数据的数据分析和研究领域中,爬虫的应用越来越广泛。本文将介绍如何使用PHP和SeleniumWebDriver实现爬虫。一、什么是SeleniumWebDriver?SeleniumWebDriver是一种自动化测试工具,主要用于模拟人

PHP爬虫实战:如何抓取网页表格数据PHP爬虫实战:如何抓取网页表格数据Jun 13, 2023 am 09:35 AM

随着互联网和大数据时代的到来,越来越多的数据可以被收集和利用。而在众多从网页上获取数据的方法中,爬虫技术可以说是最为强大和高效的一种。在实际的应用场景中,我们经常需要从网页中抓取特定的数据,尤其是网页中的表格数据。因此,本文将介绍如何使用PHP爬虫技术来获取并解析网页中的表格数据。安装和配置PHP爬虫库在开始编写爬虫代码之前,我们需要先安装和配置一个PHP爬

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version