diff easy
#2025.20.31
sudo nano /etc/hosts
Add the IP
Nmap enumeration
htb/machine/artificial
-> sudo nmap -Pn -sC -sV -T4 -O 10.10.11.74
[sudo] password for xacce:
Starting Nmap 7.98 ( <https://nmap.org> ) at 2025-10-30 23:54 +0800
Nmap scan report for 10.10.11.74
Host is up (0.28s latency).
Not shown: 943 closed tcp ports (reset), 55 filtered tcp ports (no-response)
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 8.2p1 Ubuntu 4ubuntu0.13 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey:
| 3072 7c:e4:8d:84:c5:de:91:3a:5a:2b:9d:34:ed:d6:99:17 (RSA)
| 256 83:46:2d:cf:73:6d:28:6f:11:d5:1d:b4:88:20:d6:7c (ECDSA)
|_ 256 e3:18:2e:3b:40:61:b4:59:87:e8:4a:29:24:0f:6a:fc (ED25519)
80/tcp open http nginx 1.18.0 (Ubuntu)
|_http-title: Did not follow redirect to <http://artificial.htb/>
|_http-server-header: nginx/1.18.0 (Ubuntu)
Device type: general purpose|router
Running: Linux 4.X|5.X, MikroTik RouterOS 7.X
OS CPE: cpe:/o:linux:linux_kernel:4 cpe:/o:linux:linux_kernel:5 cpe:/o:mikrotik:routeros:7 cpe:/o:linux:linux_kernel:5.6.3
OS details: Linux 4.15 - 5.19, MikroTik RouterOS 7.2 - 7.5 (Linux 5.6.3)
Network Distance: 2 hops
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
OS and Service detection performed. Please report any incorrect results at <https://nmap.org/submit/> .
Nmap done: 1 IP address (1 host up) scanned in 25.39 seconds
visiting the http

To see the source i use curl so
htb/machine/artificial
-> curl <http://artificial.htb/>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Artificial - AI Solutions</title>
<link rel="stylesheet" href="/static/css/styles.css">
<link href="<https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap>" rel="stylesheet">
<style>
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
}
.code-example-section {
margin: 40px 0;
padding: 20px;
border-radius: 8px;
background: linear-gradient(to right, #f9f9f9, #e6e6e6);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.code-example-section h2 {
font-size: 24px;
margin-bottom: 20px;
color: #333;
}
pre {
background-color: #282c34;
color: #abb2bf;
border-radius: 8px;
padding: 20px;
overflow: auto;
font-size: 16px;
line-height: 1.5;
margin: 0;
}
code {
color: #e06c75;
}
.keyword {
color: #c678dd;
}
.comment {
color: #7f8c8d;
}
.string {
color: #98c379;
}
.number {
color: #d19a66;
}
</style>
</head>
<body>
<!-- Header -->
<header>
<h1>Artificial</h1>
<p>Empowering AI for the Future</p>
<nav>
<ul>
<li><a href="#about">Why Artificial</a></li>
<li><a href="#reviews">Reviews</a></li>
<li><a href="/login">Login</a></li>
<li><a href="/register">Register</a></li>
</ul>
</nav>
</header>
<!-- Hero Section -->
<section class="hero-section">
<h2>Revolutionize Your AI Experience</h2>
<p>Build, test, and deploy AI models effortlessly with Artificial.</p>
<a href="/register" class="cta-btn">Get Started</a>
</section>
<!-- Why Artificial Section -->
<section id="about" class="about-section">
<h2>Why Use Artificial?</h2>
<p>Artificial offers state-of-the-art AI model building, testing, and deployment with a user-friendly interface. Whether you're a researcher, developer, or AI enthusiast, Artificial provides the tools and platform to innovate and experiment with cutting-edge AI technologies.</p>
<ul>
<li>Effortless AI model creation</li>
<li>Real-time testing and validation</li>
<li>Seamless deployment to production</li>
</ul>
<h3>Predict Future Sales with AI</h3>
<p>Artificial helps you forecast future sales using advanced AI models. By analyzing historical sales data, our platform predicts which months will see the highest sales. With intuitive tools and seamless interfaces, you can easily visualize these predictions and optimize your sales strategies.</p>
</section>
<!-- Code Example Section -->
<section id="code-example" class="code-example-section">
<h2>Example Code:</h2>
<pre><code>
<span class="keyword">import</span> numpy <span class="keyword">as</span> np
<span class="keyword">import</span> pandas <span class="keyword">as</span> pd
<span class="keyword">import</span> tensorflow <span class="keyword">as</span> tf
<span class="keyword">from</span> tensorflow <span class="keyword">import</span> keras
<span class="keyword">from</span> tensorflow.keras <span class="keyword">import</span> layers
np.random.seed(42)
<span class="comment"># Create hourly data for a week</span>
hours = np.arange(0, 24 * 7)
profits = np.random.rand(len(hours)) * 100
<span class="comment"># Create a DataFrame</span>
data = pd.DataFrame({
<span class="string">'hour'</span>: hours,
<span class="string">'profit'</span>: profits
})
X = data['hour'].values.reshape(-1, 1)
y = data['profit'].values
<span class="comment"># Build the model</span>
model = keras.Sequential([
layers.Dense(64, activation='relu', input_shape=(1,)),
layers.Dense(64, activation='relu'),
layers.Dense(1)
])
<span class="comment"># Compile the model</span>
model.compile(optimizer='adam', loss='mean_squared_error')
<span class="comment"># Train the model</span>
model.fit(X, y, epochs=100, verbose=1)
<span class="comment"># Save the model</span>
model.save(<span class="string">'profits_model.h5'</span>)
</code></pre>
</section>
<!-- Reviews Section -->
<section id="reviews" class="reviews-section">
<h2>What Our Users Say</h2>
<div class="review">
<h3>John Doe</h3>
<p>"Artificial is simply amazing! It makes AI model testing so intuitive."</p>
</div>
<div class="review">
<h3>Jane Smith</h3>
<p>"I can now build and deploy AI models faster than ever. Highly recommend Artificial!"</p>
</div>
<div class="review">
<h3>Michael Lee</h3>
<p>"Artificial has completely transformed how we experiment with AI in our lab. Great platform!"</p>
</div>
</section>
<br><br><br><br><br>
<!-- Footer -->
<footer class="footer">
<p>© 2024 Artificial. All Rights Reserved.</p>
</footer>
<script src="/static/js/scripts.js"></script>
</body>
</html>
Also directory enumeration
htb/machine/artificial
-> feroxbuster -u <http://artificial.htb/> -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt
___ ___ __ __ __ __ __ ___
|__ |__ |__) |__) | / ` / \\ \\_/ | | \\ |__
| |___ | \\ | \\ | \\__, \\__/ / \\ | |__/ |___
by Ben "epi" Risher π€ ver: 2.13.0
ββββββββββββββββββββββββββββ¬ββββββββββββββββββββββ
π― Target Url β <http://artificial.htb/>
π© In-Scope Url β artificial.htb
π Threads β 50
π Wordlist β /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt
π Status Codes β All Status Codes!
π₯ Timeout (secs) β 7
𦑠User-Agent β feroxbuster/2.13.0
π Extract Links β true
π HTTP methods β [GET]
π Recursion Depth β 4
ββββββββββββββββββββββββββββ΄ββββββββββββββββββββββ
π Press [ENTER] to use the Scan Management Menuβ’
ββββββββββββββββββββββββββββββββββββββββββββββββββ
404 GET 5l 31w 207c Auto-filtering found 404-like response and created new filter; toggle off with --dont-filter
200 GET 28l 60w 857c <http://artificial.htb/login>
200 GET 33l 65w 952c <http://artificial.htb/register>
200 GET 33l 73w 999c <http://artificial.htb/static/js/scripts.js>
200 GET 313l 666w 6610c <http://artificial.htb/static/css/styles.css>
200 GET 161l 472w 5442c <http://artificial.htb/>
[>-------------------] - 9s 971/220553 41m found:5 errors:0
[>-------------------] - 10s 1025/220553 41m found:5 errors:0 302 GET 5l 22w 189c <http://artificial.htb/logout> => <http://artificial.htb/> 302 GET 5l 22w 199c <http://artificial.htb/dashboard> => <http://artificial.htb/login>
[##>-----------------] - 3m 24052/220553 27m found:7 errors:0
[##>-----------------] - 3m 24037/220546 141/s <http://artificial.htb/>
Nothing interesting other than register and login so i gotta register and look into it
