Skip to content

🚨 [BUG] - nil thrown in superuser output #489

@l50

Description

@l50

What happened?

  1. Run this ttp: https://github.com/facebookincubator/ForgeArmory/blob/main/ttps/privilege-escalation/linux/suid-binary-escalation/suid-binary-escalation.yaml

  2. Observe output:

    INFO    RUNNING TTP: suid-binary-escalation
    INFO    ========================================
    INFO    CLEANING UP 0 steps of TTP: "suid-binary-escalation"
    INFO    ----------------------------------------
    INFO    Finished Cleanup Successfully ✅
    ERROR   failed to run command:
         failed to run TTP at /home/jaysong/.ttpforge/repos/forgearmory/ttps/privilege-escalation/suid-binary-escalation/suid- 
    binary-escalation.yaml: <nil>

Any suggestions for fixing this bug?

Ideally this is at most a string interpolation issue. Otherwise, it could be a bug somewhere leading up to the sink (provided output).

Relevant log output

Log output provided in **What happened?**

Details about your environment

Running on latest centos (x86_64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions