Skip to content

Commit e11832a

Browse files
committed
Fix urls
1 parent 84b8dc7 commit e11832a

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

.markdownlinkcheck.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"ignorePatterns": [],
3+
"httpHeaders": [{
4+
"urls": [
5+
"https://", "http://"
6+
],
7+
"headers": {
8+
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
9+
}
10+
}]
11+
}

Document/0x06e-Testing-Cryptography.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ In the "Cryptography for Mobile Apps" chapter, we introduced general cryptograph
88
Apple provides libraries that include implementations of most common cryptographic algorithms. [Apple's Cryptographic Services Guide](https://developer.apple.com/library/content/documentation/Security/Conceptual/cryptoservices/GeneralPurposeCrypto/GeneralPurposeCrypto.html "Apple Cryptographic Services Guide") is a great reference. It contains generalized documentation of how to use standard libraries to initialize and use cryptographic primitives, information that is useful for source code analysis.
99

1010
##### CommonCrypto, SecKeyEncrypt and Wrapper libraries
11-
The most commonly used Class for cryptographic operations is the CommonCrypto, which is packed with the iOS runtime. The functionality offered by the CommonCrypto object can best be dissected by having a look at the [source code of the header file ](https://opensource.apple.com/source/CommonCrypto/CommonCrypto-36064/CommonCrypto/CommonCrypto.h "CommonCrypto.h"):
11+
The most commonly used Class for cryptographic operations is the CommonCrypto, which is packed with the iOS runtime. The functionality offered by the CommonCrypto object can best be dissected by having a look at the [source code of the header file ](https://opensource.apple.com/source/CommonCrypto/CommonCrypto-36064/CommonCrypto/CommonCryptor.h.auto.html "CommonCrypto.h"):
1212
- The `Commoncryptor.h` gives the parameters for the symmetric cryptographic operations,
1313
- The `CommonDigest.h` gives the parameters for the hashing Algorithms
1414
- The `CommonHMAC.h` gives the parameters for the supported HMAC operations.

Tools/Apply_Link_Check.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
# Script taken from https://github.com/OWASP/CheatSheetSeries/blob/master/scripts/Apply_Link_Check.sh
3+
# Script in charge of auditing the released MD files in order to detect dead links
4+
cd ../Document
5+
find . -name \*.md -exec markdown-link-check -q -c ../.markdownlinkcheck.json {} \; 1>../link-check-result.out 2>&1
6+
errors=`grep -c "ERROR:" ../link-check-result.out`
7+
content=`cat ../link-check-result.out`
8+
if [[ $errors != "0" ]]
9+
then
10+
echo "[!] Error(s) found by the Links validator: $errors pages have dead links! Verbose output in /link-check-result.out"
11+
exit $errors
12+
else
13+
echo "[+] No error found by the Links validator."
14+
fi

0 commit comments

Comments
 (0)