Zhuowei Zhang @zhuowei
Finally, a unified Linux package manager:
${jndi:ldap://apt-get.debian.org/install/gcc}
Zhuowei Zhang @zhuowei
Finally, a unified Linux package manager:
${jndi:ldap://apt-get.debian.org/install/gcc}
| #!/bin/env bash | |
| echo "checking for log4j vulnerability..."; | |
| OUTPUT="$(locate log4j|grep -v log4js)" | |
| if [ "$OUTPUT" ]; then | |
| echo "[WARNING] maybe vulnerable, those files contain the name:"; | |
| echo "$OUTPUT" | |
| fi; | |
| OUTPUT="$(dpkg -l|grep log4j|grep -v log4js)" | |
| if [ "$OUTPUT" ]; then |
-Dlog4j2.formatMsgNoLookups=true
for https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44228
| To change default branch name from master to main, go to settings of repo, branches tab. | |
| Branch will be renamed and each user revisiting site will get a popup of cmdline commands to run to fix the repo locally. | |
| # | |
| # you are now DONE with fixing an existing repo | |
| # | |
| ################################################################### | |
| # thanks to orig post here: https://medium.com/dataseries/how-to-make-your-git-repos-default-to-main-instead-of-master-28b7a9d3d631 |