How do i retrieve data from a JVM renderized into a web page using C# code?

自闭症网瘾萝莉.ら 提交于 2019-12-25 02:19:37

问题


Context:

I am trying to write a "bot" to make queries into this site. One of the problems is that, the results are shown into a "frame" that does not appear into the HTML, and it looks to me like a "Java Virtual Machine" or whatever.

Problem:

The main problem (leaving the captchas recognition aside, since we've done it before) is that i can't find a way to "retrieve/extract" the result data of the query at the website.

I've crawled the HTML manually trying to find at least, a clue of what's going on there, but seems like i dont have enought expertise to figure out how the results are being displayed.

Fiddler shows that, the requests for the virtual machine, returns a sort of "encripted" information, that i doesn't know how to "decript".

 Fiddler Request (jar) : GET http://www.brasiltelecom.com.br/portal/pf/102online/Applet102PConv.jar 

 Fiddler Request with encripted Return : GET http://www.brasiltelecom.com.br/portal/Consultar102OnlineServlet?nome=9E10EB3AEF707099&endr=B48A41A90FCA933A&bair=B48A41A90FCA933A&locl=4A8DEF5F7E4C714B&tipo=1&secure=334265 

Parameters of the second request translated:

nome = name
endr = Address
bair = neighborhood
locl = location
Tipo = always 1
secure = captcha

Just for a better understanding of the context.

Tools:

Currently, i am using Visual Studio 2010 (IDE), Fiddler (Web Debugger), and internal Libraries (dll's) to make the process easier.

Questions:

How can i extract the information displayed in the screen programatically, using a C# application ?

Is there any way i can "decript" the information returned by the webrequest, or, at least, find the "key" or "method" used by the service as the first step to start decripting ?

Thanks in advance, i hope i've made myself clear, let me know if there is anything i can do to improve the question.

Peace !

来源:https://stackoverflow.com/questions/10212757/how-do-i-retrieve-data-from-a-jvm-renderized-into-a-web-page-using-c-sharp-code

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!