mr-m0nst3r / Burpy

A plugin that allows you execute python and get return to BurpSuite.
MIT License
384 stars 52 forks source link

Enable Auto Enc/Dec无效果 #34

Open perkupup opened 7 months ago

perkupup commented 7 months ago

image 以你的修改Cookie代码为例,即使开启Enable Auto Enc/Dec进行repeat发送,cookie仍然保持不变,但是如果右键选中Extensions->Burpy ->Burpy encrypt能够正常修改Cookie值。不知道是我的bp版本(2021.8.1)问题还是,如果是版本问题的话还麻烦提供下你的burpsuite版本号

def encrypt(self, header, body):
    '''
    Auto Enc/Dec feature require this function
    '''
    header["Cookie"] = "admin=1"
    return header, body
mr-m0nst3r commented 7 months ago

你可以wireshark抓包看一下,如果我没记错的话,虽然你repeater中文本没变,但burp发出去的流量应该是变了。 这个功能我用得不多。

另外,建议使用最新版本的burpy和burp。

欢迎交流讨论。

hack2012 commented 3 months ago

试一下header.update({"Cookie":"admin=1"})