File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 143143 < input type ="text " id ="searchInput " placeholder ="Search within HackTricks... " />
144144 < div class ="buttons ">
145145 < button type ="submit " name ="engine " value ="hacktricks "> Search in HackTricks</ button >
146+ < button type ="submit " name ="engine " value ="hacktricks-cloud "> Search in HackTricks Cloud</ button >
146147 < button type ="submit " name ="engine " value ="bing "> Search with Bing</ button >
147148 </ div >
148149</ form >
@@ -159,7 +160,13 @@ <h1>
159160 actionUrl = 'https://book.hacktricks.wiki/en/index.html' ;
160161 input_name = 'search' ;
161162 input_value = userQuery ;
162- } else {
163+ }
164+ if ( engine === 'hacktricks-cloud' ) {
165+ actionUrl = 'https://cloud.hacktricks.wiki/en/index.html' ;
166+ input_name = 'search' ;
167+ input_value = userQuery ;
168+ }
169+ else {
163170 actionUrl = 'https://www.bing.com/search' ;
164171 input_name = 'q' ;
165172 input_value = filter + ' ' + userQuery ;
You can’t perform that action at this time.
0 commit comments