web/local_authority
This commit is contained in:
1
web/local_authority/flag.txt
Normal file
1
web/local_authority/flag.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
picoCTF{j5_15_7r4n5p4r3n7_05df90c8}
|
14
web/local_authority/secure.js
Normal file
14
web/local_authority/secure.js
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
// NOTE: this is included on a wrong login attempt
|
||||||
|
|
||||||
|
function checkPassword(username, password)
|
||||||
|
{
|
||||||
|
if( username === 'admin' && password === 'strongPassword098765' )
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Reference in New Issue
Block a user