Tips Linux

Linux, DevOps and Security

Tag: shell

Elegant way to pass arguments to a bash script


When I started to write bash scripts, I found that it was really convenient to use the basic way to pass arguments with $1 $2 and so on.

Continue reading

Reverse shell on firewalled server

Sometimes, it may be useful to keep a connection to a server (let’s call it SERVER_1) that is not reachable from the internet because of iptables ingress rules or simply because it doesn’t have a public IP.  You can reach it from another server (let’s name it SERVER_2) that is accessible.

Continue reading

© 2019 Tips Linux

Theme by Anders NorenUp ↑