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

Function removeEmptyPayloadLines

Script/FastDork.js:1406–1413  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1404 updatePayloadLineCount();
1405 }
1406 function removeEmptyPayloadLines() {
1407 if (!UI.payloadInput || typeof UI.payloadInput.value !== "string") return;
1408 UI.payloadInput.value = UI.payloadInput.value
1409 .split("\n")
1410 .filter((line) => line.trim() !== "")
1411 .join("\n");
1412 updatePayloadLineCount();
1413 }
1414 function removeDuplicatePayloads() {
1415 if (!UI.payloadInput || typeof UI.payloadInput.value !== "string") return;
1416 const lines = UI.payloadInput.value.split("\n");

Callers 3

saveDorkListContentFunction · 0.85
pasteFromClipboardFunction · 0.85
handleExtractJsEndpointsFunction · 0.85

Calls 1

updatePayloadLineCountFunction · 0.85

Tested by

no test coverage detected