boss 直聘web zp_stoken/app sp/sig unidbg分析
声明
本文章中所有内容仅供学习交流使用,不用于其他任何目的,抓包内容、敏感网址、数据接口等均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关!
侵权通过头像私信或名字简介叫我删除博客谢谢。
部分unidbg代码
try {
cn.hutool.http.HttpResponse batchRes = cn.hutool.http.HttpRequest.post(batchFullUrl)
.body(encodedBody)
.header("t2", "....................")
.execute();
System.out.println("batch 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();
try { cn.hutool.http.HttpResponse batchRes = cn.hutool.http.HttpRequest.post(batchFullUrl) .body(encodedBody) .header("t2", "....................") .execute(); System.out.println("batch 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();