Skip to content

Commit a76595c

Browse files
committed
chore(readme)!: Add syntax definition for shell snippets
1 parent 8d4ed59 commit a76595c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ called [D(HE)at attack](https://dheatattack.com)
1313
D(HE)ater can be installed directly via [pip](https://pip.pypa.io/en/stable/) from
1414
[PyPi](https://pypi.org/project/dheater/)
1515

16-
```
16+
```shell
1717
pip install dheater
1818
dheat --protocol tls ecc256.badssl.com
1919
dheat --protocol ssh ecc256.badssl.com
@@ -22,15 +22,15 @@ dheat --protocol ssh ecc256.badssl.com
2222
or can be used via [Docker](https://www.docker.com/) from
2323
[Docker Hub](https://hub.docker.com/repository/docker/coroner/dheater)
2424

25-
```
25+
```shell
2626
docker pull coroner/dheater
2727
docker run --tty --rm coroner/dheater --protocol tls ecc256.badssl.com
2828
docker run --tty --rm coroner/dheater --protocol ssh ecc256.badssl.com
2929
```
3030

3131
You can increase load by string extra threads.
3232

33-
```
33+
```shell
3434
dheat --thread-num 4 --protocol tls ecc256.badssl.com
3535
docker run --tty --rm coroner/dheater --thread-num 4 --protocol tls ecc256.badssl.com
3636
docker run --tty --rm coroner/dheater --thread-num 4 --protocol ssh ecc256.badssl.com
@@ -47,7 +47,7 @@ DH parameters (prime, generator, key size) are used. Command line tools such as
4747

4848
### TLS
4949

50-
```
50+
```shell
5151
cryptolyze tls1_2 dhparams example.com
5252
cryptolyze tls1_3 dhparams example.com
5353

@@ -56,7 +56,7 @@ testssl.sh --fs example.com
5656

5757
### SSH
5858

59-
```
59+
```shell
6060
cryptolyze ssh2 dhparams example.com
6161

6262
ssh-audit example.com
@@ -127,7 +127,7 @@ security risk.
127127
You can check whether you DH parameter file contains the recommended private
128128
key value by the following command:
129129
130-
```
130+
```shell
131131
dh_param_priv_key_size_setter /path/to/dh/parameter/file.pem
132132
```
133133

0 commit comments

Comments
 (0)