8f9bbb5099b9472af3a7f2db1b339c8b929b0dac,db_mgmt_d2sec.py,,,#,90
Before Change
print (exploit)
if args.v:
print (exploit)
entry = d2sec.find({"id": exploit["id"]})
if entry.count() > 0:
d2sec.update({"id": exploit["id"]}, {"$set":{"id": exploit["id"], "url": exploit["url"], "name": exploit["name"]}})
else:
d2sec.insert(exploit)
After Change
info.update({"db": "d2sec"}, {"$set":{"last-modified": f.headers["last-modified"]}}, upsert=True)
for exploit in progressbar(ch.d2sec):
print (exploit)
if args.v:
print (exploit)
bulk.find({"id": exploit["id"]}).upsert().update({"id": exploit["id"]}, {"$set":{"id": exploit["id"], "url": exploit["url"], "name": exploit["name"]}})
bulk.execute()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 21
Instances
Project Name: cve-search/cve-search
Commit Name: 8f9bbb5099b9472af3a7f2db1b339c8b929b0dac
Time: 2015-02-19
Author: pieterjan.moreels@gmail.com
File Name: db_mgmt_d2sec.py
Class Name:
Method Name:
Project Name: cve-search/cve-search
Commit Name: 8f9bbb5099b9472af3a7f2db1b339c8b929b0dac
Time: 2015-02-19
Author: pieterjan.moreels@gmail.com
File Name: db_mgmt_d2sec.py
Class Name:
Method Name:
Project Name: cve-search/cve-search
Commit Name: 8f9bbb5099b9472af3a7f2db1b339c8b929b0dac
Time: 2015-02-19
Author: pieterjan.moreels@gmail.com
File Name: db_mgmt_cwe.py
Class Name:
Method Name:
Project Name: cve-search/cve-search
Commit Name: 8f9bbb5099b9472af3a7f2db1b339c8b929b0dac
Time: 2015-02-19
Author: pieterjan.moreels@gmail.com
File Name: db_mgmt_vendorstatements.py
Class Name:
Method Name: