mr-m0nst3r/Burpy

server和选项问题

Closed this issue · 3 comments

我python3启动的时候,有两个问题:
1、server状态一直卡在starting up
2、右键没有burpy的相关选项。。。其他插件都没问题,我在burp1.7和burp2020上都试过了。。。
麻烦解决一下,谢谢~

1.2.5版本的用者没问题,但是2.4.3的就不行。。。

你直接在命令行中运行你的脚本(可能需要在脚本中写个if name=='main'的判断),看看是不是能执行。
你可以这样:

class Burpy:
    
    def __init__(self):
        # you code goes here

    def encrypt(self, header, body):
        # you code goes here
        return header, body

    def decrypt(self, header, body):
        # you code goes here
        return header, body

    def processor(self, payload):
        # you code goes here
        return body

if __name__ == '__main__':
    header = list()
    header.append("POST /xxxx/114114.app HTTP/1.1")
    body = 'userName=xxxx&password=CS5/Qj8hm%2BHSR%2Bj0xC9Kyg%3D%3D&submit=%E7%99%BB%E5%BD%95'

    test = Burpy()
    print("Decrypt")
    a,b = test.decrypt(header,body)
    print(a,b)
    print("Encrypt")
    c,d = test.encrypt(header, b)
    print(c,d)

如果能在命令行中正常运行,再反馈一下。一般情况下是因为脚本本身无法正常运行导致的。

多谢我换的1.2.5版的就没问题了,我再试试新的