MCPcopy Create free account
hub / github.com/c0ny1/sqlmap4burp-plus-plus / writeFile

Method writeFile

src/main/java/burp/Util.java:39–49  ·  view source on GitHub ↗
(byte[] bytes,String filepath)

Source from the content-addressed store, hash-verified

37
38
39 public static void writeFile(byte[] bytes,String filepath){
40 try {
41 //writePath 为最终文件路径名 如:D://test.txt
42 FileOutputStream fos = new FileOutputStream(filepath);
43 fos.write(bytes);
44 fos.close();
45 } catch (Exception e) {
46 //e.printStackTrace();
47 BurpExtender.stderr.println("[*] " + e.getMessage());
48 }
49 }
50
51
52 public static String getTempReqName(String filename) {

Callers 1

actionPerformedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected