Skip to content

Commit 2a62fd5

Browse files
rootroot
authored andcommitted
Updated SQL Injection Menu
1 parent 89bd78b commit 2a62fd5

21 files changed

+288
-170
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/build/
2+
/dist/

build.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<!-- the Compile on Save feature is turned off for the project. -->
88
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
99
<!-- in the project's Project Properties dialog box.-->
10-
<project name="Hack_Bar" default="default" basedir=".">
11-
<description>Builds, tests, and runs the project Hack_Bar.</description>
10+
<project name="HackBar" default="default" basedir=".">
11+
<description>Builds, tests, and runs the project HackBar.</description>
1212
<import file="nbproject/build-impl.xml"/>
1313
<!--
1414
@@ -58,7 +58,7 @@
5858
5959
An example of overriding the target for project execution could look like this:
6060
61-
<target name="run" depends="Hack_Bar-impl.jar">
61+
<target name="run" depends="HackBar-impl.jar">
6262
<exec dir="bin" executable="launcher.exe">
6363
<arg file="${dist.jar}"/>
6464
</exec>

build/built-jar.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Mon, 03 Sep 2018 15:35:19 +0500
1+
#Wed, 05 Sep 2018 02:06:11 +0500
22

33

4-
C\:\\Users\\bugzy\\Documents\\NetBeansProjects\\Burp_Plugins\\Hack_Bar=
4+
C\:\\Users\\bugzy\\Documents\\NetBeansProjects\\Burp_Plugins\\HackBar=

build/classes/burp/BurpExtender.class

291 Bytes
Binary file not shown.
10.4 KB
Binary file not shown.

build/classes/burp/SQL_Menu.class

-1.2 KB
Binary file not shown.

dist/Hack_Bar.jar

-49.9 KB
Binary file not shown.

dist/README.TXT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ JAR files manifest file (MANIFEST.MF).
1111
To run the project from the command line, go to the dist folder and
1212
type the following:
1313

14-
java -jar "Hack_Bar.jar"
14+
java -jar "HackBar.jar"
1515

1616
To distribute this project, zip up the dist folder (including the lib folder)
1717
and distribute the ZIP file.

nbproject/build-impl.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ is divided into following sections:
1919
- cleanup
2020
2121
-->
22-
<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="Hack_Bar-impl">
22+
<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="HackBar-impl">
2323
<fail message="Please build using Ant 1.8.0 or higher.">
2424
<condition>
2525
<not>
@@ -443,7 +443,7 @@ is divided into following sections:
443443
</fileset>
444444
</union>
445445
<taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
446-
<testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="Hack_Bar" testname="TestNG tests" workingDir="${work.dir}">
446+
<testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="HackBar" testname="TestNG tests" workingDir="${work.dir}">
447447
<xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
448448
<propertyset>
449449
<propertyref prefix="test-sys-prop."/>
@@ -594,7 +594,7 @@ is divided into following sections:
594594
<condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
595595
<isset property="test.method"/>
596596
</condition>
597-
<condition else="-suitename Hack_Bar -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
597+
<condition else="-suitename HackBar -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
598598
<matches pattern=".*\.xml" string="@{testClass}"/>
599599
</condition>
600600
<delete dir="${build.test.results.dir}" quiet="true"/>
@@ -886,7 +886,7 @@ is divided into following sections:
886886
<delete file="${built-jar.properties}" quiet="true"/>
887887
</target>
888888
<target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
889-
<echo level="warn" message="Cycle detected: Hack_Bar was already built"/>
889+
<echo level="warn" message="Cycle detected: HackBar was already built"/>
890890
</target>
891891
<target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
892892
<mkdir dir="${build.dir}"/>
@@ -1371,7 +1371,7 @@ is divided into following sections:
13711371
<delete file="${built-clean.properties}" quiet="true"/>
13721372
</target>
13731373
<target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
1374-
<echo level="warn" message="Cycle detected: Hack_Bar was already built"/>
1374+
<echo level="warn" message="Cycle detected: HackBar was already built"/>
13751375
</target>
13761376
<target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
13771377
<mkdir dir="${build.dir}"/>

nbproject/genfiles.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
build.xml.data.CRC32=3294006a
2-
build.xml.script.CRC32=5b5e93b6
1+
build.xml.data.CRC32=de2cd0e6
2+
build.xml.script.CRC32=85a30de1
33
build.xml.stylesheet.CRC32=8064a381@1.75.2.48
44
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
55
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6-
nbproject/build-impl.xml.data.CRC32=3294006a
7-
nbproject/build-impl.xml.script.CRC32=32db982f
6+
nbproject/build-impl.xml.data.CRC32=de2cd0e6
7+
nbproject/build-impl.xml.script.CRC32=685e3127
88
nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.75.2.48

nbproject/private/private.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
44
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
55
<group>
6-
<file>file:/C:/Users/bugzy/Documents/NetBeansProjects/Burp_Plugins/Hack_Bar/src/burp/BurpExtender.java</file>
7-
<file>file:/C:/Users/bugzy/Documents/NetBeansProjects/Burp_Plugins/Hack_Bar/src/burp/XSS_Menu.java</file>
86
<file>file:/C:/Users/bugzy/Documents/NetBeansProjects/Burp_Plugins/Hack_Bar/src/burp/SQL_Menu.java</file>
7+
<file>file:/C:/Users/bugzy/Documents/NetBeansProjects/Burp_Plugins/Hack_Bar/src/burp/BurpExtender.java</file>
8+
<file>file:/C:/Users/bugzy/Documents/NetBeansProjects/Burp_Plugins/Hack_Bar/src/burp/RCE_Menu.java</file>
9+
<file>file:/C:/Users/bugzy/Documents/NetBeansProjects/Burp_Plugins/Hack_Bar/src/burp/WebShell_Menu.java</file>
910
</group>
1011
</open-files>
1112
</project-private>

