# Web Fundamentals: Pickle Rick (TryHackMe)

This article will cover the [Pickle Rick](https://tryhackme.com/room/picklerick) write-up under the Web Fundamentals on THM.

## Pickle Rick

This Rick and Morty-themed challenge requires you to exploit a web server and find three ingredients to help Rick make his potion and transform himself back into a human from a pickle.

Deploy the virtual machine on this task and explore the web application: MACHINE\_IP

### Answer the questions below

1. What is the first ingredient that Rick needs? `mr. meeseek hair`
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742152833778/175405df-f941-4c66-98c3-afb9845b389e.png align="center")
    
    Note to self, remember username! Username: R1ckRul3s Password: Wubbalubbadubdub  
      
    `gobuster dir -u` [`http://IP_ADDRESS`](http://IP_ADDRESS) `-w /usr/share/wordlists/dirb/common.txt -x txt,php,html,js`
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742153471459/fec034c3-7df4-44cc-98ad-b006273fb174.png align="center")
    
    going to: http://IP\_ADDRESS/login.php opens the Portal Login Page
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742154133433/4d7a5411-58a2-4c3e-b8eb-7f644b0fb7c4.png align="center")
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742154200844/b4366938-b118-4c21-aee2-7012d4b003d9.png align="center")
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742154226070/4f03f7e1-1ea6-43b6-b4e3-0272f05b339d.png align="center")
    
    /portal.php
    
    **comment:**`Vm1wR1UxTnRWa2RUV0d4VFlrZFNjRlV3V2t0alJsWnlWbXQwVkUxV1duaFZNakExVkcxS1NHVkliRmhoTVhCb1ZsWmFWMVpWTVVWaGVqQT0==`
    
    `sudo -l`
    
    Matching Defaults entries for www-data on ip-10-10-113-235: env\_reset, mail\_badpass, secure\_path=/usr/local/sbin\\:/usr/local/bin\\:/usr/sbin\\:/usr/bin\\:/sbin\\:/bin\\:/snap/bin
    
    User www-data may run the following commands on ip-10-10-113-235: (ALL) NOPASSWD: ALL  
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742154531853/4b40f91c-5019-47cf-88bf-fbb7e09e09a7.png align="center")
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742154565312/20135aea-3d68-4238-82e6-02ec830de30f.png align="center")
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742154593687/fde97263-df35-4c33-9f18-f8653f03a9da.png align="center")
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742154611904/d22f932b-8ee4-48b6-abc0-d4b7ff3a1fc2.png align="center")
    
2. What is the second ingredient in Rick’s potion? `1 jerry tear`
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742154664785/a2b699b7-603a-473c-ace1-250378c99f95.png align="center")
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742154713484/ee72fede-fbae-4ccf-a491-25cf975af001.png align="center")
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742154785174/aaca92c9-1203-4eb9-ac7f-17d71b76cec9.png align="center")
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742154842710/0bf3d1e0-db77-4650-9c97-2a8b7f0796d4.png align="center")
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742154894180/a78f1f5e-93e8-464a-b7ca-bfb40260a6d9.png align="center")
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742154923211/d2cbf95e-f0bf-4522-9767-df5c494c67a1.png align="center")
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742154955524/8bece77a-7fa9-4688-80a9-6eae2fab1854.png align="center")
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742154988493/f811e228-14f0-4b0c-9b2c-3a461ddd92f9.png align="center")
    
3. What is the last and final ingredient? `fleeb juice`
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742155046500/cb680174-1bdd-4810-b1d5-4e22e3bb21bf.png align="center")
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742155126493/445a5720-985f-4455-9efc-7a5fa324ef7d.png align="center")
    

Thank you for reading my article. Please leave any questions or comments on improving my learning journey and the Lab THM challenges.
