<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Php on Mike's Logs</title><link>https://mdunn99.com/tags/php/</link><description>Recent content in Php on Mike's Logs</description><generator>Hugo</generator><language>en</language><copyright>&lt;a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0&lt;/a></copyright><lastBuildDate>Mon, 04 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://mdunn99.com/tags/php/index.xml" rel="self" type="application/rss+xml"/><item><title>HackTheBox Writeup - "MonitorsFour"</title><link>https://mdunn99.com/posts/monitorsfour-htb/</link><pubDate>Mon, 04 May 2026 00:00:00 +0000</pubDate><guid>https://mdunn99.com/posts/monitorsfour-htb/</guid><description>&lt;p>This assessment followed a black-box approach, beginning with active reconaissance, progressing through enumeration, initial unprivileged foothold into the authorized target, and finally privilege escalation. &lt;a href="https://www.hackthebox.com/machines/MonitorsFour">MonitorsFour is a HackTheBox &amp;ldquo;easy Windows&amp;rdquo; challenge&lt;/a>.&lt;/p>
&lt;h1 id="reconnaissance">Reconnaissance&lt;/h1>
&lt;p>Port and service scanning was performed on the target using &lt;code>nmap.&lt;/code> It revealed an HTTP (insecure) webserver and a Microsoft HTTPAPI server, confirming the fact that this IP is associated with a Microsoft machine.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>80/tcp open http nginx
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>|_http-title: Did not follow redirect to http://monitorsfour.htb/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>5985/tcp open http Microsoft HTTPAPI httpd 2.0 &lt;span style="color:#f92672">(&lt;/span>SSDP/UPnP&lt;span style="color:#f92672">)&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>|_http-title: Not Found
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>|_http-server-header: Microsoft-HTTPAPI/2.0
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Service Info: OS: Windows; CPE: cpe:/o:microsoft:windows
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Enumeration on files and pages from the root directory of the resolved domain name (monitorsfour.htb) revealed information like a &lt;code>login&lt;/code> and &lt;code>user&lt;/code> path:&lt;/p></description></item><item><title>HackTheBox Writeup - "Pterodactyl"</title><link>https://mdunn99.com/posts/pterodactyl-htb/</link><pubDate>Fri, 03 Apr 2026 00:00:00 +0000</pubDate><guid>https://mdunn99.com/posts/pterodactyl-htb/</guid><description>&lt;p>Pterodactyl is a medium difficulty Linux HackTheBox machine: &lt;a href="https://app.hackthebox.com/machines/Pterodactyl?sort_by=created_at&amp;amp;sort_type=desc">https://app.hackthebox.com/machines/Pterodactyl?sort_by=created_at&amp;sort_type=desc&lt;/a>&lt;/p>
&lt;h1 id="reconnaissance">Reconnaissance&lt;/h1>
&lt;p>I ran a standard nmap service scan:&lt;/p>
&lt;pre tabindex="0">&lt;code class="language-nmap" data-lang="nmap">Not shown: 986 filtered tcp ports (no-response), 10 filtered tcp ports (admin-prohibited)
PORT STATE SERVICE VERSION 
22/tcp open ssh OpenSSH 9.6 (protocol 2.0) 
80/tcp open http nginx 1.21.5 
443/tcp closed https 
8080/tcp closed http-proxy 
&lt;/code>&lt;/pre>&lt;p>I navigated to the web server, which had an unresolvable domain name: pterodactyl.htb. I added the IP to my hosts to resolve it in my browser:
&lt;img src="https://mdunn99.com/posts/pterodactyl-htb/monitorland_page.png" alt="">&lt;/p></description></item></channel></rss>