7450a07441793be2b1ef05cc48bc456f846a99c3,slips/core/database.py,Database,getProfileIdFromIP,#Database#Any#,53

Before Change


                return temp_id
            return False
        except redis.exceptions.ResponseError as e:
            print("Error in addProfile")
            print(e)

    def getProfiles(self):
         Get a list of all the profiles 

After Change


                return temp_id
            return False
        except redis.exceptions.ResponseError as inst:
            self.outputqueue.put("00|database|error in addprofileidfromip in database.py")
            self.outputqueue.put("00|database|{}".format(type(inst)))
            self.outputqueue.put("00|database|{}".format(inst))

    def getProfiles(self):
         Get a list of all the profiles 
        profiles = self.r.smembers("profiles")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: stratosphereips/StratosphereLinuxIPS
Commit Name: 7450a07441793be2b1ef05cc48bc456f846a99c3
Time: 2019-01-12
Author: eldraco@gmail.com
File Name: slips/core/database.py
Class Name: Database
Method Name: getProfileIdFromIP


Project Name: stratosphereips/StratosphereLinuxIPS
Commit Name: 7450a07441793be2b1ef05cc48bc456f846a99c3
Time: 2019-01-12
Author: eldraco@gmail.com
File Name: slips/core/database.py
Class Name: Database
Method Name: getProfileIdFromIP


Project Name: stratosphereips/StratosphereLinuxIPS
Commit Name: 7450a07441793be2b1ef05cc48bc456f846a99c3
Time: 2019-01-12
Author: eldraco@gmail.com
File Name: slips/core/database.py
Class Name: Database
Method Name: addProfile


Project Name: stratosphereips/StratosphereLinuxIPS
Commit Name: 7450a07441793be2b1ef05cc48bc456f846a99c3
Time: 2019-01-12
Author: eldraco@gmail.com
File Name: slips/core/database.py
Class Name: Database
Method Name: addNewOlderTW