sexta-feira, 21 de agosto de 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 articles


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

Nenhum comentário:

Postar um comentário