|
[讨论]比较有意思的技术性问题,请大家过来看一看!!
package org.rscis.test; import java.io.IOException; import org.apache.http.client.ClientProtocolException; import org.rscis.utils.regex.RegexOpt; import org.rscis.utils.rsHttpClient.RsHttpClient; import org.rscis.utils.rsHttpClient.RsHttpClientException; public class TesthDotazjUuu9Com { public static void main(String[] args) throws ClientProtocolException, IOException, RsHttpClientException { RsHttpClient client = new RsHttpClient(); String firstPage = client.getMethod("http://dotazj.uuu9.com/"); // System.out.println(firstPage); //<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTU0OTE0ODA1NmRkGbqyrPsb5Jhf4T2qFtAiS6Dy7Ko=" /> String __VIEWSTATE = RegexOpt.getString(firstPage, "id=\"__VIEWSTATE\" value=\"(.+?)\"", 1); //<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWDQKYkpXoDQL7uPQdArursYYIApOixrIJArqP2b0HAp2ilpYPAtO31N4HAp3hgG0CgZLB4wgCgpLB4wgCgJLB4wgC9pHB4wgC/pGB5AiIAnMm7r/a4sYrcbm2WhKuK6/JWg==" /> String __EVENTVALIDATION = RegexOpt.getString(firstPage, "id=\"__EVENTVALIDATION\" value=\"(.+?)\"", 1); String name = "官人可以不"; String postData = "__VIEWSTATE=" + __VIEWSTATE + "&__EVENTVALIDATION=" + __EVENTVALIDATION + "&name=" + name + "&Button2=鉴定玩家&ladderRating=&jushu=&win=&p_win=&mvp=&resv6=&resv5=&resv7=&resv9=&resv10="; String resultPage = client.postMethod("http://dotazj.uuu9.com/", postData); // <p> // 天梯积分:</p> // <input name="ladderRating" type="text" id="ladderRating" class="text2" value="1429" /></li> String 天梯积分 = RegexOpt.getString(resultPage, "id=\"ladderRating\" class=\"text2\" value=\"(\\d+)\"", 1); //<li> // <p> // 局数:</p> // <input name="jushu" type="text" id="jushu" class="text2" value="1728" /></li> String 局数 = RegexOpt.getString(resultPage, "id=\"jushu\" class=\"text2\" value=\"(\\d+)\"", 1); //<li> // <p> // 胜场:</p> // <input name="win" type="text" id="win" class="text2" value="876" /></li> String 胜场 = RegexOpt.getString(resultPage, "id=\"win\" class=\"text2\" value=\"(\\d+)\"", 1); //<li> // <p> // 胜率:</p> // <input name="p_win" type="text" id="p_win" class="text2" value="50.69%" /></li> String 胜率 = RegexOpt.getString(resultPage, "id=\"p_win\" class=\"text2\" value=\"([\\d\\.%]+)\"", 1); //<li> // <p> // MVP:</p> // <input name="mvp" type="text" id="mvp" class="text2" value="192" /></li> String MVP = RegexOpt.getString(resultPage, "id=\"mvp\" class=\"text2\" value=\"(\\d+)\"", 1); //<li> // <p> // 破:</p> // <input name="resv6" type="text" id="resv6" class="text2" value="209" /></li> String 破 = RegexOpt.getString(resultPage, "id=\"resv6\" class=\"text2\" value=\"(\\d+)\"", 1); //<li> // <p> // 富:</p> // <input name="resv5" type="text" id="resv5" class="text2" value="206" /></li> String 富 = RegexOpt.getString(resultPage, "id=\"resv5\" class=\"text2\" value=\"(\\d+)\"", 1); //<li> // <p> // 军:</p> // <input name="resv7" type="text" id="resv7" class="text2" value="186" /></li> String 军 = RegexOpt.getString(resultPage, "id=\"resv7\" class=\"text2\" value=\"(\\d+)\"", 1); //<li> // <p> // 补:</p> // <input name="resv9" type="text" id="resv9" class="text2" value="243" /></li> String 补 = RegexOpt.getString(resultPage, "id=\"resv9\" class=\"text2\" value=\"(\\d+)\"", 1); //<li> // <p> // 魂:</p> // <input name="resv10" type="text" id="resv10" class="text2" value="201" /></li> String 魂 = RegexOpt.getString(resultPage, "id=\"resv10\" class=\"text2\" value=\"(\\d+)\"", 1); String printResult = "天梯积分\t : " + 天梯积分 + "\n" + "局数 : " + 局数 + "\n" + "胜场 : " + 胜场 + "\n" + "胜率 : " + 胜率 + "\n" + "MVP : " + MVP + "\n" + "破 : " + 破 + "\n" + "富 : " + 富 + "\n" + "军 : " + 军 + "\n" + "补 : " + 补 + "\n" + "魂 : " + 魂; System.out.println(printResult); } }
|
|
[原创]梆梆加固apk的一点思考
能具体说下啥是"导出表中函数序号来实现对native方法的加载"么? |
|
[推荐]推荐一本关于rookit的好书
http://venom630.free.fr/pdf/The.Rootkit.Arsenal.Escape.and.Evasion.in.the.Dark.Corners.of.the.System,Second.Edition.pdf |
|
[讨论]怎么android软件安全这个版块那么冷清啊
确实冷清啊~~ |
|
[分享]Android最佳学习路线图
哈哈,真的是广告~~ |
|
[求助]如果添加一个long型的log.i打印调试?
v4 哪来的?没有前后文。。。 |
|
[原创]Android dex文件加壳
强悍啊,支持下 |
|
[原创]为QQ加个发送消息密码(国际版)
走开的时候用QQ自带的QQ锁就行了啊 |
|
|
|
[分享]C 语言标准库函数手册 和 Visual C++ 编译链接信息手册
好资料,非常感谢~~~ |
|
Windows API HOOK & Rootkits资料大全
很好的资源,谢谢~ |
|
[注意]加密与解密新年礼包2010整理中
期待中。。。 |
|
|
|
|
|
|
|
[下载]PEid特征库
好东西,谢谢分享 |
|
|
|
|
|
|
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值