-
Notifications
You must be signed in to change notification settings - Fork 631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solved some security issues #54
base: master
Are you sure you want to change the base?
Conversation
As there was a lot of usage of spyware, I have removed these are replaced them with proper RFC references to example.net.
README.md
Outdated
|
||
# Exponent operator | ||
echo "10^2" | bc | ||
#100 | ||
$ 100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be # instead of $
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By adding a hashtag you would generate a H1 header and not be demonstrating the shell output of the command. And to stick to more common layout for the rest of the document $
should be the right character here
echo "10^2" | bc
$ 100 # returned value from the echo command
README.md
Outdated
@@ -286,15 +288,16 @@ expr 30 \> 20 #1 (true) | |||
```bash | |||
# Number of decimal digit/ significant figure | |||
echo "scale=2;2/3" | bc | |||
#.66 | |||
|
|||
$ .66 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be # instead of $
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above, it is following your style for returned values. where you uses the #
as the shell promt indication, usual this would be the $
sign. Should I replace them all for you to the more used $
or would you keep using the #
?
Replaced command line indicators from `$` to `#`
``` | ||
|
||
##### Send a ping with a limited TTL to 10 (TTL: Time-To-Live, which is the maximum number of hops that a packet can travel across the Internet before it gets discarded.) | ||
```bash | ||
ping 8.8.8.8 -t 10 | ||
ping 192.0.2.1 -t 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this packet would travel across the internet but it would with 8.8.8.8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
by using the RFC:5737 TEST-NET-1
network address 192.0.2.1
you are not promoting any trackers/spyware or any other malicious address. By mention any particular DNS recursor, would only end up in a religious war or mistrust on the idea for this cheat sheet. This is why I changed the bad resolver to a "fictive" address for neutrality.
As there was a lot of usage of spyware, I have removed these are replaced them with proper RFC references to example.net.