• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

Recommended Posts

mock数据

查尔斯提供了三种方法,如下:

地图功能

重写功能

断点功能(断点)

MapLocal

选择要返回的文件。

awnglfxqjgx4251.png

MapRemote

右键单击URL,然后单击地图远程。

Map两者区别

映射本地:将网络请求重定向到本地文件。

映射远程:将一个网络请求重定向到另一个网络请求。

Rewrite功能

工具-重写

0jgj4ixp1nv4252.png

修改返回值

uvskr4uayd24253.png

修改状态代码

yjwflunqwud4254.png

Breakpoints

右键单击,然后选择[断点]

fgipasqf1ix4255.png

删除查询中的内容;如果修改请求数据,请检查请求;如果响应数据被修改,检查响应;

enryclpd0n44256.png

这时Charles会通过重新访问界面自动跳转到断点页面。

3c33nowq2s34257.png

此时,修改响应数据,点击编辑响应,将底部选项卡切换为文本,修改所需数据;

g1ci3wsupwq4258.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now