Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Technical payload with cmd and if statement does not work #2000

Closed
MarineLeM opened this issue Dec 5, 2024 · 0 comments · Fixed by #2002
Closed

Technical payload with cmd and if statement does not work #2000

MarineLeM opened this issue Dec 5, 2024 · 0 comments · Fixed by #2002
Assignees
Labels
bug use for describing something not working as expected solved The issue has been solved

Comments

@MarineLeM
Copy link
Contributor

MarineLeM commented Dec 5, 2024

Description

The command with if statement for cmd does not work

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Create a payload for windows
  2. 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
)
  1. 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

@MarineLeM 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
@MarineLeM MarineLeM self-assigned this Dec 5, 2024
@EllynBsc EllynBsc removed the needs triage use to identify issue needing triage from Filigran Product team label Dec 5, 2024
@EllynBsc EllynBsc added this to the Release 1.10.0 milestone Dec 5, 2024
@MarineLeM MarineLeM linked a pull request Dec 5, 2024 that will close this issue
@MarineLeM MarineLeM added the filigran team use to identify PR from the Filigran team label Dec 5, 2024
@RomuDeuxfois RomuDeuxfois removed the filigran team use to identify PR from the Filigran team label Dec 10, 2024
MarineLeM added a commit that referenced this issue Jan 2, 2025
@MarineLeM MarineLeM added solved The issue has been solved filigran team use to identify PR from the Filigran team labels Jan 2, 2025
@RomuDeuxfois RomuDeuxfois removed the filigran team use to identify PR from the Filigran team label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug use for describing something not working as expected solved The issue has been solved
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants