This commit is contained in:
2026-09-14 18:34:37 +08:00
parent d9a4384585
commit d53de922db
8 changed files with 525 additions and 11 deletions
@@ -262,7 +262,7 @@ async function verifyWarehouseQueries(context, token, inboundCode, pallet, desti
: null
}
async function uploadPhotos(context, token) {
export async function uploadPhotos(context, token) {
const malicious = await context.requestOverseasMultipart('POST', '/api/pda/v1/last-leg/receiving-containers/current/unload-photos/files', {
name: `${context.marker}-forged.png`, type: 'image/png', content: Uint8Array.from(Buffer.from('<script>alert(1)</script>')),
}, token)