### Question:
Local_Infile_Request extends Packet { public static Local_Infile_Request loadFromPacket(byte[] packet) { Local_Infile_Request obj = new Local_Infile_Request(); Proto proto = new Proto(packet, 3); obj.sequenceId = proto.get_fixed_int(1); proto.get_filler(1); obj.filename = proto.get_eop_str(); return obj; }  ArrayList<byte[]> getPayload(); static Local_Infile_Request loadFromPacket(byte[] packet); public String filename; }### Answer:
@Test public void test1() { byte[] packet = Proto.packet_string_to_bytes("" + "0c 00 00 01 fb 2f 65 74 63 2f 70 61 73 73 77 64"); Local_Infile_Request pkt = Local_Infile_Request.loadFromPacket(packet); assertArrayEquals(packet, pkt.toPacket()); assertEquals(pkt.filename, "/etc/passwd"); }