Burp Suite User Forum

Login to post

Burp Extension

newbie | Last updated: Aug 12, 2022 02:44PM UTC

Hi! I am trying to write a burp extension but the thing is a already done what i need to do in processHttpMessage . But then i wanted to add a IcontextMenuInvocation. I added but now when i try to call processHttpMessage it is not working. IS there a way to do it? Or any other way i can trigger that it goes like if (messageIsRequest) { if (64==toolFlag) {try { thanks in advance i really need to do it :).

newbie | Last updated: Aug 12, 2022 02:46PM UTC

Also i tried to make a boolean so i can now if xx triggered , but when i changed the processHttpMessage to if (messageIsRequest) { if (a=true) {try { and it freaked out

newbie | Last updated: Aug 12, 2022 03:33PM UTC

Also when i run added debug.println("aaa") in processHttpMessage method it gives output 6 times aaa aaa aaa aaa aaa aaa but there is no for nothing inside

Hannah, PortSwigger Agent | Last updated: Aug 15, 2022 08:14AM UTC

Hi Have you tried looking at any of the example extensions? You can find these here: https://portswigger.net/burp/extender#SampleExtensions

You need to Log in to post a reply. Or register here, for free.