Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.0k views
in Technique[技术] by (71.8m points)

java 反编译一段代码,感觉奇怪,求大佬指教

label_60:            if(((Map$Entry)v19).getKey().toUpperCase().contains("COOKIE")) {
                        v9 = ((Map$Entry)v19).getValue();
                        v11 = 0;
                        goto label_67;
                    }
                   
label_67:
         v9 = ((List)v9).get(0);
install_id=3694009415375784; ttreq=1$77e4d98def7b5162eb95aa22acbe187f7e7bb9ef; odin_tt=005d7559c7953e970d3938a55d005402cdcb53ac5bf2094986b8ebcdf37b0894b211efff588e8fd187251c4fe3f90f05a73b9a3495327fc3823946582a0542f3; install_id=3694009415375784; ttreq=1$77e4d98def7b5162eb95aa22acbe187f7e7bb9ef; odin_tt=005d7559c7953e970d3938a55d005402cdcb53ac5bf2094986b8ebcdf37b0894b211efff588e8fd187251c4fe3f90f05a73b9a3495327fc3823946582a0542f3

这后面转换一个list 是表示取v9的第一个char? 这里v9是一个object 我再idea 里面这样写是报错的。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

这上面的意思不是获取cookie的值吗?获取到后则将此值类型强转为list类型,并且获取他的第一个元素。

没有对元素进行char转换,题主为什么会认为是获取char?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...