Setting Up A Burp Development Environment

Posted by KP-3α€™ိα€žားα€…ု |

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. What Are Hacking Tools
  2. Hack Website Online Tool
  3. Hack Tools Download
  4. Pentest Tools Url Fuzzer
  5. Pentest Tools For Android
  6. Pentest Tools Bluekeep
  7. Hacking Tools Hardware
  8. Pentest Reporting Tools
  9. Pentest Tools Online
  10. Hacker
  11. Hacker Tool Kit
  12. Hack Tools Pc
  13. Hacking Tools For Beginners
  14. New Hacker Tools
  15. Hacker Tools Apk
  16. Hacker Tools Windows
  17. Hacker Tools Hardware
  18. Pentest Tools Linux
  19. Pentest Tools Bluekeep
  20. Pentest Tools Open Source
  21. Hacking Tools Pc
  22. Pentest Tools Free
  23. Usb Pentest Tools
  24. Tools 4 Hack
  25. Hack Tools
  26. Hacks And Tools
  27. Install Pentest Tools Ubuntu
  28. Game Hacking
  29. Pentest Automation Tools
  30. Top Pentest Tools
  31. Pentest Recon Tools
  32. Hacker Tools Free Download
  33. Top Pentest Tools
  34. Pentest Tools Website
  35. Hacking Tools For Windows 7
  36. Hacking Tools For Windows Free Download
  37. Hack Apps
  38. Hack Tools 2019
  39. What Are Hacking Tools
  40. Free Pentest Tools For Windows
  41. Hacking Tools Hardware
  42. Hacker Tools Apk Download
  43. Hack Tools Github
  44. Hacking Tools For Mac
  45. Hacking Tools Online
  46. Hacker Techniques Tools And Incident Handling
  47. Pentest Tools
  48. Pentest Tools Open Source
  49. Install Pentest Tools Ubuntu
  50. Hack Tools
  51. Hacker Tools Software
  52. Hacker Tools Apk Download
  53. Hack Tools Github
  54. Nsa Hack Tools Download
  55. Hacker Tools List
  56. Hacking Tools For Mac
  57. Hacker Tool Kit
  58. Hacker Tools For Windows
  59. Tools Used For Hacking
  60. Hacker Tools Mac
  61. Hacker Tools Apk Download
  62. Pentest Tools Tcp Port Scanner
  63. New Hack Tools
  64. Easy Hack Tools
  65. Hacking Tools And Software
  66. Hacks And Tools
  67. Hacking Tools For Kali Linux
  68. Hacker Tools Online
  69. Hack Apps
  70. Hacker Tools
  71. Top Pentest Tools
  72. Pentest Tools Tcp Port Scanner
  73. Pentest Tools Windows
  74. Hacker Tools Apk
  75. Pentest Tools Download
  76. Hacker
  77. Hack Website Online Tool
  78. Hack Tools For Ubuntu
  79. Tools Used For Hacking
  80. Hacker Tools Free
  81. Hacking Tools For Games
  82. What Is Hacking Tools
  83. Hacker Tools Windows
  84. Pentest Tools Open Source
  85. Hacking Tools Github
  86. Pentest Tools Website Vulnerability
  87. Hacker
  88. Best Hacking Tools 2020
  89. Hacking Apps
  90. Pentest Tools Alternative
  91. Hacking Tools Windows
  92. Hacking Tools For Games
  93. Pentest Tools For Windows
  94. Hack Rom Tools
  95. Hacks And Tools
  96. Hacker Security Tools
  97. Pentest Tools Port Scanner
  98. Pentest Tools Alternative
  99. Hacking Tools Download
  100. Hack And Tools
  101. Black Hat Hacker Tools
  102. New Hacker Tools
  103. What Is Hacking Tools
  104. How To Install Pentest Tools In Ubuntu
  105. Pentest Box Tools Download
  106. Kik Hack Tools
  107. Hacking Tools For Mac
  108. Tools 4 Hack



Related Post:

0 comments:

Post a Comment