metasploitable3/scripts/installs/install_flags.bat

39 lines
1.7 KiB
Batchfile
Raw Normal View History

2016-09-16 18:01:57 +02:00
copy C:\vagrant\resources\flags\six_of_diamonds.zip C:\inetpub\wwwroot
2016-09-22 20:21:30 +02:00
copy C:\vagrant\resources\flags\jack_of_clubs.png C:\WINDOWS\System32\jack_of_clubs.png
attrib +h "C:\WINDOWS\System32\jack_of_clubs.png"
2016-09-22 20:21:30 +02:00
cacls "C:\WINDOWS\System32\jack_of_clubs.png" /t /e /g SYSTEM:f
cacls "C:\WINDOWS\System32\jack_of_clubs.png" /R Administrators /E
cacls "C:\WINDOWS\System32\jack_of_clubs.png" /R Users /E
2016-09-16 18:01:57 +02:00
2016-09-21 23:29:25 +02:00
copy C:\vagrant\resources\flags\three_of_spades.png C:\Windows
attrib +h "C:\Windows\three_of_spades.png"
2016-09-21 23:29:25 +02:00
cacls "C:\Windows\three_of_spades.png" /t /e /g SYSTEM:f
cacls "C:\Windows\three_of_spades.png" /R Administrators /E
cacls "C:\Windows\three_of_spades.png" /R USERS /E
2016-12-03 10:43:24 +01:00
copy C:\vagrant\resources\flags\kingofclubs.exe C:\Windows\System32
2016-09-21 23:29:25 +02:00
copy C:\vagrant\resources\flags\four_of_clubs.wav C:\Users\Public\Music
2016-09-16 18:01:57 +02:00
copy C:\vagrant\resources\flags\joker.html C:\inetpub\wwwroot\index.html
copy C:\vagrant\resources\flags\hahaha.jpg C:\inetpub\wwwroot
2016-09-21 23:29:25 +02:00
del C:\inetpub\wwwroot\iisstart.htm
2016-12-16 16:45:15 +01:00
copy C:\vagrant\resources\flags\seven_of_hearts.html C:\inetpub\wwwroot
2016-12-05 10:07:37 +01:00
2016-09-21 23:29:25 +02:00
copy C:\vagrant\resources\flags\jack_of_hearts.docx C:\Users\Public\Documents
2016-09-22 20:21:30 +02:00
copy C:\vagrant\resources\flags\seven_of_spades.pdf C:\Users\Public\Documents
2016-09-23 18:54:07 +02:00
copy C:\vagrant\resources\flags\ace_of_hearts.jpg C:\Users\Public\Pictures
2016-11-04 22:38:11 +01:00
copy C:\vagrant\resources\flags\ten_of_diamonds.png C:\Users\Public\Pictures
2016-09-21 23:29:25 +02:00
cd C:\
type C:\vagrant\resources\flags\jack_of_diamonds.b64 > jack_of_diamonds.png:jack_of_diamonds.txt
2016-09-21 23:29:25 +02:00
2016-10-19 00:50:36 +02:00
cmd /c ""C:\wamp\bin\mysql\mysql5.5.20\bin\mysql.exe" -u root --password="" -e "create database cards;""
cmd /c ""C:\wamp\bin\mysql\mysql5.5.20\bin\mysql.exe" -u root --password="" cards < "C:\Vagrant\resources\flags\queen_of_hearts.sql""
2016-11-04 22:38:11 +01:00