Home > other >  Jpcap caught after there was a Chinese garbled data analysis package
Jpcap caught after there was a Chinese garbled data analysis package

Time:11-01

(1) the String temp=new String (ipPacket. Data, Charset. Class.forname (" utf8 "));
System. The out. Println (temp);
The garbled words such as: (FDCOFDEPCODDDGDACOEDEOCACACACAAA

(2) the String temp=new String (ipPacket. Data, "utf8");
The garbled words such as: R 宯

(3) for (int I=0; i STRTMP +=Byte. ToString (packet data [I]);
}
A digital a heap: - 79-811601000000326974706869667069696670656765676567656765676567656765676567656565003201

1 and 2 in all sorts of coding format are tried, or gibberish, request support everyone a great god,
  • Related