Comments (1)
I think there is a misunderstanding in what the code does.
Keeping your example: Vulnerable Versions: 6.0-6.1 and 7.0-7.1
- Replace ' and' with a comma -> 6.0-6.1, 7.0-7.1
- Create array by splitting the string at comma -> ['6.0-6.1', '7.0-7.1']
- Now iterate through this array.
- Start with ['6.0-6.1']
4.1 use regex to identify version numbers -> version[0] = 6.0; version[1] = 6.1
4.2 if the regex result is empty (len == 0), there is something wrong with the version info/grepping
4.3 If the array does only contain 1 version info (e.g. Vulnerable Versions: 6.0), make 6.0.0 for min and max version
4.4 none of the above matched. So parse versions and check which one is bigger
4.5 add Advisory, vuln, component, 6.0.0, 6.1.0, cve to the database - Start again, but now use ['7.0-7.1']
from typo3scan.
Related Issues (19)
- Add option to set cookies HOT 4
- RFE: Add option for setting a user agent HOT 2
- RFE: Add option for json output file HOT 1
- Crash: SSL error "dh key too small" HOT 3
- Doesn't find version info when other scanner do find them HOT 14
- can't run - getting "progressbar" error HOT 2
- i have problem when scan HOT 1
- List known vulnerabilities HOT 6
- It seems that Typo3 is not used on this domain HOT 7
- Basic auth option not working HOT 2
- Scanning a domain where homepage has an error fails scan sanity checks HOT 3
- No release version control HOT 8
- Set path for save response json file HOT 2
- list index out of range when trying to update HOT 1
- example for User login HOT 3
- Extension version search HOT 13
- False positive extension vulnerability gridelements HOT 3
- Links to Advisorys use the wrong Year HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typo3scan.