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

Function updateNucleiTemplates

web/scripts/ragnar_modern.js:19498–19516  ·  view source on GitHub ↗
(force = false)

Source from the content-addressed store, hash-verified

19496 actionDropdown.value = previousSelection;
19497 } else {
19498 actionDropdown.value = '';
19499 window.manualActionPreference = '';
19500 }
19501
19502 if (actionDropdown.value) {
19503 window.manualActionPreference = actionDropdown.value;
19504 setManualActionHelper(`${actionDropdown.options[actionDropdown.selectedIndex].text} ready for port ${selectedPort}.`, 'success');
19505 } else {
19506 setManualActionHelper(`Found ${validActions.length} compatible ${validActions.length === 1 ? 'action' : 'actions'} on port ${selectedPort}. Choose one to proceed.`, 'success');
19507 }
19508}
19509
19510const MANUAL_ATTACK_LOG_LIMIT = 40;
19511
19512function setManualAttackStatus(message, type = 'info') {
19513 const statusWrap = document.getElementById('manual-attack-status');
19514 const statusMessage = document.getElementById('manual-attack-status-message');
19515 if (!statusWrap || !statusMessage) return;
19516
19517 const styles = {
19518 success: 'border-green-500/40 bg-green-900/30 text-green-200',
19519 error: 'border-red-500/50 bg-red-900/40 text-red-200',

Callers 1

updateNucleiCardStatusFunction · 0.70

Calls 2

errorMethod · 0.80
showNotificationFunction · 0.70

Tested by

no test coverage detected