For example this script is being ran on a VPS with the CentOS 7 operating system installed, I will also only be showing the basics of how to setup your VPS to run this script.
:Setting Up Your Freshly Obtained VPS With Said Operating System & Running The Scanner Script:
Run These Following Commands To Ensure Your CentOS 7 System Is Updated & Secure:
sudo yum update -y
sudo yum install epel-release -y
Install Required Tools:
sudo yum groupinstall "Development Tools" -y
sudo yum install -y gcc gcc-c++ make automake autoconf libtool
sudo yum install -y libpcap-devel pcre-devel zlib-devel openssl-devel
sudo yum install -y wget curl vim
Compile The Script:
gcc -o scanner scanner.c -lpthread -std=c99
Executing The Script:
chmod +x scannner
sudo ./scanner 1.0.0.0 255.255.255.255 list.txt 2 10
(Change The 2(Amount Of Threads) & 10(Delay in Milliseconds) Based On Your VPS Specs.)
You can also press "p" to pause & resume the scan, & press "q" to stop the scan.
:Script:
:Picture:
https://prnt.sc/u6ChLMba-O1T
:Setting Up Your Freshly Obtained VPS With Said Operating System & Running The Scanner Script:
Run These Following Commands To Ensure Your CentOS 7 System Is Updated & Secure:
sudo yum update -y
sudo yum install epel-release -y
Install Required Tools:
sudo yum groupinstall "Development Tools" -y
sudo yum install -y gcc gcc-c++ make automake autoconf libtool
sudo yum install -y libpcap-devel pcre-devel zlib-devel openssl-devel
sudo yum install -y wget curl vim
Compile The Script:
gcc -o scanner scanner.c -lpthread -std=c99
Executing The Script:
chmod +x scannner
sudo ./scanner 1.0.0.0 255.255.255.255 list.txt 2 10
(Change The 2(Amount Of Threads) & 10(Delay in Milliseconds) Based On Your VPS Specs.)
You can also press "p" to pause & resume the scan, & press "q" to stop the scan.
:Script:
:Picture:
https://prnt.sc/u6ChLMba-O1T