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

Function researchEntry

web/scripts/ragnar_modern.js:14304–14318  ·  view source on GitHub ↗
(entry)

Source from the content-addressed store, hash-verified

14302}
14303
14304function formatPwnModeLabel(mode) {
14305 return mode === 'pwnagotchi' ? 'Pwnagotchi' : 'Ragnar';
14306}
14307
14308function formatPwnPhaseLabel(phase) {
14309 if (!phase) {
14310 return 'Idle';
14311 }
14312 return phase.replace(/_/g, ' ').replace(/\b\w/g, char => char.toUpperCase());
14313}
14314
14315async function runPwnInstaller(kind) {
14316 // kind: 'install' | 'repair' | 'reinstall'
14317 if (pwnStatus.installing) {
14318 addConsoleMessage('Pwnagotchi installer already running', 'warning');
14319 return;
14320 }
14321

Callers 1

showNetkbEntryDetailFunction · 0.70

Calls 2

openMethod · 0.80
showNetkbInfoFunction · 0.70

Tested by

no test coverage detected