File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 < div style ="margin-top:35vh; ">
4848 < h1 style ="margin-bottom:20px; "> Zero Bot Gate</ h1 >
4949 < input type ="password " placeholder ="Enter Your Passphrase " name ="in " required id ="in " class ="tostyle "/>
50- < button type ="submit " onsubmit ="test() " class ="tostyle " style ="margin-left:20px;width:50px ;text-align:center;margin-bottom:30px; "> > </ button >
50+ < span type ="submit " onclick ="test() " class ="tostyle " style ="margin-left:20px;width:25px ;text-align:center;margin-bottom:30px;display:inline-block; "> > </ span >
5151 < div > </ div >
5252 < button class ="tostyle " href ="help.html "> Need a new passphrase?</ button >
5353 < p > By entering a passphrase and proceeding, you agree to our ToS.</ p >
5454 </ div >
5555 < script src ="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/crypto-js.js "> </ script >
5656 < script >
57-
58-
59- const bcrypt = require ( 'bcrypt' ) ;
57+
6058
6159 const data = [
6260 "password"
@@ -71,7 +69,7 @@ <h1 style="margin-bottom:20px;">Zero Bot Gate</h1>
7169
7270 async function check ( pass ) {
7371 for ( const stored of data ) {
74- const match = await bcrypt . compare ( pass , stored ) ;
72+ const match = await pass === stored ;
7573 if ( match ) return true ;
7674 }
7775 return false ;
You can’t perform that action at this time.
0 commit comments