grepleaks 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/grepleaks.js +3 -0
- package/package.json +1 -1
package/bin/grepleaks.js
CHANGED
|
@@ -155,6 +155,9 @@ function submitScanJob(zipPath, apiKey) {
|
|
|
155
155
|
const fileContent = fs.readFileSync(zipPath);
|
|
156
156
|
|
|
157
157
|
const bodyParts = [
|
|
158
|
+
`--${boundary}\r\n`,
|
|
159
|
+
`Content-Disposition: form-data; name="source"\r\n\r\n`,
|
|
160
|
+
`terminal\r\n`,
|
|
158
161
|
`--${boundary}\r\n`,
|
|
159
162
|
`Content-Disposition: form-data; name="file"; filename="code.zip"\r\n`,
|
|
160
163
|
`Content-Type: application/zip\r\n\r\n`,
|