diff --git a/web/local_authority/flag.txt b/web/local_authority/flag.txt new file mode 100644 index 0000000..7a10296 --- /dev/null +++ b/web/local_authority/flag.txt @@ -0,0 +1 @@ +picoCTF{j5_15_7r4n5p4r3n7_05df90c8} diff --git a/web/local_authority/secure.js b/web/local_authority/secure.js new file mode 100644 index 0000000..9387ed7 --- /dev/null +++ b/web/local_authority/secure.js @@ -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; + } +} +