-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmoveFiles.sh
36 lines (26 loc) · 1.04 KB
/
moveFiles.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
echo "Deleting old files..."
rm -r /var/www/html/PiXploitHost/*
echo "Moving exploit files..."
mv ./xvortex-ftp-455/exploit/*.* ./PiXploitHost/ps4/exploits/455/xvortex-ftp/
mv ./xvortex-hen-455/exploit/*.* ./PiXploitHost/ps4/exploits/455/xvortex-hen/
mv ./xvortex-hen-455-v1/exploit/*.* ./PiXploitHost/ps4/exploits/455/xvortex-hen-v1/
mv ./specter-455/*.* ./PiXploitHost/ps4/exploits/455/specter/
mv ./xvortex-dumper-505/exploit/*.* ./PiXploitHost/ps4/exploits/505/xvortex-dumper/
mv ./xvortex-ftp-505/exploit/*.* ./PiXploitHost/ps4/exploits/505/xvortex-ftp/
mv ./xvortex-hen-505/exploit/*.* ./PiXploitHost/ps4/exploits/505/xvortex-hen/
mv ./mira-hen/*.* ./PiXploitHost/ps4/exploits/505/mira-hen/
echo "Cleaning up..."
rm -rf ./xvortex-ftp-455/
rm -rf ./xvortex-hen-455/
rm -rf ./xvortex-hen-455-v1/
rm -rf ./specter-455/
rm -rf ./xvortex-dumper-505/
rm -rf ./xvortex-ftp-505/
rm -rf ./xvortex-hen-505/
rm -rf ./mira-hen/
echo "Self deleting..."
rm moveFiles.sh
echo "Moving files to web server document root..."
mv ./* /var/www/html/
echo "Done!"