nbproject/project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ debug.test.classpath=\
2424
dist.archive.excludes=
2525
# This directory is removed when the project is cleaned:
2626
dist.dir=dist
27-
dist.jar=${dist.dir}/Hack_Bar.jar
27+
dist.jar=${dist.dir}/HackBar.jar
2828
dist.javadoc.dir=${dist.dir}/javadoc
2929
excludes=
3030
includes=**

nbproject/project.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<type>org.netbeans.modules.java.j2seproject</type>
44
<configuration>
55
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
6-
<name>Hack_Bar</name>
6+
<name>HackBar</name>
77
<source-roots>
88
<root id="src.dir"/>
99
</source-roots>

src/burp/BurpExtender.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ public class BurpExtender implements IBurpExtender, IContextMenuFactory {
2525
public PrintWriter stdout;
2626
public PrintWriter stderr;
2727
public IContextMenuInvocation context;
28-
2928
public ArrayList menu_list;
3029
public JMenu Hack_Bar_Menu;
3130

@@ -39,6 +38,13 @@ public void registerExtenderCallbacks(IBurpExtenderCallbacks callbacks) {
3938
this.Hack_Bar_Menu = new JMenu(this.MenuName);
4039
this.Hack_Bar_Menu.add(new SQL_Menu(this));
4140
this.Hack_Bar_Menu.add(new XSS_Menu(this));
41+
this.Hack_Bar_Menu.add(new LFI_Menu(this));
42+
this.Hack_Bar_Menu.add(new XXE_Menu(this));
43+
this.Hack_Bar_Menu.add(new RCE_Menu(this));
44+
this.Hack_Bar_Menu.add(new WebShell_Menu(this));
45+
this.Hack_Bar_Menu.add(new Reverse_Shell_Menu(this));
46+
this.Hack_Bar_Menu.add(new Decoder_Encoder_Menu(this));
47+
4248

4349
this.callbacks.setExtensionName(this.ExtensionName);
4450
this.callbacks.registerContextMenuFactory(this);

src/burp/Decoder_Encoder_Menu.java

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/*
2+
* To change this license header, choose License Headers in Project Properties.
3+
* To change this template file, choose Tools | Templates
4+
* and open the template in the editor.
5+
*/
6+
package burp;
7+
8+
import burp.BurpExtender;
9+
import javax.swing.JMenu;
10+
11+
/**
12+
*
13+
* @author abdul.wahab
14+
*/
15+
public class Decoder_Encoder_Menu extends JMenu {
16+
public BurpExtender myburp;
17+
18+
Decoder_Encoder_Menu(BurpExtender burp){
19+
this.setText("Decoder/Encoder");
20+
this.myburp = burp;
21+
this.Create_Reverse_Shell_Menu();
22+
}
23+
24+
public void Create_Reverse_Shell_Menu(){}
25+
}

src/burp/LFI_Menu.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* To change this license header, choose License Headers in Project Properties.
3+
* To change this template file, choose Tools | Templates
4+
* and open the template in the editor.
5+
*/
6+
package burp;
7+
8+
import javax.swing.JMenu;
9+
10+
/**
11+
*
12+
* @author abdul.wahab
13+
*/
14+
public class LFI_Menu extends JMenu {
15+
public BurpExtender myburp;
16+
17+
LFI_Menu(BurpExtender burp){
18+
this.setText("LFI");
19+
this.myburp = burp;
20+
this.Create_LFI_Menu();
21+
}
22+
23+
public void Create_LFI_Menu(){}
24+
}

src/burp/RCE_Menu.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* To change this license header, choose License Headers in Project Properties.
3+
* To change this template file, choose Tools | Templates
4+
* and open the template in the editor.
5+
*/
6+
package burp;
7+
8+
import javax.swing.JMenu;
9+
10+
/**
11+
*
12+
* @author abdul.wahab
13+
*/
14+
public class RCE_Menu extends JMenu {
15+
public BurpExtender myburp;
16+
17+
RCE_Menu(BurpExtender burp){
18+
this.setText("RCE");
19+
this.myburp = burp;
20+
this.Create_RCE_Menu();
21+
}
22+
23+
public void Create_RCE_Menu(){}
24+
}

src/burp/Reverse_Shell_Menu.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* To change this license header, choose License Headers in Project Properties.
3+
* To change this template file, choose Tools | Templates
4+
* and open the template in the editor.
5+
*/
6+
package burp;
7+
8+
import javax.swing.JMenu;
9+
10+
/**
11+
*
12+
* @author abdul.wahab
13+
*/
14+
public class Reverse_Shell_Menu extends JMenu {
15+
public BurpExtender myburp;
16+
17+
Reverse_Shell_Menu(BurpExtender burp){
18+
this.setText("Reverse Shell");
19+
this.myburp = burp;
20+
this.Create_Reverse_Shell_Menu();
21+
}
22+
23+
public void Create_Reverse_Shell_Menu(){}
24+
}

0 commit comments

Comments
 (0)