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

Function setFileSort

web/scripts/ragnar_modern.js:13196–13206  ·  view source on GitHub ↗
(sort)

Source from the content-addressed store, hash-verified

13194
13195function _showPwnConfigAlert(el, msg, type) {
13196 if (!el) return;
13197 el.classList.remove('hidden');
13198 el.textContent = msg;
13199 if (type === 'success') {
13200 el.className = 'mb-4 p-3 rounded-lg text-sm bg-green-900/40 text-green-300 border border-green-700';
13201 } else {
13202 el.className = 'mb-4 p-3 rounded-lg text-sm bg-red-900/40 text-red-300 border border-red-700';
13203 }
13204}
13205
13206function _pwnBadgesHTML(net) {
13207 let badges = '';
13208 if (net.has_handshake) {
13209 const types = (net.handshake_types || []).join(', ');

Callers

nothing calls this directly

Calls 1

refreshFilesFunction · 0.70

Tested by

no test coverage detected