This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # gpgedit lets you edit a gpg-encrypted file without much fuzz -- similar to | |
| # sudoedit. | |
| # | |
| # For this to achieve, gpgedit uses gpg to decrypt your file and save the | |
| # plain text in a temporary file under /dev/shm (tmpfs) which will open in | |
| # an editor. After the changes have been saved and the editor closed your | |
| # plain text will be encrypted and written to the original file. | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # To anyone worried about using servers that may not have attentive admins -- | |
| # put the following line(s) in your ~/.bashrc to help protect yourself: | |
| env x='() { :;}; echo "WARNING: SHELLSHOCK DETECTED"' \ | |
| bash --norc -c ':' 2>/dev/null; | |
| # It will print to stdout if and only if your shell is vulnerable, and nothing | |
| # will be printed if your shell has been patched. It will take a little longer | |
| # to launch a new shell slightly, but for some, this may be worth it. |