MCPcopy Create free account
hub / github.com/SKVNDR/FastDork / removeDuplicatePayloads

Function removeDuplicatePayloads

Script/FastDork.js:1414–1422  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1412 updatePayloadLineCount();
1413 }
1414 function removeDuplicatePayloads() {
1415 if (!UI.payloadInput || typeof UI.payloadInput.value !== "string") return;
1416 const lines = UI.payloadInput.value.split("\n");
1417 const uniqueLines = [
1418 ...new Set(lines.filter((line) => line.trim() !== "")),
1419 ];
1420 UI.payloadInput.value = uniqueLines.join("\n");
1421 updatePayloadLineCount();
1422 }
1423 async function saveDorkListContent() {
1424 if (!UI.listTab2 || !UI.payloadInput) return false;
1425 const selectedOption = UI.listTab2.options[UI.listTab2.selectedIndex];

Callers 3

saveDorkListContentFunction · 0.85
pasteFromClipboardFunction · 0.85
handleExtractJsEndpointsFunction · 0.85

Calls 1

updatePayloadLineCountFunction · 0.85

Tested by

no test coverage detected