- Sun Feb 07, 2021 1:50 am
#828927
Added this code to a trigger:
Thanks for any ideas.
Code: Select all
Saved it. BAM. Whole machine (AWS ec2 instance) went unresponsive. No SSH. I can get the volume reattached to another instance launched from the same AMI, but I don't even have any idea where to start. Maybe there's a way I can get into the database and delete the trigger?<?php
$login = 'redacted';
$password = 'redacted';
$url = 'redacted';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($ch, CURLOPT_USERPWD, "$login:$password");
$result = curl_exec($ch);
curl_close($ch);
echo($result);
Thanks for any ideas.