Browse Source

Assorted typo and spelling corrections.

pull/188/head
BrianTeeman 8 months ago
parent
commit
c7510c45c1
No known key found for this signature in database
GPG Key ID: 49469F0FC86B7A78
  1. 4
      README.md
  2. 4
      installer/client/cli/fabric.py
  3. 2
      installer/client/cli/utils.py
  4. 2
      patterns/create_command/README.md
  5. 2
      patterns/create_threat_model/system.md
  6. 2
      patterns/create_visualization/system.md
  7. 2
      patterns/extract_article_wisdom/README.md
  8. 2
      patterns/extract_wisdom/README.md

4
README.md

@ -221,7 +221,7 @@ options:
realtime. NOTE: You will not be able to pipe the realtime. NOTE: You will not be able to pipe the
output into another command. output into another command.
--list, -l List available patterns --list, -l List available patterns
--clear Clears your persistant model choice so that you can --clear Clears your persistent model choice so that you can
once again use the --model flag once again use the --model flag
--update, -u Update patterns --update, -u Update patterns
--pattern PATTERN, -p PATTERN --pattern PATTERN, -p PATTERN
@ -234,7 +234,7 @@ options:
--model MODEL, -m MODEL --model MODEL, -m MODEL
Select the model to use. NOTE: Will not work if you Select the model to use. NOTE: Will not work if you
have set a default model. please use --clear to clear have set a default model. please use --clear to clear
persistance before using this flag persistence before using this flag
--listmodels List all available models --listmodels List all available models
--context, -c Use Context file (context.md) to add context to your --context, -c Use Context file (context.md) to add context to your
pattern pattern

4
installer/client/cli/fabric.py

@ -37,7 +37,7 @@ def main():
parser.add_argument( parser.add_argument(
"--list", "-l", help="List available patterns", action="store_true" "--list", "-l", help="List available patterns", action="store_true"
) )
parser.add_argument('--clear', help="Clears your persistant model choice so that you can once again use the --model flag", parser.add_argument('--clear', help="Clears your persistent model choice so that you can once again use the --model flag",
action="store_true") action="store_true")
parser.add_argument( parser.add_argument(
"--update", "-u", help="Update patterns. NOTE: This will revert the default model to gpt4-turbo. please run --changeDefaultModel to once again set default model", action="store_true") "--update", "-u", help="Update patterns. NOTE: This will revert the default model to gpt4-turbo. please run --changeDefaultModel to once again set default model", action="store_true")
@ -49,7 +49,7 @@ def main():
help="Change the default model. For a list of available models, use the --listmodels flag.") help="Change the default model. For a list of available models, use the --listmodels flag.")
parser.add_argument( parser.add_argument(
"--model", "-m", help="Select the model to use. NOTE: Will not work if you have set a default model. please use --clear to clear persistance before using this flag", default="gpt-4-turbo-preview" "--model", "-m", help="Select the model to use. NOTE: Will not work if you have set a default model. please use --clear to clear persistence before using this flag", default="gpt-4-turbo-preview"
) )
parser.add_argument( parser.add_argument(
"--listmodels", help="List all available models", action="store_true" "--listmodels", help="List all available models", action="store_true"

2
installer/client/cli/utils.py

@ -692,7 +692,7 @@ class Transcribe:
of a YouTube video designated with the video_id of a YouTube video designated with the video_id
Input: Input:
the video id specifing a YouTube video the video id specifying a YouTube video
an example url for a video: https://www.youtube.com/watch?v=vF-MQmVxnCs&t=306s an example url for a video: https://www.youtube.com/watch?v=vF-MQmVxnCs&t=306s
the video id is vF-MQmVxnCs&t=306s the video id is vF-MQmVxnCs&t=306s

2
patterns/create_command/README.md

@ -28,7 +28,7 @@ python3 sqlmap -u https://example.com?test=id --random-agent --level=5 --risk=3
**prompt** **prompt**
``` ```
tool=nmap;echo -e "use $tool to target all hosts in the host.lst file even if they don't respond to pings. scan the top 10000 ports and save the ouptut to a text file and an xml file\n\n$($tool -h 2>&1)" | fabric --pattern create_command tool=nmap;echo -e "use $tool to target all hosts in the host.lst file even if they don't respond to pings. scan the top 10000 ports and save the output to a text file and an xml file\n\n$($tool -h 2>&1)" | fabric --pattern create_command
``` ```
**result** **result**

2
patterns/create_threat_model/system.md

@ -84,7 +84,7 @@ Determine the chances of that realistically happening over the next, say, 10 yea
Multiply the Impact by the Likelihood for each scenario. That’s your Risk. Multiply the Impact by the Likelihood for each scenario. That’s your Risk.
Add up all your Risk scores. That’s your Total Risk. Add up all your Risk scores. That’s your Total Risk.
Subtract your Total Risk from your Value. If that number is positive, you are good to go. If that number is negative, it might be too risky to use based on your risk tolerance and the value of the feature. Subtract your Total Risk from your Value. If that number is positive, you are good to go. If that number is negative, it might be too risky to use based on your risk tolerance and the value of the feature.
Note that lots of things affect this, such as you realizing you actually care about this thing a lot more than you thought. Or realizing that you can mitigate some of the risk of one of the attacks by—say—putting your Alexa only in certain rooms and not others (like the bedroom or office). Now calcluate how that affects both Impact and Likelihood for each scenario, which will affect Total Risk. Note that lots of things affect this, such as you realizing you actually care about this thing a lot more than you thought. Or realizing that you can mitigate some of the risk of one of the attacks by—say—putting your Alexa only in certain rooms and not others (like the bedroom or office). Now calculate how that affects both Impact and Likelihood for each scenario, which will affect Total Risk.
Going the opposite direction Going the opposite direction
Above we talked about going from Feature –> Attack Scenarios –> Determining if It’s Worth It. Above we talked about going from Feature –> Attack Scenarios –> Determining if It’s Worth It.
But there’s another version of this where you start with a control question, such as: But there’s another version of this where you start with a control question, such as:

2
patterns/create_visualization/system.md

@ -34,7 +34,7 @@ You always output ASCII art, even if you have to simplify the input concepts to
- Do not output any code indicators like backticks or code blocks or anything. - Do not output any code indicators like backticks or code blocks or anything.
- You only ouptut the printable portion of the ASCII art. You do not ouptut the non-printable characters. - You only output the printable portion of the ASCII art. You do not output the non-printable characters.
- Ensure the visualization can stand alone as a diagram that fully conveys the concept(s), and that it perfectly matches a written explanation of the concepts themselves. Start over if it can't. - Ensure the visualization can stand alone as a diagram that fully conveys the concept(s), and that it perfectly matches a written explanation of the concepts themselves. Start over if it can't.

2
patterns/extract_article_wisdom/README.md

@ -72,7 +72,7 @@ curl -sS https://github.com/danielmiessler/fabric/blob/main/extract-wisdom/dmies
## Output ## Output
Here's an abridged ouptut example from `extractwisdom` (limited to only 10 items per section). Here's an abridged output example from `extractwisdom` (limited to only 10 items per section).
```markdown ```markdown
## SUMMARY: ## SUMMARY:

2
patterns/extract_wisdom/README.md

@ -72,7 +72,7 @@ curl -sS https://github.com/danielmiessler/fabric/blob/main/extract-wisdom/dmies
## Output ## Output
Here's an abridged ouptut example from `extractwisdom` (limited to only 10 items per section). Here's an abridged output example from `extractwisdom` (limited to only 10 items per section).
```markdown ```markdown
## SUMMARY: ## SUMMARY:

Loading…
Cancel
Save