Currently ip_start_range and ip_end_range in vault.py accepts any value, this gets passed to other modules, without proper validation this can break the code.
Suppose, IP is 192.168.0.1
The last part of IP is the range.
The following needs to be done :
It should be an integer value.
Start range should not be negative, i.e. > 0 and less than 255.
End range should not be negative i.e > 0, greater than start range, and less than 255.
Add anymore if necessary.
Currently
ip_start_range
andip_end_range
invault.py
accepts any value, this gets passed to other modules, without proper validation this can break the code. Suppose, IP is 192.168.0.1 The last part of IP is the range. The following needs to be done :