声明
本文章中所有内容仅供学习交流使用,不用于其他任何目的,抓包内容、敏感网址、数据接口等均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关!
侵权通过头像私信或名字简介叫我删除博客谢谢。
部分unidbg代码
try { cn.hutool.http.HttpResponse batchRes = cn.hutool.http.HttpRequest.post(batchFullUrl) .body(encodedBody) .contentType("application/json") .header("host", "api5.zhipin.com") .header("traceid", UUID.randomUUID().toString()) atch status: " + batchRes.getStatus()); byte[] batchBodyBytes = batchRes.bodyBytes(); System.out.println("batch body bytes length: " + batchBodyBytes.length); String batchDecoded = boss.decodeContentBytes(batchBodyBytes, null, 2); System.out.println("batch decoded: " + batchDecoded); } catch (Exception e) { System.err.println("batch HTTP error: " + e.getMessage()); } boss.destroy(); } private static String bytesToHex(byte[] bytes) { StringBuilder sb = new StringBuilder(); for (byte b : bytes) sb.append(String.format("%02x", b & 0xFF)); return sb.toString(); }
结果
![]()
总结