检测从哪种语言生成了HTTP请求 [英] detect from which language http request have been generated

查看:63
本文介绍了检测从哪种语言生成了HTTP请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

理想情况:我为Andriod Mobile开发了一款游戏,它的服务器端是asp.net
clinet端沿标题中的imei#发送xml,然后服务器解析xml并生成响应.

现在,一个黑客自己生成了xml并将其发送到asp.net服务器
我怎么能发现信息是从C#或.net框架生成的.
我只是想知道从哪个编程语言生成HTTP请求.

Hello,

ideal case: i have make a game for andriod mobile and its server side is asp.net
clinet side send the xml along imei # in header and server parse the xml and generate the response.

now a hacker generatet the xml by himself and send to the asp.net server
how can i find that the informatio is generated from c# or .net frame work.
simply i want to know that http request is generated from which programing langauge.

推荐答案

这种机制不存在.假设我们正在从.Net程序发送请求.您当时想看什么? C ++,C#或VB?事实并非如此,因为必须先将其编译为MISL,然后才能运行.因此,它应该显示MISL吗?在运行时,JIT已将MISL编译为本机代码.

您似乎是某种形式的Web服务,并且受困于保护此类Web服务的常用方法:减少HTTP请求中的信息(例如,请求所来自的IP地址)或对请求中的数据进行加密和响应.
Such a mechanism does not exist. Let''s say we were sending the request from a .Net program. What would you like to see at that moment? C++, C# or VB? That would not be true, because before it can run, it would have to be compiled to MISL. So should it show MISL instead? At runtime the JIT has compiled the MISL to native machine code.

What you have appears to be some kind of webservice and you are stuck with the usual means of securing such a webservice: Examinining the information in the HTTP request (for example the IP address from where the request comes) or encrypting the data in the requests and responses.


这篇关于检测从哪种语言生成了HTTP请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