ziad hany

Results 131 comments of ziad hany

While I was trying to run importers using threads I couldn't notes any improvement ! https://stackoverflow.com/questions/31062124/multiple-db-inserts-with-django-performance-is-not-increased-by-parallel-threads

![Screenshot from 2022-06-27 20-19-05](https://user-images.githubusercontent.com/29133904/176009380-e4bd6cd0-0d67-48d9-b1fa-e1732fa36c8a.png)

> This would need to be rebased... also you may want to remove the UI part to treat it separately as the UI has changed extensively! Also could we also...

![Screenshot from 2022-09-11 01-38-04](https://user-images.githubusercontent.com/29133904/189505336-a946bc15-faaf-4636-aca4-80302571737d.png)

Importing data using vulnerabilities.importers.gsd.GSDImporter JSONDecodeError('Expecting value: line 1 column 2 (char 1)') JSONDecodeError('Expecting value: line 1 column 1 (char 0)') JSONDecodeError('Expecting value: line 1 column 1 (char 0)') JSONDecodeError('Expecting value:...

``` ` in SQL comments. Only the formatting feature that removes comments from SQL statements is affected by this regular expression., provided: sqlparse is a non-validating SQL parser module for...

importer logs : ``` /home/ziad/Desktop/open_source/vulnerablecode/venv/bin/python /home/ziad/Desktop/open_source/vulnerablecode/manage.py import vulnerabilities.importers.fireeye.FireyeImporter Importing data using vulnerabilities.importers.fireeye.FireyeImporter MNDT-2021-0002.MD FEYE-2021_0008.MD MNDT-2021-0011.md FEYE-2021_0007.MD FEYE-2019-0010.md FEYE-2020-0020.md MNDT-2021-0009.md FEYE-2021-0015.md FEYE-2021-0019.md MNDT-2021-0012.md FEYE-2020-0008.md FEYE-2019-0006.md FEYE-2020-0013.md FEYE-2021_0004.MD MNDT-2021-0004.MD MNDT-2021-0006.MD FEYE-2021-0017.md FEYE-2019-0003.md...

CVSS calculation is quite complicated ,so we use a package called [cvss](https://pypi.org/project/cvss/). it supports cvss-v2 , cvss-v3, and they made a release for us. https://github.com/skontar/cvss/issues/33 Have a look at https://github.com/nexB/vulnerablecode/pull/747

LGTM , I tested it with my local database

![image](https://user-images.githubusercontent.com/29133904/205941649-1cddf73b-2037-4bb7-8c10-f6f7454b5944.png)