What is vFeed
- Cross Linked and Aggregated Local Vulnerability Database
- https://github.com/toolswatch/vFeed
- http://www.vfeed.io/
Bash:
sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4 |
Powershell:
gc .\ips.txt | sort {"{0:d3}.{1:d3}.{2:d3}.{3:d3}" -f @([int[]]$_.split(‘.’)) } |
Excel:
Use the following formula to calculate a number which we can sort on (cell A2):
=((VALUE(LEFT(B2, FIND(".", B2)-1)))*256^3)+((VALUE(MID(B2, FIND(".", B2)+1, FIND(".", B2, FIND(".", B2)+1)-FIND(".", B2)-1)))*256^2)+((VALUE(MID(B2, FIND(".", B2, FIND(".", B2)+1)+1, FIND(".", B2, FIND(".", B2, FIND(".", B2)+1)+1)-FIND(".", B2, FIND(".", B2)+1)-1)))*256)+(VALUE(RIGHT(B2, LEN(B2)-FIND(".", B2, FIND(".", B2, FIND(".", B2)+1)+1))))