MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / setManualAttackStatus

Function setManualAttackStatus

web/scripts/ragnar_modern.js:11166–11181  ·  view source on GitHub ↗
(message, type = 'info')

Source from the content-addressed store, hash-verified

11164
11165 if (!tableBody) return;
11166
11167 tableBody.innerHTML = '';
11168
11169 if (!data.hosts || Object.keys(data.hosts).length === 0) {
11170 tableBody.innerHTML = `
11171 <tr>
11172 <td colspan="8" class="text-center py-8 text-gray-400">
11173 No hosts discovered. Check network connectivity and try again.
11174 </td>
11175 </tr>
11176 `;
11177 if (hostCountSpan) hostCountSpan.textContent = '0 hosts';
11178 return;
11179 }
11180
11181 // Convert hosts object to array for easier processing
11182 const hostArray = Object.values(data.hosts);
11183
11184 // Use DocumentFragment for better performance

Callers 2

handleManualAttackUpdateFunction · 0.70
executeManualAttackFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected