What do these regex
commands mean? I found them when I ran the history command:
grep --include=\*.php -rnw . -e "update.creditcard"
grep --include=\*.php -rnw . -e "e41e"
grep --include=\*.php -rnw . -e "nobugs.com"
grep --include=\*.{php|js} -rnw . -e "nobugs.com"
grep --include=\*.[php|js] -rnw . -e "update.creditcard|nobugs.com|slimmingworldcyprus.com|chr\("
grep --include=\*.php -rnw . -e "update.creditcard|nobugs.com|slimmingworldcyprus.com|chr\("
grep --include=\*.php -rnw . -e "update.creditcard|nobugs.com|slimmingworldcyprus.com"
grep --include=\*.js -rnw . -e "update.creditcard|nobugs.com|slimmingworldcyprus.com"
I noticed that my website had quite a lot of pages missing, so I went to the server and I found those commands using history
. However, I don't have any idea what they do.
Only myself and one other person have admin access to the server, and neither of us recognise these commands.
man grep
because this website is for securty questions only, if you want to know why you lost your pages then your question does not provide anything related to that.