Setting Up A Burp Development Environment - EMEL

Latest

Saturday, August 22, 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. Termux Hacking Tools 2019
  2. Hacker Tools Online
  3. Hack Tools For Games
  4. Hacker Tools For Ios
  5. Hacking Tools Windows 10
  6. Install Pentest Tools Ubuntu
  7. Hack Tools For Pc
  8. Hacking Tools Free Download
  9. Hack Apps
  10. Nsa Hack Tools Download
  11. Pentest Tools Url Fuzzer
  12. Pentest Tools For Mac
  13. Hacker Tools Windows
  14. Pentest Tools Android
  15. Pentest Recon Tools
  16. Install Pentest Tools Ubuntu
  17. Hacker Search Tools
  18. Hacker
  19. Game Hacking
  20. Top Pentest Tools
  21. Hack Rom Tools
  22. Hack Tool Apk No Root
  23. Hack Tools For Mac
  24. Pentest Tools Nmap
  25. Hack Tools For Ubuntu
  26. Hacking Tools Hardware
  27. Blackhat Hacker Tools
  28. Pentest Tools Nmap
  29. Pentest Tools For Mac
  30. Github Hacking Tools
  31. Pentest Tools List
  32. Hack Website Online Tool
  33. Nsa Hack Tools Download
  34. New Hacker Tools
  35. Hacker Tools Hardware
  36. Hacker Tools For Pc
  37. Termux Hacking Tools 2019
  38. Pentest Tools Website
  39. Hack Tools For Games
  40. Hacking App
  41. Hacker Tools For Ios
  42. Pentest Tools For Windows
  43. Hacker Security Tools
  44. How To Hack
  45. Hacker Tools Online
  46. Pentest Tools Tcp Port Scanner
  47. Hacker Tools For Mac
  48. Hacker Tools Mac
  49. Pentest Tools Free
  50. Hacker Tool Kit
  51. Pentest Tools Windows
  52. Hack App
  53. Pentest Tools Open Source
  54. Pentest Tools Bluekeep
  55. Growth Hacker Tools
  56. Hack Tools For Windows
  57. Hack Tools For Windows
  58. Hack Tools For Windows
  59. Hack Tool Apk No Root
  60. Hacking Tools Name
  61. Hacking Tools 2020
  62. Pentest Tools Windows
  63. Pentest Tools For Ubuntu
  64. Hacker Tools For Mac
  65. Hacking Tools For Games
  66. Nsa Hack Tools
  67. Hacking Tools Usb
  68. Hack Tools For Mac
  69. Pentest Tools Framework
  70. Hacking Tools Pc
  71. Pentest Tools Website Vulnerability
  72. How To Install Pentest Tools In Ubuntu
  73. Kik Hack Tools
  74. Top Pentest Tools
  75. Pentest Automation Tools
  76. Best Pentesting Tools 2018
  77. Best Hacking Tools 2020
  78. Pentest Tools
  79. Best Pentesting Tools 2018
  80. Pentest Tools Find Subdomains
  81. Pentest Automation Tools
  82. Pentest Tools For Mac
  83. Easy Hack Tools
  84. Hacking Tools Windows
  85. Hack Tools For Mac
  86. Hacking Tools Pc
  87. Hack Tool Apk
  88. Computer Hacker
  89. How To Install Pentest Tools In Ubuntu
  90. Hack Rom Tools
  91. Best Pentesting Tools 2018
  92. Install Pentest Tools Ubuntu
  93. Hacker Tools For Windows
  94. Hack Tools For Windows
  95. Hacker Tools Apk
  96. Nsa Hack Tools
  97. Pentest Tools Website Vulnerability
  98. Hacker Security Tools
  99. Hacking App
  100. Pentest Tools Online
  101. Hack Tools For Games
  102. Hacking Tools Windows 10
  103. Free Pentest Tools For Windows
  104. Pentest Tools Alternative
  105. Hacker Tools Windows
  106. Kik Hack Tools
  107. Growth Hacker Tools
  108. Hacking Tools Mac
  109. Hack Website Online Tool
  110. Pentest Tools Url Fuzzer
  111. Hacking Tools For Windows 7
  112. Pentest Tools Github
  113. Pentest Tools Nmap
  114. Hacking Tools Github
  115. Pentest Tools For Mac
  116. Hacking Tools For Windows 7
  117. Hack Website Online Tool
  118. Hacker Tools Hardware
  119. Hacking Tools 2020
  120. Hacker Hardware Tools
  121. Hacking Tools Kit
  122. Hacker Security Tools
  123. Hacking Tools For Pc
  124. Pentest Tools Port Scanner

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.