Update writeup.md
This commit is contained in:
@@ -8,11 +8,11 @@ Entering a semi-colon (;) will break the command. We can try to use the payload
|
||||
|
||||

|
||||
|
||||
We can attempt to use the command ``sudo -l``. We can see that we are able to run any command as sudo without a password as seen in the followings screenshot.
|
||||
We can attempt to use the command ``; sudo -l``. We can see that we are able to run any command as sudo without a password as seen in the followings screenshot.
|
||||
|
||||
![wimg-3]()
|
||||
|
||||
We can attempt to use the command ``sudo ls /root/`` to list the root directory. We can see that there is a file called ``flag.txt`` as seen in the following screenshot.
|
||||
We can attempt to use the command ``; sudo ls /root/`` to list the root directory. We can see that there is a file called ``flag.txt`` as seen in the following screenshot.
|
||||
|
||||
![wimg-4]()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user