Small tweaks

This commit is contained in:
raul 2024-06-10 11:35:09 +02:00
parent 0d0ba1618f
commit cd655b4ecc
3 changed files with 15 additions and 11 deletions

View File

@ -2,7 +2,7 @@
<html lang="en">
<head>
<title>Tiamat Dashboard</title>
<title>Tiamat | Executing {{ .Client.ClientBasicInfo.Hostname }}</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="/style.css" rel="stylesheet">
@ -29,7 +29,6 @@
</b>
<hr>
<h2 align=center>Executing commands for {{ .Client.ClientBasicInfo.Hostname }}</h2>
<hr>
<div id=command>
</div>
<br>

View File

@ -2,7 +2,7 @@
<html lang="en">
<head>
<title>Tiamat Dashboard</title>
<title>Tiamat | Dashboard</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="/style.css" rel="stylesheet">
@ -29,17 +29,18 @@
</b>
<hr>
<h2 align=center>Current clients</h2>
<hr>
{{ range .Clients }}
<table border=1>
<tr>
<td>ID</td>
<td>Status</td>
<td>Remote IP</td>
<td>Local IP</td>
<td>Username</td>
<td>Hostname</td>
<td>Operating System</td>
<td id="bold">ID</td>
<td id="bold">Status</td>
<td id="bold">Remote IP</td>
<td id="bold">Local IP</td>
<td id="bold">Username</td>
<td id="bold">Hostname</td>
<td id="bold">Operating System</td>
<td rowspan=2>
<a target="_blank" href="command/{{ .ClientID }}"><b>CMD</b></a>
</td>

View File

@ -36,6 +36,10 @@ td {
padding: 5px;
}
td#bold {
font-weight: bold;
}
on {
color: green;
font-weight: 500;
@ -140,7 +144,7 @@ footer {
div#command {
width: 100%;
height: 50%;
height: 60%;
border: 2px solid black;
overflow: scroll;
padding-bottom: 30px;