Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.42 KB

readme.md

File metadata and controls

29 lines (21 loc) · 1.42 KB

Powerful

stars twitter email me

Powerful is a demo showing how to maintain persistency on Power Platform by installing an automation factory that creates, executes and deletes arbitrary commands.

Power Pwn

Disclaimer: these materials are presented from an attacker’s perspective with the goal of raising awareness to the risks of underestimating the security impact of No Code/Low Code. No Code/Low Code is awesome.

Usage

from powerful.cli import FlowFactory, EXAMPLE
POST_URL = ""
factory = FlowFactory(post_url=POST_URL)

flow = factory.create_flow(
    environment_id=EXAMPLE["environment"], 
    flow_display_name=EXAMPLE["flowDisplayName"], 
    flow_definition=EXAMPLE["flowDefinition"], 
    flow_state=EXAMPLE["flowState"], 
    connection_references=EXAMPLE["connectionReferences"]
)

factory.delete_flow(environment_id=EXAMPLE["environment"], flow_id=flow["name"])