Mysql/MariaDB/phpmyadmin/nmap

Status
This thread has been locked.

Spoofing

QBOT G0D
Banned
Feedback score
0
Posts
335
Reactions
182
Resources
0
Tired of having to pay people to setup the dependencies and utils for your MC server?
No need anymore! I've setup a fully automatic installation script for mysql/mariadb/phpmyadmin/ and of course a port scanner!

This script is 100% FREE!

Whats It Does?
  • Update phpmyadmin to 4.6.3
  • Install latest version of MySQL
  • Nmap scans all possible ports UDP/TCP Scan
  • IPtables auto Setup with port 3306 open

Next Update
  • Complete Configuration with OS /Centos/Ubuntu/
  • Auto Utilities Update
Download
Code:
#!/bin/bash
/*
        AutoInstaller For MySQL/MariaDB/PhPMyadmin/nmap
        This Script is FREE By: Boatnet
        XMPP: [email protected]
        *Update* Added a port scanner for security :)
*/

/*
                      *** phpd.sh ***
     #  ___        _          _____          _        _ _          
     # / _ \      | |        |_   _|        | |      | | |        
     #/ /_\ \_   _| |_ ___     | | _ __  ___| |_ __ _| | | ___ _ __
     #|  _  | | | | __/ _ \    | || '_ \/ __| __/ _` | | |/ _ \ '__|
     #| | | | |_| | || (_) |  _| || | | \__ \ || (_| | | |  __/ |  
     #\_| |_/\__,_|\__\___/   \___/_| |_|___/\__\__,_|_|_|\___|_|  
                                                          
                      *** phpd.sh ***
*/

#User : root      
if [ $USER != 'root' ]
then
echo "REQUIRES ROOT"
exit 0
fi

#Server IP
yum install wget -y
IP=$(wget -qO- ifconfig.me/ip)

#Server OS Version and Architecture
read -p "What version of Centos are you Running? [5,6]?" VERSION
echo $VERSION
ARCH=$(uname -m | sed 's/x86_//;s/i[3-6]86/32/')

#Server Utlis
yum install wget perl gcc make nano unzip tar httpd ftpd php php-mysql -y
echo -e "\x1b[31mInstalled wget, perl, gcc, make, nano, unzip, tar, httpd, ftpd"
sleep 3

#Server Update
yum update -y
echo -e "\x1b[31mUpdated System, Ready to go!"
sleep 3

#Mysql Install
yum install mysql mariadb -y
/sbin/service mysqld start
echo -e "\x1b[31mMysql/mariaDB updated and installed!"
sleep 3

#Start Mysql
/usr/bin/mysql_secure_installation

#MariaDB Install
yum install mariadb -y
wget https://downloads.mariadb.org/interstitial/mariadb-10.1.16/source/mariadb-10.1.16.tar.gz/from/http%3A//ftp.osuosl.org/pub/mariadb/
tar -xvvf *

#Phpmyadmin Install
yum install phpmyadmin -y
wget https://files.phpmyadmin.net/phpMyAdmin/4.6.3/phpMyAdmin-4.6.3-all-languages.tar.gz
tar -xvvf *
service httpd restart
echo -e "\x1b[31mPhpmyadmin installed! Latest verion!"
sleep 3

#Install IPtables
yum install iptables -y

#Configure Iptables
iptables -I INPUT -p tcp --dport 3306 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -I OUTPUT -p tcp --sport 3306 -m state --state ESTABLISHED -j ACCEPT
service iptables save

#Launch MySQL
/sbin/service mysqld start
chkconfig mysqld on

#Nmap Scan
nmap -sS -sV -p- -A $ -v -o portScanTCP.txt
nmap -sU -sV -p- -A $ -v -o portScanUDP.txt
echo -e "\x1b[31m Do nano portScan.txt"

#Enter MySQL
/usr/bin/mysql -u root -p

Donate: BTC | 1CFBrLEYLU3aneJhtaKu4pjMd19DRJhQnv
Donate: CakeCoin | CLnbmdALBDLPwHnuNKKRxrSC1r2W3MUkyZ
XMPP [email protected]
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Spoofing

QBOT G0D
Banned
Feedback score
0
Posts
335
Reactions
182
Resources
0
Skeeet
 
Banned forever. Reason: Doxing and sharing personal information

Ajdin

I used to be a big deal on here but now irrelevant
Supreme
Feedback score
12
Posts
2,419
Reactions
3,404
Resources
0
A lot of distro's don't have MariaDB added to their repo by default. Make it do that or get it via RPM.

Also add some sort of debugging for every task in case anything goes wrong. If I ran this on a Amazon server nothing would be installed due to it's restrictive OS's.
 

Spoofing

QBOT G0D
Banned
Feedback score
0
Posts
335
Reactions
182
Resources
0
A lot of distro's don't have MariaDB added to their repo by default. Make it do that or get it via RPM.

Also add some sort of debugging for every task in case anything goes wrong. If I ran this on a Amazon server nothing would be installed due to it's restrictive OS's.
Will do!
 
Banned forever. Reason: Doxing and sharing personal information
Status
This thread has been locked.
Top