Continue writing da thesis
This commit is contained in:
19
listings/demosh.example
Normal file
19
listings/demosh.example
Normal file
@ -0,0 +1,19 @@
|
||||
source demo.sh
|
||||
type "This is an interactive demo on how to solve this challenge.\n\n"
|
||||
sleep 1
|
||||
type "Note, that you can run the commands pre-typed for you by\
|
||||
hitting ENTER (do it now to continue).\n"
|
||||
wait
|
||||
clear
|
||||
type "The website on the right checks whether a user is an administrator\
|
||||
or not by comparing the username to the string 'admin'.\n\n"
|
||||
type "This is very bad practice, for several reasons\
|
||||
(other than only allowing a single administrator account to exist).\
|
||||
Let's see why:\n\n"
|
||||
type "This is the non-free binary blob used by the website right here:\n"
|
||||
execute 'file $(realpath strcmp.out)'
|
||||
sleep 2
|
||||
type "\nThis executable seems to compare strings. Badly:\n"
|
||||
execute './strcmp.out cats cats'
|
||||
execute './strcmp.out cat cats'
|
||||
|
Reference in New Issue
Block a user