<?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 Abzeesaminu on Medium]]></title>
        <description><![CDATA[Stories by Abzeesaminu on Medium]]></description>
        <link>https://medium.com/@abzeesaminu2?source=rss-f92f1feac2d6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*iaWk9KRAXkqq9-a_rgyv6Q.jpeg</url>
            <title>Stories by Abzeesaminu on Medium</title>
            <link>https://medium.com/@abzeesaminu2?source=rss-f92f1feac2d6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 04:16:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abzeesaminu2/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[UDOMCTF 2022/2023 WRITE-UP]]></title>
            <link>https://medium.com/@abzeesaminu2/udomctf-2022-2023-write-up-3e2748ac72f3?source=rss-f92f1feac2d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e2748ac72f3</guid>
            <dc:creator><![CDATA[Abzeesaminu]]></dc:creator>
            <pubDate>Tue, 03 Jan 2023 15:38:41 GMT</pubDate>
            <atom:updated>2023-01-03T21:00:20.180Z</atom:updated>
            <content:encoded><![CDATA[<p>UDOMCTF 2022/2023 WRITE-UP</p><p>Yo it your regular n00b guy Abzee with another CTF write-up hosted by UdomCyber team which is fun to play with. It was end of 2022 CTF lasted for 48hrs but i was quite busy the day of the CTF so let get to the fun part of the challenges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*rUuAK11ilvcmA0ZUh2RUpA.png" /></figure><p>It an individual CTF so I use user b3tr4y4l as my name kind of funny right cos b3tr4y4l be-gains blood but the sad part is I end up in 6th position(everyday no be Christmas lol).</p><p>Now let get started to all challenges I solved. Bankai Tensa Zangetsu(in Ichigo voice).</p><p>STEGANOGRAPHY CHALLENGE</p><p>SIMPLE STEGO</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*RtQm1VO1KTtWera_L7viZA.png" /></figure><p>Simple stego is the easiest like to easy to get so let download the image and see what we can get from the image given.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/1*hy2cLhSteMtrdcgu4CaxrQ.png" /></figure><p>By zooming the image we we’re able to get the flag. Sweet free 200pts for me :xD.</p><p>Flag: UDOM{BR1LL14NT_5T4RT5_H3R3}</p><p>HAPPY NEW YEAR</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*opjYZv_p_SbnvyvBqSeVfA.png" /></figure><p>Happy New Year guys lol thou that’s the name of the challenge. Let download the image and get our flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*qu2cAXayrE0UmVgRFLGpjw.png" /></figure><p>This is the image i got when i downloaded so let head to our Terminal and see what goodies is waiting for us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*VmGlEbBHWFXI-15JqVNH1Q.png" /></figure><p>Command use: stegseek STEGO.jpg /opt/wordlists/rockyou.txt</p><p>By using Stegseek we we’re able to retrieve our flag from the image. Stegseek is the fastest bruteforcing tool for image.</p><p>Flag: UDOM{5t3g533k_5t3gh1d3_ar4_th3_b35t_t00ls_for_5t3g4n0gr4phy}</p><p>DATA2</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*gnqQ31B75SoORbNcUy7Vhg.png" /></figure><p>Wow bunch of numbers mixed up with alphabet. This look interesting let copy everything and head to Cyberchef.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6hnsxvJ8hkrYkaHcK-cOeQ.png" /></figure><p>After decoding it from Hex then will extract the file type which gave us a zip file at the output below so let download the zip file we got.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/345/1*9cdvMB0WX6nvnFe5D_7JnQ.png" /></figure><p>I downloaded the first zip file but when i try to extract the file it was asking for a password. First thing i thought of to get the required password is zip2john in our Kali.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*HY0J-Ij_qpZwM9HAhN9wrA.png" /></figure><p>The reason why my john showed No password hashes left was because have already cracked it before that’s why i use john — show to show me the password which is ```newyearnewfriends```. Now let extract the zip file to see what we have there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/917/1*Y4TYFaqMBeCrdgabI5pXiQ.png" /></figure><p>This is what we got from the extracted file let try to decode it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/682/1*SqDCfUbJyjh7nTlRgTNfyw.png" /></figure><p>It was encoded in base64 so i decided to decode it and got another encrypted strings then i went to Dcode.fr to see what i can get from there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/989/1*ILpSmk40MA_KE7e44r-DgA.png" /></figure><p>Boom and our flag is smiling at us saying i see what you did right there hehe.<br>Flag: UDOM{y0u’r3_n0w_th3_m45ter_0f_crypt0_st3g0}</p><p>BLIZZARD</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*nea7f1aXOETHQbgkXczjpA.png" /></figure><p>This time we are working on blizzard. I love snow very much although Nigeria don’t have one which is sad lol. Let dive into the fun part or who doesn’t like diving??.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B_CRmDjjqftp3yltHAYdhg.png" /></figure><p>I decided to check the content of the file i downloaded but looking at the space the content gave us my mind went straight to stegsnow tool so let check out how stegsnow work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/1*ar9xaDQIDSfizzeJD1xThw.png" /></figure><p>Command use: stegsnow -C LINCENSE.txt</p><p>Hmm we didn’t get anything from it so let try bruteforcing for the password maybe we can move forward.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*fOBbhNTyWM0F15u4rXLRDg.png" /></figure><p>Command use: python3 snowcracker.py -c Y -f LICENSE.txt -w /opt/wordlists/rockyou.txt | grep UDOM</p><p>Knowing the format of the flag i decided to grep it so that after getting the password the flag will just pop up that some good sh!t right.</p><p>You can find the tool i use in this link: <a href="https://github.com/0xHasanM/SnowCracker">https://github.com/0xHasanM/SnowCracker</a></p><p>Flag: UDOM{_WELL_MR_SN0W_YOUGOT_M3}</p><p>HARD STEGO2</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*nhcTkHs2BpRsV6loXaXUqQ.png" /></figure><p>In this challenge i was the one who was able to solved it. wait a mins but there is no hint before when i solved it oh they added it when the CTF ended so let crush this sweet challenge with my gentjutsu and handsign in display :xD.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/424/1*Hji3hGNNbgFEw01UDoHlUg.png" /></figure><p>This is what i got when i downloaded the image so let use zsteg on it. zsteg can only be use on png image only.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7hqcTW0QEfT43o5cQ_RHPQ.png" /></figure><p>Command use: zsteg hidd3n.png</p><p>This is not the string i got before because it was multi-encoded. Now they made it more easier so let take the string to cyberchef. If you can recall and check the challenge well it was called reverse engineering.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nTPeyWGpeYlea7k-hE_KEA.png" /></figure><p>So i paste the string i got from zsteg to cyberchef then i reverse it before decoding it from binary.</p><p>Flag: UDOM{th3_r34l_fl4g}</p><p>WEB CHALLENGE</p><p>TURACO</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*ML8xWtbGrr817crimyYOuQ.png" /></figure><p>Let get our hand dirty on web challenges hehe. Let head to the given HTTP server and use some shadow clone on it (Katon <strong>Kage Bunshin no Jutsu).</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4-enK0MmgyjfV5cnZqwwSg.png" /></figure><p>Hmm the page is asking for a password before we can move forward but first let check source code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*milbVmhYfu1qAjemstHGcg.png" /></figure><p>Now this is interesting. Let try to copy this string that look like javascript and head to cyberchef straight.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2jT4olnma3J53gjTxUteqA.png" /></figure><p>I decoded the string from Hex after then i decoded it from Decimal which gave me flag.</p><p>Flag: UDOM{1ts_an_0m3n}</p><p>WRCEB</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*AvWte1cLiXxJwHV09IXehA.png" /></figure><p>Seems this one deal with understanding of code so let check it out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eI5hVrTYHxmmloeA_R-UCg.png" /></figure><p>We we’re told that the page includes a link to a javascript file so let view the source code and get our JS file from there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*Hpk4PIFvlXbMP9MW0z7fZg.png" /></figure><p>Let click on it and see what we have.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/909/1*0vkwzZXjB4sX6prRaDOIQw.png" /></figure><p>Looking at the code very it showed that it a POST request and they already included the path to the command which is command as the directory. Let use curl and get this done asap.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*abVWdgL1V9gZIzr2UaBZ8A.png" /></figure><p>Command use: curl -X POST -H “Content-Type: application/json” -d ‘{“command”: “ls | ls -la”}’ <a href="http://44.201.225.84:9002/command">http://44.201.225.84:9002/command</a></p><p>This is how i got my flag and also you can intercept with Burpsuite and get your flag</p><p>Flag: UDOM{a_simpl3_code_Review3r}</p><p>TWO-STEP-SNAKE</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/491/1*xbVhdtL-D4kX__nIYPnNdg.png" /></figure><p>Another easy web to be blooded. Let blood this and get to the other challenge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JtxWOtCtfpDf5IOBiNPlrw.png" /></figure><p>A blank web page always as something on source code let check it out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z7r1SlwTbl0ebZ1yjkVXNQ.png" /></figure><p>This is URL encode string so easy to figure out. Time to use cyberchef.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6muqOHVUqvncSt3vEI02jQ.png" /></figure><p>This is encoded in Decimal so let decode it to see what we have here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2mfkW0WARncuAq82KeX2qg.png" /></figure><p>Finally we have gotten the password we we’re ask to get subarashi!!!. Let wrap it in their flag format.</p><p>Flag: UDOM{hDufjdki156}</p><p>WINJE</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*ExoaBo60e21uIDKv4TSx7w.png" /></figure><p>The last web challenge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xd2pwNd8OYorsUxQdRiXWg.png" /></figure><p>This is easy and tricky. Let see how i got command execution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6EmZtX8P2OF4zO_6DM1p-Q.png" /></figure><p>I removed the whole part i circled and replace it to id and i got command injection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*uwhp020gInq_uz964391IA.png" /></figure><p>I check the source code to confirm and it work. Let go get our flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*BF0y4aS09Iag9v-dBJNJyA.png" /></figure><p>Kaboom and the flag was like this guy gat some old man brain lol.</p><p>Flag: UDOM{G00d_with_1nj3ct10n}</p><p>OSINT CHALLENGE</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*GNdFYKj0kw0H8URGtWOk_w.png" /></figure><p>This OSINT challenge is easy peasy for 500pts but imagine i wasn’t able to solve the one’s with lowest points lol. I don’t knw why lowest point is hardly to solve so let get the region and let download the image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/313/1*RJw2TMVjJsDePi-wcYHkzw.png" /></figure><p>This is the image we download and asked to find the region. Let use google image search.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/379/1*-5C09B362pjvgQuwNVOzgg.png" /></figure><p>Haha that’s our flag right there. Let wrap it up.</p><p>Flag: UDOM{RUKWA}</p><p>FORENSICS CHALLENGE</p><p>FILE</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*qDd-Z-2ZCcoiR7W_URzJMA.png" /></figure><p>I don’t love forensics challenge but at least i tried my best and solve few. Let download the Zip file and get back to work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/961/1*BXrYXkC7zZyTIn3-IetF2w.png" /></figure><p>After extracting the zip file i saw a pdf file which file type is WAV which means we are dealing with .wav here so let convert it back to audio and cyberchef can do that for us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8VjmVn4Qvl7k1PHjbRm0vw.png" /></figure><p>Now we have extract our audio then i decided to play it and the sound of the audio is Morse code then i went on to search for Morse code translator online.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PEbUMcL-nOKnCdcLliYx6Q.png" /></figure><p>That how the flag started smiling at me. Let wrap it up.</p><p>Flag: UDOM{M0RS3S0UND5B3TT3R1NMIL1TAR13S}</p><p>CRYPTOGRAPHY CHALLENGE</p><p>ADVANCE</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*pkMxtYCRa9RznuMh8Oouaw.png" /></figure><p>Let download the the python code and view it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*lF4Yh4jIln6vfwfhkm_2Vg.png" /></figure><p>This is AES encryption and we can use cyberchef to solve it. Sweet right buddy yea i knw.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S9QnGzzhtwP3V2YWYx8s_Q.png" /></figure><p>I made a little edition and then the flag jump up to me and hug me so tight lol.</p><p>Flag: UDOM{4dvanc3d_3ncrypt10n_5tand4rd}</p><p>STRANGER!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/1*OyA9ztXLYKkHDOAQXrIVxw.png" /></figure><p>This look like base45 encryption but anyway let check it out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RUg9vuLqnaw5HGjk92-tIw.png" /></figure><p>Just like i said it from base45 then from base32 which gave us a alien language which can be decoder using Dcode.fr so let head there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*WP0fEUZor53W5RdtA6OqPA.png" /></figure><p>So i make a deal with the aliens and they gave me the flag. It a secret so i won’t tell you haha. Let wrap the flag up.</p><p>Flag: UDOM{4L13N_L4NGU@G3_1S_S1M9L3}</p><p>SUB/TRANS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*jM-DDaaPmdGR1LQVbEAS3g.png" /></figure><p>This is very easy. The key to the flag is by using mono-alphabetical substitution cipher Dcode.fr can even help out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*yrqzOT2nxzdKnOzvl2g56Q.png" /></figure><p>Piece of cake right.</p><p>Flag: UDOM{CRYPTOQUIPS_ARE_BORN_TO_BE_BROKEN}</p><p>R54</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*iGale6V9sFCJNrUEdezsYA.png" /></figure><p>I don’t knw how to code yet but i’m learning so let me use Dcode.fr for this challenge also. Let go on and download the text instead of the python code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*-ImzGYcRpb9SCrwkFIdorA.png" /></figure><p>These are the numbers inside the text file we downloaded let search for RSA cipher online.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*2Ic07MU1qpgAwL-Eyyiulg.png" /></figure><p>That’s all we have to do and the flag is staring at us.</p><p>Flag: flag{usa_e_piu_grandi}</p><p>That’s all i can do for today guys and i hope y’all enjoy my write-up. I couldn’t finish all becos i was really busy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e2748ac72f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ABCCTF 2022 CTF WRITEUP]]></title>
            <link>https://medium.com/@abzeesaminu2/abcctf-2022-ctf-writeup-fcbb1a25c3e4?source=rss-f92f1feac2d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/fcbb1a25c3e4</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Abzeesaminu]]></dc:creator>
            <pubDate>Wed, 05 Oct 2022 20:16:17 GMT</pubDate>
            <atom:updated>2022-10-05T20:16:17.266Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi.</p><p>My name is Abzee Saminu so i will be the one walking you through the ABCCTF hackathon 2022 hosted by NaijasecForce and ABCouncil.ng. It was really a fun CTF that later end in our favor by taking the 1st position so let get to the fun part of solving the challenges.</p><p>WINDOWS: RODENET</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*CwIh60pvYTiRNxYfqT0urw.png" /></figure><p>RodeNet windows machine which is first blooded by me after spending couples of hours on it so let head to the webpage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*eohq7H1Nbj-YljU7JMoSAw.png" /></figure><p>Cool home page which is full of rat lol so first thing i did was checking robots.txt to see maybe i can get something interesting but unfortunately nothing was so after then i check the source code maybe something is hidden there but still no luck then i went straight to my Terminal to Fuzzing for directory But i got nothing also so i said to my self what can i try next to get a lead. Then i said to myself why not try sqlmap on the target maybe i can get a hit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vrZNygWAF8jRottqzb7D7Q.png" /></figure><p>Using Sqlmap -u <a href="http://212.73.150.221:61090/">http://212.73.150.221:61090</a>/ — form — dbs — batch i got a parameter which is RazorTpl but you can also intercept it with Burpsuite and get your parameter but it not vuln to mysql, sqli injection, RFI and LFI so i decided to search for RazorTpl exploit maybe i can move forward and i did because i found a website that help out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TOWZEVicxsGG820DJcwkQw.png" /></figure><p>Link to this site is <a href="https://www.schtech.co.uk/razor-pages-ssti-rce/">https://www.schtech.co.uk/razor-pages-ssti-rce/</a>.</p><p>So in the link above showed me how to exploit Razor which is vuln to SSTI and how to gain RCE so let go back to our target page and scroll down to see where we can exploit our Razor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lTxaeRKa_Qs6z_KMSHf8Ww.png" /></figure><p>Let see maybe we can get our self using the empty comment box above something and since it likely vuln to SSTI so i quickly ran some little SSTI payload like @(7*7)’ which will give us 49 that means it completely SSTI injection so let check it out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-qhUtf-FGFfsnMTbeQ2Kew.png" /></figure><p>Let tab on the preview and see what our response will be.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z3tvl2EzM-ylnt7Cbw41cw.png" /></figure><p>Yep it vuln to SSTI injection now let try to exploit and one thing you should knw that Windows SSTI injection is different from Linux SSTI injection so here we are dealing with Windows SSTI injection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3SvwLQ-u56xy0acx-a607A.png" /></figure><p>Let keep on testing the empty preview box to check for time which we put as Day, Hour and Minute.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OmwWcKrD_rwqwWSxvtdEXw.png" /></figure><p>After running the input as you can see above we got a respond which is 5day, 9hour and 35minute. Let try to exploit it and gain RCE but first of all let set system cmd with the command below in the image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1mBsh9lRuYs826-wAXQX3g.png" /></figure><p><a href="http://twitter.com/System">@System</a>.Diagnostics.Process.Start(“cmd.exe”,”/c echo RCE &gt; C:/Windows/Tasks/test.txt”);<br>@(System.Diagnostics.Process.Start(“cmd.exe”,”/c echo RCE &gt; C:/Windows/Tasks/test2.txt”));</p><p>Now let start up our Ngrok and use it for TCP port because this is not like THM, HTB or other platform that we provide you VPN.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*bOv_mNaZ0D08VVhNSHgqAw.png" /></figure><p>./ngrok tcp 1234</p><p>Using Ngrok to start a tcp port of 1234.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*t2_-p7mcOUiqkCZiUIJtgA.png" /></figure><p>Now let start our listener on port 1234.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*cad-fSmNEYgUbttFbAkomg.png" /></figure><p>All we have to do now is to search for reverse shell online generator and generate a powershell reverse shell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*alYyotnOu1tazXJHaXJbHg.png" /></figure><p>Link: <a href="https://www.revshells.com/">https://www.revshells.com/</a></p><p>As you can see in the above image we added our Ngrok link and port. Now let copy our generated powershell and paste it on the webpage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GKpa6XeLcTCSKyv3Kp6D9Q.png" /></figure><p>Let tab on our review and check our listener.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dpTgx6l9d4QywPaJ3dAXDg.png" /></figure><p>Boom we got shell now let type whoami to check who we are hehehehe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iSfv_I_UsjXGYC1T4IhpIg.png" /></figure><p>sweet we are nt authority/system that means we have access to all file. Time to locate our flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6YT8hCHfipQmE5h_2lV8fA.png" /></figure><p>I think someone has deleted the flag because we all knw that windows flag are located under /users/administrator/desktop.</p><p>WEB: DE CLASSIC</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*zZ6swJhUz6mNbI9DT2r2SQ.png" /></figure><p>De Classic web challs created by Rudefish which is very easy. Let check out the ip and see what we have on the web page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RUmxIvs8HOeYSoNW35kDkw.png" /></figure><p>Cool the webpage is Apache let check the source code maybe anything is hidden.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/989/1*hW4Rx5dvJGkmQPQxdCeHcw.png" /></figure><p>Nope nothing is there i even try robots.txt to check maybe they left us something but we got nothing. A quick reminder always check robots.txt in any webpage that is running as HTTP. Now let try to Fuzz the given ip using Gobuster and see what we can get there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2SpRnAQz59CBB9udu1VAcw.png" /></figure><p>Command: gobuster dir -u <a href="http://185.203.119.220:6750/">http://185.203.119.220:6750/</a> -w /usr/share/seclists/Discovery/Web-Content/directory-list-2.3-medium.txt -x php,txt,zip,html</p><p>Cool we got index.html and index.php so let try both.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qRJz6WsMTq2ZB4SahRl6RA.png" /></figure><p>Using index.html takes us back to the Apache webpage now let try the index.php maybe it will show us different stuff.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bBth4h24-FO84Jf9-oC8SA.png" /></figure><p>Wow seems the index.php showed us a different webpage so i began to Fuzz maybe i will get anything but no luck i even check source code still nothing there then i decided to Fuzz for parameter to see maybe the webpage is vuln to LFI becos anything that end with index.php somethings end up being LFI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wmvHDqCs4Acsm_jAQwZVzw.png" /></figure><p>Command: ffuf -c -ic -r -u ‘<a href="http://185.203.119.220:6750/index.php?FUZZ=../../../../../../../../../etc/passwd&#39;">http://185.203.119.220:6750/index.php?FUZZ=../../../../../../../../../etc/passwd&#39;</a> -w /usr/share/seclists/Discovery/Web-Content/common.txt -fs 115</p><p>Boom and we have our parameter as page so let test it out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pr0SOVaHHKQwm3ubGwWj2Q.png" /></figure><p>And here we have it goes wild lol. Time to locate our flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cRQnoZofur7Ess4EIUGRvQ.png" /></figure><p>php://filter/convert.base64-encode/resource=index.php.</p><p>By using php filter to encode our text in index.php into base64 and decode it afterward to see what text we have maybe it contain the flag. Let copy it and paste our text in <a href="https://gchq.github.io/CyberChef/">https://gchq.github.io/CyberChef/</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NMWV9AO14mdxiWHJDIjBDA.png" /></figure><p>We decode it from base64 and then boom our flag is looking at us.</p><p>Flag: abcctf{just_d_cl4ss!c_yeah?}</p><p>WEB: EASY LFI</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*cbi0ydefVug9wGcviPEQEQ.png" /></figure><p>Easy LFI web challs which is also very easy but kind a little bit stressful.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bUDik7S3-UgS0W822sRFkQ.png" /></figure><p>Apache hehehe so let check source code to see maybe we can get something.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dKh1jX5PdjvQvJDdxosXEQ.png" /></figure><p>Seems we got something so let put it in our pocket for later use lol. Let Fuzz for directory maybe we can find some secret i love secret stuff xD.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hG_M7PBHkJy9auzvNLelmQ.png" /></figure><p>Something interesting after fuzzing which is help.txt let try access it on our webpage by putting it at the endpoint of the IP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*A1tgnEu-L-KxFOAgHu3OLw.png" /></figure><p>We got a half directory eaten by r4t so funny. So what we have to do is make our own wordlist using crunch and if you can recall when we check source code we found alphabet and number together which is abcdef123456 that what we will use to generate our own wordlist to get the last 3 part of the directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*q5E_oB7tzXstAdGdr9cdVA.png" /></figure><p>crunch 10 10 abcdef123456 -t D1r3C70@@@ -o wordlist.txt</p><p>The command above will generate a wordlist which is awesome right. The 10 10 part is for minimum and maximum of the directory you wanted to generate while the @@@ is for the missing part then the -o is for output the file into wherever you wanted i decided to output mine into wordlist.txt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*vJcLNs7JuG89H8bCgwVuyg.png" /></figure><p>gobuster dir -u <a href="http://185.203.119.220:8002/">http://185.203.119.220:8002/</a> -w wordlist.txt</p><p>Yea we have gotten our missing part of the directory using the wordlist we generated phew what a relieve. Let try to access the webpage with the directory we just got.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*metNg_82NuBfrmZQzYV9vA.png" /></figure><p>Finally progress. Let tab on the Memes to check maybe we will see anything good.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1kQcLGuQbZ9VjMTybBZ0gg.png" /></figure><p>Seems empty but we got a parameter which is abcctf it might be vuln to LFI so let check it out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/1*ebfd1KNLAuaQCnwo4Hy2gw.png" /></figure><p>Yep it vuln to LFI but we need to find a payload so that we can read /etc/passwd, After spending some minutes trying the payload i knw like php filter nothing seems to work then i decided to url encode ../../../../../../../../../../etc/passwd using Cyberchef.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*18gs8IEYjRmsvS7rn1l76w.png" /></figure><p>Now let try what we encrypted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w6hnQfkopRicglgYkceTPg.png" /></figure><p>%2E%2E%2F%2E%2E%2F%2E%2E%2F%2E%2E%2F%2E%2E%2F%2E%2E%2F%2E%2E%2Fetc%2Fpasswd</p><p>Cool it working and as you can see we are root so let try getting the flag by changing the /etc/passwd to /root/flag.txt and don’t forget to url encode using cyberchef.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RhxrEd7kBB3gTnxmaRMMsA.png" /></figure><p>Let see what will be our response.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7VLMvF_FRYXoIjpCN8YHGQ.png" /></figure><p>Damn lost in one of the Apache config this is really stressful so i decided to search for how to check for all Apache config file in LFI. I found out so many apache config files then i started using it one after the other until i found this /etc/apache2/sites-enabled/000-default.conf which is where the flag is hidden so let try to Url encode it and retrieve our flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dxxZcODqw7hyX0tVXh--eg.png" /></figure><p>%2E%2E%2F%2E%2E%2F%2E%2E%2F%2E%2E%2F%2E%2E%2F%2E%2E%2F%2E%2E%2Fetc%2Fapache2%2Fsites%2Denabled%2F000%2Ddefault%2Econf</p><p>Let paste it on our webpage to see what we might have.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*034mGf9uyC-r_wSQlZ-b8Q.png" /></figure><p>There we go with our flag smiling at us and jubilating.</p><p>Flag: abcctf{0N3_11N3r_845H_70_63N3r473_D1r3C70rY_70_1F1}</p><p>CRYPTO: SEA</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*TEVoVROlVpr2y5eRgrKZ2A.png" /></figure><p>SEA was easy but got only 2 solves. All you have to do is reverse the name and we got AES, you all knw about AES encryption but let download our zip file first and unzip it .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*mr7f3kmrLZB8gdG2gB-xLw.png" /></figure><p>After we unzip it this is the text we got so i rush to my web browser and search for AES decoder online and i got a website that help out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KlpLcuhYBxlLi-05wX99OQ.png" /></figure><p>In the description of the challenge we we’re told to guess the password so my mind went straight to abcctf as the password but it was wrong after trying and error i tried abcctf2022 and the boom our flag pop out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K94hPEZ2Jf-Y_xzt1hH6AA.png" /></figure><p>So that how we got our flag.</p><p>Flag: abcctf{48CC7F_345Y_6U355}</p><p>CRYPTO: BXB</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/1*opv661TWdurAOq0Yj0Pt4w.png" /></figure><p>This one is kinda of tricky and fun. Let download the zip file and get back to business.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*qKyZ7lv6X6K1mTyvaJhdYg.png" /></figure><p>After unzipping it this is the text we got all we just need is cyberchef and solve this challenge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zIWuxyeL1wSzkweUiRrYbQ.png" /></figure><p>As we can see the first encryption method is from base62.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sl_QO62ebSxHLroArE9crw.png" /></figure><p>Second encryption is from hex then i spent an hour to get the last part after severe of attempt and fail then i notice that the name of the challenge it a hint to the decryption BXB also knw as Base, Hex and Base.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zF8Qe0SZddSaC2kNxpSI7Q.png" /></figure><p>So when i tried To base64 i was able to get the flag. Flag is in underscore.</p><p>Flag: abcctf{Y0U_607_M3_W311}</p><p>CRYPTO: BALLS AND WHAT NOT</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*hJKT6WyT3V3WcXh93HFO_g.png" /></figure><p>This was very easy didn’t even take me up to 5mins to get it done. You can use Dcode.fr to solve this challenge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XOuVqQvV5IIYwp1wkSh8hg.png" /></figure><p>Splendid and we got our flag.</p><p>Flag: abcctf{aFFinity_HAs_us}</p><p>STEG: WAHALA BE LIKE BICYCLE</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/1*h0L68LXNXsqzuV2Oto-mtQ.png" /></figure><p>First of all let download the pdf and try opening it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*f9BsVzI2WCWwOylIIhZDIQ.png" /></figure><p>Seems we can’t open the pdf file let try uploading it in cyberchef.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TV53bGBMkY9Dr3s987mM_Q.png" /></figure><p>No wonder we can’t open pdf file because it PNG which is image let try converting it back to image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*27gotW7Qm3GSlzmxBg-zrg.png" /></figure><p>Let open the image we just download.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*-rBnlg4wS6oNJb1AQmFbnQ.png" /></figure><p>Hmm i think the PNG file is damage let trying fixing it with hexedit online and search for PNG file number.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F4y0hl2mQ2p3U9nPd66EbQ.png" /></figure><p>Now let check for PNG file sign.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kyEdErL4b2eViAHj2XU8Vw.png" /></figure><p>Link: <a href="https://en.wikipedia.org/wiki/List_of_file_signatures">https://en.wikipedia.org/wiki/List_of_file_signatures</a></p><p>Let go back to hexedit and input the file sign and download it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4FakPxIYjUyz-W5mdmmSng.png" /></figure><p>We are done so let download and try opening it again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*74YExQgaFBqz9pog33PkGQ.png" /></figure><p>That how we got the flag so easy right.</p><p>Flag: abcctf{bRoK3N_n0t_B@D}</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fcbb1a25c3e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>