Here is an better example of cell content:
"The Cisco Smart Install (SMI) feature is enabled on the remote host.
If the SMI Client role enabled, it is subject to protocol misuse,
which could allow an unauthenticated, remote attacker to:
- Substitute the switch's startup-config file with a file that the
attacker prepared and force a reload of the switch after a defined
time interval.
- Load the attacker-supplied IOS image onto the switch.
- Execute high-privilege configuration mode CLI commands on the
switch, including do-exec CLI commands.
- Copy arbitrary files from the switch to the attacker-controlled
TFTP server."
Which would be better worded as:
"The Cisco Smart Install (SMI) feature is enabled on the remote host. If the SMI Client role enabled, it is subject to protocol misuse, which could allow an unauthenticated, remote attacker to:
- Substitute the switch's startup-config file with a file that the attacker prepared and force a reload of the switch after a defined time interval.
- Load the attacker-supplied IOS image onto the switch.
- Execute high-privilege configuration mode CLI commands on the switch, including do-exec CLI commands.
- Copy arbitrary files from the switch to the attacker-controlled TFTP server."
So to your questions:
- remove ALL line breaks - Not ALL. Perhaps it should be only if the break is preceded by anything other than period or semicolon, then delete the break.
- insert line break after every full stop (Period) - This could be modified so if it is a period (or a colon or semicolon) followed by two consecutive breaks, then leave the period, but only remove one of the two breaks.
Do you want an empty line between each sentence? - No, as shown by the example.
As for my original items.- delete a char(10) - same as your first item - I really shouldn't do this one.
- replace char(10) followed by a space with only one space - Think this would be better that if the sentence beings with " - " and ends with two chr(10), replace with only one chr(10).
- replace two consecutive char(10) with only one char(10) - this one should probably be skipped as it could create other issues.
Besides the example above, another is:
This test gives some information about the remote HTTP protocol - the
version used, whether HTTP Keep-Alive and HTTP pipelining are enabled,
etc...
This test is informational only and does not denote any security
problem.
Which should look like:
This test gives some information about the remote HTTP protocol - the version used, whether HTTP Keep-Alive and HTTP pipelining are enabled, etc...
This test is informational only and does not denote any securityproblem.
Maybe it would be easiest to just have it:- if one break, delete it
- if two breaks, delete only one
- if three breaks, delete only one
Bookmarks