Skip to content

Commit

Permalink
perf: optimize ssrf scenario code
Browse files Browse the repository at this point in the history
  • Loading branch information
teamssix committed May 7, 2022
1 parent a0c614c commit 7d5a620
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aliyun/elastic_computing_service/ecs_ssrf/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ sudo sed -i 's/Listen 80/Listen 8080/' /etc/apache2/ports.conf
sudo /etc/init.d/apache2 restart
cd /var/www/html
sudo apt-get -y install wget
sudo wget https://ghproxy.com/raw.githubusercontent.com/HuoCorp/TerraformGoat/main/aws/elastic_computing_service/ec2_ssrf/ssrf-lab.zip
sudo wget https://huocorp-oss.oss-cn-beijing.aliyuncs.com/terraform-goat-dependency-files/ssrf-lab.zip
sudo apt-get -y install unzip
sudo unzip ssrf-lab.zip
sudo mv ./ssrf-lab/static/flag69152201.txt /
Expand Down
2 changes: 1 addition & 1 deletion aws/elastic_computing_service/ec2_ssrf/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sudo sed -i 's/Listen 80/Listen 8080/' /etc/apache2/ports.conf
sudo /etc/init.d/apache2 restart
cd /var/www/html
sudo apt-get -y install wget
sudo wget https://raw.githubusercontent.com/HuoCorp/TerraformGoat/main/aws/elastic_computing_service/ec2_ssrf/ssrf-lab.zip
sudo wget https://huocorp-oss.oss-cn-beijing.aliyuncs.com/terraform-goat-dependency-files/ssrf-lab.zip
sudo apt-get -y install unzip
sudo unzip ssrf-lab.zip
sudo mv ./ssrf-lab/static/flag69152201.txt /
Expand Down
Binary file removed aws/elastic_computing_service/ec2_ssrf/ssrf-lab.zip
Binary file not shown.

0 comments on commit 7d5a620

Please sign in to comment.