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
find . -type f -exec chmod 644 {} \; | |
find . -type d -exec chmod 755 {} \; | |
find var pub/static pub/media generated/ app/etc -type f -exec chmod g+w {} \; | |
find var pub/static pub/media generated/ app/etc -type d -exec chmod g+ws {} \; | |
chown -R :<web server group> . | |
chmod u+x bin/magento |
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
Execute the below in console while your at the fields selection screen in the Mage 2 export module. This will check all to be excluded, and once run you can untick the fields you do want to export. | |
jQuery('[name="skip_attr[]"]').click() |
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
3) Search for newly created files in your hosting account | |
If you have multiple sites residing in the same account, you better search the whole account instead just your hacked website directory. | |
You could try searching with find for files added in the last few days: | |
# This will search for files modified in the last 3 days. | |
find . -type f -mtime +3 | |
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
<div id="loader" class="loader"> | |
<h1 id="codeit"></h1> | |
</div> |
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
# Disallow Ahref | |
User-agent: AhrefsBot | |
Disallow: / | |
User-agent: AhrefsSiteAudit | |
Disallow: / | |
# Block MJ12bot as it is just noise | |
User-agent: MJ12bot |
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
wget https://files.magerun.net/n98-magerun2.phar |
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
https://rivcofm.org/Shortcodes/Shortcodes-3/call-to-action | |
https://rivcofm.org/Shortcodes/Shortcodes-3/Type-Writer | |
https://rivcofm.org/Shortcodes/Shortcodes-3/tooltips-popovers | |
https://rivcofm.org/Shortcodes/Shortcodes-4/Forms | |
https://rivcofm.org/Shortcodes/Shortcodes-2/lists | |
https://rivcofm.org/Shortcodes/Shortcodes-1/modals | |
https://rivcofm.org/Shortcodes/Shortcodes-1/Lightbox | |
https://rivcofm.org/Shortcodes/Shortcodes-4/maps | |
https://rivcofm.org/Shortcodes/Shortcodes-2/buttons | |
https://rivcofm.org/Shortcodes/Shortcodes-2/Image-Gallery |
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
https://github.com/magento/composer-root-update-plugin/blob/develop/src/Magento/ComposerRootUpdatePlugin/README.md | |
composer require magento/composer-root-update-plugin ~2.0 --no-update | |
composer require magento/composer-root-update-plugin ~1.1 --no-update |
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
$ composer global require hirak/prestissimo |
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
wget https://getcomposer.org/composer-1.phar | |
chmod a+x composer-1.phar | |
sudo mv composer-1.phar /usr/local/bin/composer1 | |
And use composer1 on old projects: | |
cd <OLD-PROJECT> | |
composer1 install |