1. Update your server software Just like updating your phone or laptop, you should update your VPS to get the latest security patches. For Ubuntu/Debian, type: sudo apt update && sudo apt upgrade –y For CentOS, type: sudo yum update -y 2. Set up a firewall A firewall blocks unaut...
using a package manager is simple. for example, with "apt" on debian-based systems, you can install a package by typing "sudo apt install package_name" in the terminal. replace "package_name" with the name of the software you want to install. the package manager will handle the ...
sudo yum update –This will update all the installed packages. sudo yum install <package name>– This command will install the mentioned package. One can write the set of commands in a sequence of tasks to be done in a file with an extension.sh and execute them all at once by running ...
on Debian-based systems, keyword searching is possible via “apt-cache search” followed by desired keywords, whereas, for those on DNF-based ones, the equivalent command would involve typing in’sudo dnf search softwarename‘.
sudo yum update -y sudo yum install -y httpd sudo service httpd start sudo chkconfig httpd on cd /var/www/html sudo su echo "This is the Main Website" > index.html Now paste the IP address of the instance in the browser and hit Enter. ...
yum update yum install ruby ruby-devel rubygems wget http://www.morningstarsecurity.com/downloads/whatweb-0.4.7.tar.gz tar xzvf whatweb-0.4.7.tar.gz cd whatweb-0.4.7 ./whatweb url 四、常规扫描 whatweb 域名五、批量扫描 我们可以通过将很多要扫描的域名放在文件内,然后扫描时指定该文件即可。
$ sudo yum install multipath-tools Configure Multipath: Edit the /etc/multipath.conf file to define the multipath configuration. This step is optional and only recommended for advanced users or those needing specific configurations. Enable Multipathing service: ...
yum install openvpn -y cp /usr/share/doc/openvpn-*/sample/sample-config-files/server.conf /etc/openvpn nano-w /etc/openvpn/server.conf Replace ;push “redirect-gateway def1 bypass-dhcp” push “redirect-gateway def1 bypass-dhcp”
yum update yum install ruby ruby-devel rubygems wget http://www.morningstarsecurity.com/downloads/whatweb-0.4.7.tar.gz tar xzvf whatweb-0.4.7.tar.gz cd whatweb-0.4.7 ./whatweb url 为了降低大家的使用难度,这里我们可以直接使用kalilinux下已经集成好的whatweb,还是蛮高大上的。
sudo apt-get update sudo apt-get install socat Configure the UDP proxy Create a configuration file or command-line options to specify the proxy settings, including the local and remote IP addresses and port numbers. Here’s an example using ‘socat’: ...