Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospolop authored Jan 20, 2025
1 parent ecdec74 commit 13de4b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ <h1>
<form id="searchForm">
<input type="text" id="searchInput" placeholder="Search within HackTricks..." />
<div class="buttons">
<button type="submit" name="engine" value="hacktricks">Search in HackTricks</button>
<button type="submit" name="engine" value="hacktricks-cloud">Search in HackTricks Cloud</button>
<button type="submit" name="engine" value="bing">Search with Bing</button>
<button type="submit" name="engine" value="hacktricks">HackTricks</button>
<button type="submit" name="engine" value="hacktricks-cloud">Cloud</button>
<button type="submit" name="engine" value="bing">Bing</button>
</div>
</form>

Expand All @@ -153,7 +153,7 @@ <h1>
e.preventDefault();
const userQuery = document.getElementById('searchInput').value.trim();
const engine = e.submitter.value; // 'google' or 'bing'
const filter = 'site:hacktricks.xyz';
const filter = 'site:hacktricks.wiki';

let actionUrl;
if (engine === 'hacktricks') {
Expand Down

0 comments on commit 13de4b3

Please sign in to comment.