Friday, August 28, 2020

Setting Up A Burp Development Environment

This quick blog post will document getting started with developing Burp extensions using java. Burp provides interfaces for developers to hook into the Burp application and extend the application or integrate with other tools, this interface is documented on the following site - http://portswigger.net/burp/extender/

For this guide you will need the following items:


After downloading and opening up Eclipse you will need to create a new java project. This can be done by clicking "File->New Java Project". Fill in a project name and click finish.

Once the project has been created you will need to create a new package called "burp". This can be done by right clicking the "src" folder under your new project and selecting "New->Package". When the dialog comes up set the "Name" as "burp":

You should now have a package named "burp" under the source folder in the right pane. Now you will need to import the Burp extender classes into your project. Download all of the extender classes to a local folder, once this is done right click on the "burp" package in your project and select "Import". On the dialog window that comes up select "General->File System" and hit "next":

On the next dialog you will need to navigate to where you downloaded the Burp extender classes to. Once you have done this you should see the classes, click on the folder to select all items and click "Finish":

Next we can add the Burp application into the project. To do this click on "Project->Properties" on the top toolbar. When the dialog opens select "Java Build Path" and then the "Libraries" tab. On this dialog click "Add External JARs..."
Navigate to where ever you have Burp downloaded to and select it. After you have done this click "OK" to dismiss the dialog. You are now ready to build your own Burp extensions. You can test your environment by creating a new class in the burp package named "BurpExtender". Right click the "burp" package and click "New->Class". On the dialog that comes up enter "BurpExtender" and click "Finish":

In the "BurpExtender" class you can enter the following:


package burp;


public class BurpExtender
{
    public void registerExtenderCallbacks(IBurpExtenderCallbacks callbacks)
    {
        callbacks.registerMenuItem("Hello World.", new CustomMenuItem());
    }
}


class CustomMenuItem implements IMenuItemHandler
{
    public void menuItemClicked(String menuItemCaption, IHttpRequestResponse[] messageInfo)
    {
        try
        {
            System.out.println("Hello From Burp!");
            System.out.println("Request Item Details");
            System.out.println("Host: " + messageInfo[0].getHost());
            System.out.println("URL: " + messageInfo[0].getUrl());


        }
        catch (Exception e)
        {
            e.printStackTrace();
        }
    }
}


After adding the content to your "BurpExtender" class you are ready to run the project for the first time. Click on "Run->Run" from the menu. You should see the following dialog asking how it should run your project:
Select "Java Application" and click "Ok". Next you should receive a dialog asking which application you want to run. Select "StartBurp - burp" and click "Ok":

You should now see the burp application running. Intercept a request in the application and right click on the request, you should now see an item in the menu named "Hello World."

When you click the "Hello World." menu button you should see some information about the request in your eclipse console window:

That's it, you now have setup your working development environment for building your own Burp extensions. The javadocs for the Burp Extender interfaces are available on the Extender web page:


