IDE中调试BurpSuite插件

在开发BurpSuite插件的过程中积累的调试经验,特此分享。

准备

下载BurpSuite

我这里用的是Burp Suite Free Edition v1.7.23

IDE

可以使用的Java IDE有Eclipse Java EE IDE for Web Developers或者Intellij IDEA。演示使用的是Eclipse Neon.3 Release (4.6.3)


BurpSuite插件工程

这里我使用的是Github上一个开源项目Logger++

开始调试

通过下面命令启动BurpSuite

1
$ java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8888 -jar burpsuite_free_v1.7.23.jar

配置远程调试工程

Debug Configurations -> Remote Java Application 新建一个,然后Connection Properties配置为Host:localhost,Port:8888。
远程调试配置图片
配置完后,Debug运行工程,可以看到BurpSuite启动过程继续,然后在BurpSuite中加载插件开始调试。
调试图片

坚持原创技术分享,您的支持将鼓励我继续创作!