From 8726365fc45454300f26cd8c23843d9d119ddffb Mon Sep 17 00:00:00 2001 From: Adam Piper Date: Sat, 7 Jan 2017 14:55:53 +0900 Subject: [PATCH 1/3] Add BApp metadata files. --- BappDescription.html | 17 +++++++++++++++++ BappManifest.bmf | 11 +++++++++++ 2 files changed, 28 insertions(+) create mode 100644 BappDescription.html create mode 100644 BappManifest.bmf diff --git a/BappDescription.html b/BappDescription.html new file mode 100644 index 0000000..8f1f997 --- /dev/null +++ b/BappDescription.html @@ -0,0 +1,17 @@ +

This extension adds a new tab to Burp's UI, for taking notes and organizing external files that are created during penetration +testing. You can create text documents and spreadsheets directly within Burp, +and send HTTP requests and responses directly to new or existing files.

+

Within the Notes tab, you can:

+ + +

From anywhere within Burp, you can use the context menu to send selected +items directly to the Notes tab, +to either a new or existing document.

diff --git a/BappManifest.bmf b/BappManifest.bmf new file mode 100644 index 0000000..0c75f66 --- /dev/null +++ b/BappManifest.bmf @@ -0,0 +1,11 @@ +Uuid: b150353ea3d54f61bdc482a4a8470356 +ExtensionType: 1 +Name: Notes +ScreenVersion: 1.0 +SerialVersion: 1 +MinPlatformVersion: 0 +ProOnly: False +Author: Austin Lane +ShortDescription: Lets you take notes and manage external documents from within Burp. +EntryPoint: build/jar/BurpNotesExtension.jar +BuildCommand: rm -rf build/classes/* build/jar/* && ant jar From 3522996929e47f7f93a318710372cfb3087dbb22 Mon Sep 17 00:00:00 2001 From: Adam Piper Date: Mon, 13 Feb 2017 21:38:14 +0900 Subject: [PATCH 2/3] Add RepoName to BappManifest --- BappManifest.bmf | 1 + 1 file changed, 1 insertion(+) diff --git a/BappManifest.bmf b/BappManifest.bmf index 0c75f66..3523b03 100644 --- a/BappManifest.bmf +++ b/BappManifest.bmf @@ -1,6 +1,7 @@ Uuid: b150353ea3d54f61bdc482a4a8470356 ExtensionType: 1 Name: Notes +RepoName: notes ScreenVersion: 1.0 SerialVersion: 1 MinPlatformVersion: 0 From 552cdc9cc096931313f56ad68a1d7eb3b427d80a Mon Sep 17 00:00:00 2001 From: appbana Date: Wed, 4 Aug 2021 22:38:10 +0900 Subject: [PATCH 3/3] Support UTF-8 --- build/jar/BurpNotesExtension.jar | Bin 28133 -> 28119 bytes .../burp/NotesExtensionOperations.java | 35 +++++++++--------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/build/jar/BurpNotesExtension.jar b/build/jar/BurpNotesExtension.jar index 91d8e35a761f4880e4854c5dd30f58b7e23ea103..f7e2ce413357c8a835c229375e2180b42d0c45f2 100644 GIT binary patch delta 999 zcmaEQoALT>M!o=VW)?061`Y;>rY$VN6ZzEZ8-eufoU_k!85kIhe zFYgx~-pZYGx`TwhgMv%uYBgG&`O?sIi;YW4?&r>xo~|pO&e{{RuXASQu5*^1M~{Z7 zaCt6uWv%jaIJ9+trSn}+Lp{!>-oJ@QmjVs@mG&V6ZFtjsG{=lQNS(ASB3;mhyZ0^&_&UFoe!u` zUkBkM4hE2I9xS4M@<7{eb22cPqG(tm05+K|Ls}j)A`mKT1j$gqO=q%K2>X_6$^ zck44C;XnCqhLpIk2?Il7DN2Zeqm3_9$}A5ehaRFJd4w$t3<7WtC`2buj?0vX#ARcq z6w^VI$%>{@lecGTF?|OyH7E0AX)*1!0WxJLhh~{E#W{kRtFp`(^Cv&diehT?1nc;d z#XmVMTT%htHdz$giUYxlcV_D|t%ERGa)Ow6L%^a%Id+U(lQ-t%GZs!(%&lOmNCpe< QNtT*?K39N^ITd6S0O27S$p8QV delta 1102 zcmcb9oAK#wM!o=VW)?061`Y;>MbXhN6ZzEZ7Xs;?Yxh4@GcYi80kH@W`?`iW>U#RQ z>H9kRdAhj(v8Z+jg#QS8i|!f&hySA$$T@rFDLnEovX zrYFlXYCssCjJjaP<|@X?tPqwU`(Y^S1`j6_MC>WwNk&1C2_7t>e)6mg47WKM7)&P{ zifL?qE?@~&t|C^!3{k#7a=R1@D7Yp^o5(^KH71G>#zGSR%2kFFho)~ z)tnb4cqfOanu5)oJRwyo?FKNUlS+#U^aH#ZnM9Z&(E?Hr6o&&AI7@)xt>bSXFF8LK zuMR#G9kP=J(qtia8m37xc`{BuARwxZu#tlSWMi`MBl9S)1@jxv42ejx056~iw$$Y%*lUJtkfDKsr zzNE2SAhB~kLrOf_gn=Qk6eT!85j`nW%B%(= zg&x` spreadData = new ArrayList(); if(file.exists() && file.isFile() && file.canRead()){ - CSVReader reader = new CSVReader(new FileReader(file)); + CSVReader reader = new CSVReader(new InputStreamReader(new FileInputStream(file), "UTF-8")); String[] nextLine; while((nextLine = reader.readNext()) != null){ spreadData.add(nextLine); @@ -456,8 +460,7 @@ public void promptUseTemplate(int templateType){ if((file = GetFileFromDialog(false, "TEMPLATE.txt")) != null){ textTemplateFile = ""; if(file.exists() && file.isFile() && file.canRead()){ - FileReader input = new FileReader(file); - BufferedReader br = new BufferedReader(input); + BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(file),"UTF-8")); String strLine; //Read File Line By Line while ((strLine = br.readLine()) != null) { @@ -472,7 +475,7 @@ public void promptUseTemplate(int templateType){ if((file = GetFileFromDialog(false, "TEMPLATE.csv")) != null){ spreadsheetTemplateFile = new ArrayList(); if(file.exists() && file.isFile() && file.canRead()){ - CSVReader reader = new CSVReader(new FileReader(file)); + CSVReader reader = new CSVReader(new InputStreamReader(new FileInputStream(file), "UTF-8")); String[] nextLine; while((nextLine = reader.readNext()) != null){ spreadsheetTemplateFile.add(nextLine); @@ -540,12 +543,11 @@ public void ExportTextTab(int index){ File f; if((f = GetFileFromDialog(true, "TEMPLATE.txt")) != null){ try{ - // Create file - FileWriter fstream = new FileWriter(f); - BufferedWriter out = new BufferedWriter(fstream); - out.write(data); - //Close the output stream - out.close(); + PrintWriter pw = new PrintWriter( + new BufferedWriter(new OutputStreamWriter( + new FileOutputStream(f), "UTF-8"))); + pw.print(data); + pw.close(); } catch (Exception exc){//Catch exception if any errout.println(exc.getMessage()); } @@ -579,13 +581,12 @@ public void ExportSpreadsheetTab(int index){ File f; if((f = GetFileFromDialog(true, "TEMPLATE.csv")) != null){ try{ - //Create our various Writers - FileWriter fw = new FileWriter(f); - CSVWriter writer = new CSVWriter(fw); + BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(f), "UTF-8")); + CSVWriter writer = new CSVWriter(bw); //Write out to file and close writer.writeAll(data); writer.close(); - fw.close(); + bw.close(); } catch(IOException exc){ errout.println(exc.getMessage()); }