f1415931c6ec4bd4bbd19bffab9a5852277ec9e4,slips/core/database.py,Database,add_ips,#Database#Any#Any#Any#Any#Any#,309

Before Change


            summaryState = __database__.getFinalStateFromFlags(state, pkts)
            // Get the previous data about this key
            prev_data = self.getDataFromProfileTW(profileid, twid, type_host_key, summaryState, proto, role, "IPs")
            self.print("Prev data : {}".format(prev_data,1,0))
            try:
                innerdata = prev_data[str(ip_as_obj)]
                //self.outputqueue.put("03|database|[DB]: Adding for port {}. PRE Data: {}".format(dport, innerdata))

After Change


            pkts = columns["pkts"]
            spkts = columns["spkts"]
            state = columns["state"]
            proto = columns["proto"].upper()
            daddr = columns["daddr"]
            saddr = columns["saddr"]
            
            // Depending if the traffic is going out or not, we are Client or Server
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: stratosphereips/StratosphereLinuxIPS
Commit Name: f1415931c6ec4bd4bbd19bffab9a5852277ec9e4
Time: 2019-06-08
Author: eldraco@gmail.com
File Name: slips/core/database.py
Class Name: Database
Method Name: add_ips


Project Name: MolSSI/QCEngine
Commit Name: 9b32cd78c8aee2500be442f4327095736ac4718c
Time: 2019-06-03
Author: sjrl423@gmail.com
File Name: qcengine/programs/entos.py
Class Name: EntosExecutor
Method Name: build_input


Project Name: OpenNMT/OpenNMT-py
Commit Name: b8d8072fa4d8b9a72cca5c352efa224a407e9214
Time: 2018-04-06
Author: pltrdy@gmail.com
File Name: tools/test_rouge.py
Class Name:
Method Name: