mirror of
https://github.com/vee1e/Cryptonite-Taskphase.git
synced 2026-09-01 19:17:14 +00:00
Fix videos
This commit is contained in:
parent
ca56a622ca
commit
d72bd0ae2f
1 changed files with 7 additions and 2 deletions
|
|
@ -24,7 +24,9 @@ We are given a website `http://saturn.picoctf.net:50920/`, which opens to a logi
|
|||
|
||||
We open our browser's network tab and enter meaningless data in the input fields. After that we open the request titled `secure.js` and go into its *Response* tab.
|
||||
|
||||
<video src="https://github.com/lucky-vers/Cryptonite-Taskphase/raw/main/Images/login_attempt.mp4" width=180/>
|
||||
|
||||
https://github.com/lucky-vers/Cryptonite-Taskphase/assets/51952975/e08177a5-6516-4291-98d0-47a89f523bd6
|
||||
|
||||
|
||||
We find the following (very insecure!) JavaScript code that checks whether the username and password are that of the admin's or not
|
||||
|
||||
|
|
@ -44,5 +46,8 @@ function checkPassword(username, password)
|
|||
|
||||
Therefore, the username we need is `admin` and the password `strongPassword098765`. Using these details, we successfully log in and acquire the flag.
|
||||
|
||||
<video src="https://github.com/lucky-vers/Cryptonite-Taskphase/raw/main/Images/admin_login.mp4" width=180/>
|
||||
|
||||
https://github.com/lucky-vers/Cryptonite-Taskphase/assets/51952975/8b7d50f8-eb97-4801-b99e-16fe569cc6e0
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue