How to interactively debug GitHub Actions with netcat
18 days ago
- #Reverse Shell
- #Debugging
- #GitHub Actions
- Introduction to using tmate for interactive debugging in GitHub Actions workflows.
- Original method involved setting up reverse shells with netcat and ngrok for debugging.
- Explanation of reverse shells: connecting out to a remote machine to forward a shell.
- Steps to catch a shell using netcat and forward ports with ngrok.
- Configuring GitHub Actions to throw a reverse shell using secrets for host and port.
- Demonstration of interactive shell usage on GitHub Actions runner for debugging.
- Limitations mentioned, such as issues with control commands and pseudo-TTY requirements.
- Example commands run in the shell to explore the runner's system and debug CI steps.