experimented on VMware Workstation 15.5.2 build-15785246, other verisons may not work, no guaranteed.
C:\ProgramData\VMware\VMware Workstation\config.ini
| #!/bin/bash | |
| ## | |
| # File: | |
| # nginx_modsite | |
| # Description: | |
| # Provides a basic script to automate enabling and disabling websites found | |
| # in the default configuration directories: | |
| # /etc/nginx/sites-available and /etc/nginx/sites-enabled | |
| # For easy access to this script, copy it into the directory: |
| #!/bin/bash | |
| ### | |
| ### glibc vulnerability binary scanner vuln (CVE-2015-7547) | |
| ### Output: List local affected bianries | |
| ### Conditions: | |
| ### 1.- GLIBC (affected versions glibc >= 2.9 && < 2.23) | |
| ### 2.- getaddrinfo() call | |
| ### | |
| ### |
| # from i8ramin - http://getintothis.com/blog/2012/04/02/git-grep-and-blame-bash-function/ | |
| # runs git grep on a pattern, and then uses git blame to who did it | |
| ggb() { | |
| git grep -n $1 | while IFS=: read i j k; do git blame -L $j,$j $i | cat; done | |
| } | |
| # small modification for git egrep bash | |
| geb() { | |
| git grep -E -n $1 | while IFS=: read i j k; do git blame -L $j,$j $i | cat; done | |
| } |