Get the latest tech news
How to interactively debug GitHub Actions with netcat
Update: This was a fun experiment and I recommend you check out the post for a fun read on setting up reverse shells. But I’ve since discovered this awesome tmate action which lets you interactively debug in the browser or via SSH.
This technique is commonly used in the security community to open backdoors in compromised systems, but is also extremely useful for debugging on a restricted environment such as a CI worker. For a bit of interactive debugging on open source projects on GitHub this is fine, but this shouldn’t be used for sensitive information or long term solutions. Ngrok is a service which allows you to expose ports on your local machine to the internet, for the purposes of developing and testing software.
Or read this on Hacker News