b2dd110beac2001b5544126c84b0493467ae7f1c,w3af/core/data/request/fuzzable_request.py,FuzzableRequest,sent,#FuzzableRequest#Any#,209

Before Change


        if self._sent_info_comp is None:
            data_encoding = self._post_data.encoding
            post_data = str(self.get_data())
            dec_post_data = unquote(post_data).decode(data_encoding)

            data = u"%s%s%s" % (unicode(self.get_uri()), data, dec_post_data)

            self._sent_info_comp = make_comp(data + unquote(data))

        min_len = 3

After Change


            return True

        data = self.get_data()
        if data:
            if smth_instng in data:
                return True

            if smth_instng in unquote(data):
                return True

        // We get here when the string was not found as-is, but maybe
        // it was encoded, let"s try that...

        // make the smth_instng comparable
        smth_instng_comps = (self.make_comp(smth_instng),
                             self.make_comp(unquote(smth_instng)))

        for smth_intstng_comp in smth_instng_comps:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: andresriancho/w3af
Commit Name: b2dd110beac2001b5544126c84b0493467ae7f1c
Time: 2017-08-23
Author: andres.riancho@gmail.com
File Name: w3af/core/data/request/fuzzable_request.py
Class Name: FuzzableRequest
Method Name: sent


Project Name: CyberReboot/poseidon
Commit Name: 262f2dd76cd516d0be4a73e87e72a39938a18795
Time: 2016-08-10
Author: tlanham@cs.stanford.edu
File Name: poseidon/poseidonStorage/poseidonStorage.py
Class Name: db_add_one_doc
Method Name: on_get


Project Name: CyberReboot/poseidon
Commit Name: ec8602f95ff5916925c54a9adfc867112b2d5b70
Time: 2016-08-09
Author: tlanham@cs.stanford.edu
File Name: poseidon/poseidonStorage/poseidonStorage.py
Class Name: db_add_one_doc
Method Name: on_get