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:


Related news


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

No comments:

Post a Comment