5d0b89fa7644bdd51cb4615829cbd329898408a1,w3af/plugins/audit/response_splitting.py,response_splitting,_header_was_injected,#response_splitting#,105

Before Change



        // Analyze injection
        for header, value in headers.items():
            if HEADER_NAME in header and value.lower() == HEADER_VALUE:
                return True

            elif HEADER_NAME in header and value.lower() != HEADER_VALUE:

After Change


        headers = response.get_headers()

        for header, value in headers.iteritems():
            if HEADER_NAME not in header.lower():
                continue

            if HEADER_VALUE in value.lower():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: andresriancho/w3af
Commit Name: 5d0b89fa7644bdd51cb4615829cbd329898408a1
Time: 2019-06-07
Author: andres.riancho@gmail.com
File Name: w3af/plugins/audit/response_splitting.py
Class Name: response_splitting
Method Name: _header_was_injected


Project Name: nipy/dipy
Commit Name: 0d5da6d36d064ec89ef07d546b0122614b343c99
Time: 2020-07-21
Author: svabhishek29@gmail.com
File Name: dipy/io/vtk.py
Class Name:
Method Name: save_vtk_streamlines


Project Name: coala/coala-bears
Commit Name: 52d75b58223cbd88f09701e1755726d953ed42ce
Time: 2017-08-28
Author: adhika.setyap@gmail.com
File Name: bears/python/MypyBear.py
Class Name: MypyBear
Method Name: create_arguments