Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- mkdir /root/phpmailer
- wget https://raw.githubusercontent.com/PHPMailer/PHPMailer/master/class.phpmailer.php -O /root/phpmailer/class.phpmailer.php
- wget https://raw.githubusercontent.com/PHPMailer/PHPMailer/master/class.smtp.php -O /root/phpmailer/class.smtp.php
- grep -rl --include \class.phpmailer.php --include \class-phpmailer.php 'Brent' /home > /root/phpmailer/list-class.phpmailer.txt
- grep -rl --include \class.smtp.php --include \class-smtp.php 'Brent' /home > /root/phpmailer/list-class.smtp.txt
- for i in `cat /root/phpmailer/list-class.phpmailer.txt`; do cp -ar $i $i.bak; cp /root/phpmailer/class.phpmailer.php $i; done
- for i in `cat /root/phpmailer/list-class.smtp.txt`; do cp -ar $i $i.bak; cp /root/phpmailer/class.smtp.php $i; done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement