15 lines
478 B
Bash
15 lines
478 B
Bash
ls -la
|
|
sudo mysql -u root -ptoor newploit
|
|
cat /etc/passwd
|
|
vi /var/www/html/.env
|
|
curl -u admin:admin123 http://localhost/api/auth.php
|
|
ssh dev@insecure.newploit.com
|
|
export AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
|
|
export AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
|
|
aws s3 sync ./ s3://newploit-backups/
|
|
mysqldump -u root -ptoor newploit > backup.sql
|
|
zip -r backup.zip www/
|
|
scp backup.tar.gz dev@insecure.newploit.com:/var/www/html/
|
|
git push origin main
|
|
history -c
|