Files
Cursor Agent 28e24e3cbe feat: auto-remove uploaded file after execution (upload+execute mode)
When --upload is combined with --exec/--command, the uploaded file is
automatically deleted from the remote filesystem after execution completes.
This supports the upload-execute-cleanup workflow (e.g., upload a.bat,
execute cmd.exe /c a.bat, then delete a.bat — safe because cmd.exe
already loaded the script).

Upload-only mode (--upload without --exec) does NOT delete the file.

- Add UploadRemover optional interface in io.go
- Add RemoveUploadedFile method on FileStager (deletes via SMB)
- In ExecuteCleanMethod, call RemoveUploadedFile after execution if both
  upload and execution were performed

Co-authored-by: Carter <carter-falconops@users.noreply.github.com>
2026-03-04 17:02:33 +00:00
..
2025-09-08 19:16:39 -05:00
2025-10-01 13:36:44 -05:00
2025-07-12 15:24:02 -05:00
2025-07-12 15:24:02 -05:00
2025-07-12 15:24:02 -05:00
2025-04-16 12:11:58 -05:00
2025-04-20 05:16:35 -05:00
2025-04-16 12:11:58 -05:00
2025-09-12 10:18:38 -05:00
2025-04-20 05:16:35 -05:00
2025-04-16 12:11:58 -05:00