jueves, 20 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 info


  1. Pentest Tools Tcp Port Scanner
  2. Pentest Tools Url Fuzzer
  3. Hacking Tools For Pc
  4. Hacking Tools And Software
  5. Hacker Tools Apk Download
  6. Pentest Tools Apk
  7. Hacking Tools For Games
  8. Hacker Tool Kit
  9. Hacker Tools 2020
  10. Pentest Tools Website
  11. What Are Hacking Tools
  12. What Are Hacking Tools
  13. Wifi Hacker Tools For Windows
  14. Hacks And Tools
  15. Hack Tools Online
  16. Hacker Tools For Mac
  17. Hacker Tools Linux
  18. Hacking Apps
  19. Hacking Tools Pc
  20. Hacking Tools
  21. Pentest Tools Nmap
  22. Hacker Security Tools
  23. Easy Hack Tools
  24. Pentest Tools For Android
  25. Hack Tools 2019
  26. Pentest Tools Free
  27. Hacking Tools For Mac
  28. Pentest Tools Free
  29. Pentest Tools Kali Linux
  30. Hacking Tools Windows 10
  31. Pentest Box Tools Download
  32. Hacker Search Tools
  33. Github Hacking Tools
  34. Hak5 Tools
  35. Hacking Tools Free Download
  36. Best Pentesting Tools 2018
  37. Hack Tools For Ubuntu
  38. World No 1 Hacker Software
  39. Hacker Tools Free
  40. Hacker Tools Apk Download
  41. Pentest Tools For Windows
  42. Hack Tools Github
  43. Pentest Tools Github
  44. Hacking Tools Kit
  45. Pentest Tools Linux
  46. Hacking Tools Github
  47. Hacking Apps
  48. Hacker Search Tools
  49. Hacker Tools Free Download
  50. Hacking Tools Mac
  51. Hacking Tools 2019
  52. Hacking Tools Software
  53. Hack Tools Online
  54. Pentest Reporting Tools
  55. Hacker Tools For Ios
  56. Hacking Apps
  57. Hacking Tools Software
  58. Pentest Tools Android
  59. Hacker Tools 2020
  60. How To Hack
  61. Game Hacking
  62. Best Hacking Tools 2019
  63. Bluetooth Hacking Tools Kali
  64. Hacking Tools 2019
  65. Hacker Tools
  66. Hacker Tools
  67. Nsa Hack Tools
  68. Pentest Tools Find Subdomains
  69. Hacking Tools Software
  70. Nsa Hack Tools Download
  71. Pentest Tools Subdomain
  72. Hack Tools For Ubuntu
  73. Hacker Tools Apk Download
  74. Hack Tools For Mac
  75. Pentest Reporting Tools
  76. Pentest Tools Online
  77. Hacking Tools Windows
  78. Hack Tool Apk No Root
  79. Pentest Tools Github
  80. Hacker Search Tools
  81. Hacking Tools Name
  82. Hacking Tools Download
  83. Hack Tools For Games
  84. Hack Tools For Ubuntu
  85. Pentest Tools Android
  86. Hacker Tools List
  87. Hack Tools Mac
  88. Ethical Hacker Tools
  89. Hack Tools 2019
  90. Blackhat Hacker Tools
  91. Hacking Tools Windows 10
  92. Tools Used For Hacking
  93. Hacker Tools For Windows
  94. Hacker Hardware Tools
  95. Hacking Tools Pc
  96. Hacker Tools For Ios
  97. Pentest Tools For Android
  98. Pentest Automation Tools
  99. Pentest Tools For Windows
  100. Pentest Tools Website
  101. Top Pentest Tools
  102. What Is Hacking Tools
  103. Hacker Security Tools
  104. Hacking Tools For Windows
  105. Pentest Tools Open Source
  106. Hacking Tools Windows

No hay comentarios:

Publicar un comentario