How do i retrieve data from a JVM renderized into

2019-08-30 05:18发布

问题:

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 !

标签: c# bots