拦截Flash和PHP之间数据的工具

发布于 2024-12-14 11:17:40 字数 337 浏览 2 评论 0原文

我一直在开发一些 API,用于在某些 PHP 服务和 ActionScript 3 之间进行通信。

我知道有多种方法可以拦截从 Flash 发送到 PHP 脚本的数据,对其进行操作,然后使用所操作的数据继续发送数据。这可能是在高分表上作弊的最简单方法。

显然这是无法避免的,但我可以让它变得困难,并且不值得大多数人去解读。

我想知道的是:

我可以使用什么工具来执行上述操作(拦截并查看我发送给 PHP 的数据)?老实说,我什至不确定这是如何做到的。有我可以使用的 GUI 或浏览器插件吗?

目标是观察并加强 ActionScript 和我的 PHP 服务之间发送的数据的“加密”。

I've been developing some APIs for communication between some PHP services and ActionScript 3.

I know that there are a number of ways to intercept data that is being sent from Flash to a PHP script, manipulate it and then continue the send with the manipulated data. This is probably the simplest way to cheat on highscore tables.

Obviously this can't be avoided, but I can make it difficult and not worthwhile for most people to decipher.

What I want to know is:

What tools can I use to do the above (intercept and see the data I'm sending to PHP)? I'm not even sure how this is done to be honest. Is there a GUI or a browser plugin that I can use?

The goal is to observe and strengthen the 'encryption' of data that will be send between ActionScript and my PHP services.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

时间海 2024-12-21 11:17:40

如果您使用的是 Windows,请查看 Fiddler。对于任何进行任何类型的 Web 开发或调试的人来说,它都是一个超级方便的工具。

您可以使用它在请求上设置断点并在让它们发送到服务器之前对其进行编辑等等。Fiddler

是一个 HTTP 代理(不是低级数据包嗅探器),因此当您正在监听纯 HTTP 流量。

编辑添加:我会尝试确保在服务器上计算(或验证)分数等,这样通过操纵消息就不会获得任何有用的东西。

If you are using Windows, check out Fiddler. It's a superhandy tool for anyone doing any type of web development or debugging.

You can use it to set breakpoints on requests and edit them before letting them go to the server etc, etc.

Fiddler is an HTTP proxy (not a low-level packet sniffer), so it's much easier to use than something like Wireshark when you are snooping on pure HTTP traffic.

Edited to add: I would try to ensure that scores etc are calculated (or validated) on the server, so that there's nothing useful to gain by manipulating the messages.

简美 2024-12-21 11:17:40

使用 TCP 代理,例如 TcpCatcherWireshark 允许您查看双方发送和接收的数据包。

至于“加密”,您无法加密到足以避免人们“看到”您的数据,但您可以使其变得困难且不值得。

Use a TCP proxy, such as TcpCatcher, or Wireshark which will allow you to view packets as they are sent and received from and to both parties.

As for "encryption", you cannot encrypt enough to avoid people from "seeing" your data, but you can make it hard and not worth while.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文