4eb75141ee285b24cdfb0d5a5940da6ee5c59f75,DeepExploit/deep_plugin/classifier_signature/Classifier_signature.py,ClassifierSignature,identify_product,#ClassifierSignature#,28

Before Change


                        prod_info_list.append(product + str(items[1]) + " " + list_match[0])
        except Exception as err:
            self.util.print_message(WARNING, "{}".format(err))
        return list(set(prod_info_list))

    // Classifier product name using signatures.
    def classifier_signature(self, target_info):

After Change


                        // Add product name and version.
                        if str(items[1]) != "":
                            prod_info_list.append(product + "@" + str(items[1]))
                        elif version_info != "":
                            prod_info_list.append(product + "@" + version_info)
                        else:
                            prod_info_list.append(product + "@-")
        except Exception as err:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: 13o-bbr-bbq/machine_learning_security
Commit Name: 4eb75141ee285b24cdfb0d5a5940da6ee5c59f75
Time: 2018-07-06
Author: takaesu235@gmail.com
File Name: DeepExploit/deep_plugin/classifier_signature/Classifier_signature.py
Class Name: ClassifierSignature
Method Name: identify_product


Project Name: tyarkoni/pliers
Commit Name: 005968dcfbd2a8f70d8ea3957c8abba60a12492d
Time: 2018-05-15
Author: quinten.mcnamara@gmail.com
File Name: pliers/filters/video.py
Class Name: FrameSamplingFilter
Method Name: _filter


Project Name: pgmpy/pgmpy
Commit Name: ca25da7c55ba436ab557410d5f2e2e9b557d2840
Time: 2015-03-02
Author: abinash.panda.ece10@itbhu.ac.in
File Name: pgmpy/models/MarkovModel.py
Class Name: MarkovModel
Method Name: to_junction_tree