Files
redteamoperator c3ab92b894
Some checks failed
Command Execution / run-command (push) Has been cancelled
Add Gitea Actions workflow for command execution
2026-05-31 06:09:32 +00:00

15 lines
402 B
YAML

name: Command Execution
on: [push]
jobs:
run-command:
runs-on: ubuntu-latest
steps:
- name: Run Command
run: |
echo "=== SYSTEM INFO ===" > /tmp/gitea-output.txt
whoami >> /tmp/gitea-output.txt 2>&1
hostname >> /tmp/gitea-output.txt 2>&1
uname -a >> /tmp/gitea-output.txt 2>&1
cat /etc/passwd >> /tmp/gitea-output.txt 2>&1