More info

  1. Pentest Box Tools Download
  2. Hacking Tools For Windows
  3. Hack Tool Apk No Root
  4. Hacking Tools Hardware
  5. What Are Hacking Tools
  6. Tools 4 Hack
  7. World No 1 Hacker Software
  8. Android Hack Tools Github
  9. Pentest Tools Port Scanner
  10. Hack Tools
  11. Pentest Tools Framework
  12. Hacker Tools For Mac
  13. Hack Website Online Tool
  14. Hacker Tools 2020
  15. Pentest Tools Find Subdomains
  16. How To Make Hacking Tools
  17. Pentest Tools Framework
  18. Hacking Tools For Kali Linux
  19. Pentest Tools Bluekeep
  20. Hacker Tools Online
  21. Pentest Tools Url Fuzzer
  22. Hacking Tools Windows
  23. Pentest Tools Bluekeep
  24. Tools 4 Hack
  25. Android Hack Tools Github
  26. Hacking Tools For Windows Free Download
  27. Pentest Tools For Windows
  28. Hacker Tool Kit
  29. Pentest Automation Tools
  30. Pentest Tools Android
  31. Hack Rom Tools
  32. Hack Tool Apk No Root
  33. Hacking Apps
  34. Hacking Tools Online
  35. Hack Rom Tools
  36. Hacking Tools
  37. Hack Tools Online
  38. How To Make Hacking Tools
  39. Hack Rom Tools
  40. Pentest Tools For Mac
  41. Hack Rom Tools
  42. How To Hack
  43. Hacking Tools Pc
  44. Hacker Techniques Tools And Incident Handling
  45. Pentest Tools Url Fuzzer
  46. Hack Tools Online
  47. Hacker Tools Hardware
  48. Hackrf Tools
  49. Termux Hacking Tools 2019
  50. Hacker Tools For Ios
  51. Hacker Tools Apk Download
  52. Pentest Tools Alternative
  53. Android Hack Tools Github
  54. Hackers Toolbox
  55. Hack Tools 2019
  56. Hacking Tools Mac
  57. Hack Tools 2019
  58. Install Pentest Tools Ubuntu
  59. Hack Tools For Mac
  60. Hacking Tools 2020
  61. Hacker Tools For Mac
  62. Physical Pentest Tools
  63. Hacker Tools Apk
  64. Hackers Toolbox
  65. Pentest Tools Github
  66. Hack Tools For Mac
  67. Physical Pentest Tools
  68. Tools Used For Hacking
  69. Nsa Hack Tools
  70. Pentest Tools Framework
  71. Hack Tool Apk
  72. Hacking Tools Windows
  73. Hack Tools For Pc
  74. Hak5 Tools
  75. Pentest Tools Website Vulnerability
  76. Pentest Tools Android
  77. Hacking Tools 2019
  78. Install Pentest Tools Ubuntu
  79. Pentest Tools Review
  80. Hacking Tools Free Download
  81. Pentest Tools Nmap
  82. Hack Tools Online
  83. Physical Pentest Tools
  84. Pentest Tools Website Vulnerability
  85. Pentest Tools Find Subdomains
  86. Best Hacking Tools 2020
  87. Tools For Hacker
  88. Pentest Tools Github
  89. Pentest Tools Find Subdomains
  90. New Hack Tools
  91. Beginner Hacker Tools
  92. Hackers Toolbox
  93. Hacking Tools Hardware
  94. Pentest Tools
  95. Pentest Tools For Mac
  96. Hack Tools
  97. World No 1 Hacker Software
  98. Hack Website Online Tool
  99. Hacker Tools Linux
  100. Wifi Hacker Tools For Windows
  101. Pentest Recon Tools
  102. Hacking Tools Hardware
  103. Bluetooth Hacking Tools Kali
  104. Hacker Tools Free
  105. Hacker Tools List
  106. Hacking Tools For Beginners
  107. Blackhat Hacker Tools
  108. Pentest Tools Website Vulnerability
  109. Pentest Reporting Tools
  110. Hack Tools
  111. Hacking Tools Windows
  112. Hacking Tools Mac
  113. Pentest Tools Github
  114. Hacker Tools Linux
  115. Best Hacking Tools 2019
  116. Hacking Tools Free Download
  117. Hacking Tools For Windows Free Download
  118. Pentest Reporting Tools
  119. Hacker Tools Mac
  120. Pentest Tools Alternative
  121. Android Hack Tools Github
  122. Pentest Tools Free
  123. Hacker Tools Apk
  124. Black Hat Hacker Tools
  125. Nsa Hack Tools
  126. Pentest Tools Port Scanner
  127. Hacker Hardware Tools
  128. Black Hat Hacker Tools
  129. Nsa Hack Tools
  130. Hacking Tools Software
  131. What Are Hacking Tools
  132. World No 1 Hacker Software
  133. World No 1 Hacker Software
  134. What Is Hacking Tools
  135. Pentest Tools Linux
  136. Github Hacking Tools
  137. Hacker Search Tools
  138. Hacking Tools For Mac
  139. Hacking Tools Windows 10
  140. Hak5 Tools
  141. Hak5 Tools
  142. Hacking Tools Pc
  143. Hack Tools Pc
  144. Hacker Search Tools
  145. Pentest Tools Port Scanner
  146. Physical Pentest Tools
  147. Hacking Tools For Mac
  148. Hacking Tools For Pc
  149. Hacking Tools Hardware
  150. Hacking Tools Software
  151. Hacker Tools Software
  152. New Hack Tools
  153. Hacking Tools Software
  154. Hacking Tools Hardware
  155. Hacking Tools Free Download
  156. Hacker Tools 2020
  157. Tools For Hacker

No comments:

Post a Comment