You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command with if statement for cmd does not work
Reproducible Steps
Steps to create the smallest reproducible scenario:
Create a payload for windows
add a command with a if statement on multiline, the executor must be cmd
for example :
if exist "C:\Users\Tom\Pictures\img.png" (
echo File exists
) else (
echo File does not exist
)
Create an inject with this payload and launch it
Expected Output
The command works
Actual Output
The command does not work
Additional information
The problem come from how we handle multilines for cmd
The text was updated successfully, but these errors were encountered:
MarineLeM
added
bug
use for describing something not working as expected
needs triage
use to identify issue needing triage from Filigran Product team
labels
Dec 5, 2024
Description
The command with if statement for cmd does not work
Reproducible Steps
Steps to create the smallest reproducible scenario:
cmd
for example :
Expected Output
The command works
Actual Output
The command does not work
Additional information
The problem come from how we handle multilines for cmd
The text was updated successfully, but these errors were encountered: