官术网_书友最值得收藏!

HTTP

If your penetration testing works, you may want to have a web server for various reasons, such as to serve malicious web application scripts. In Kali Linux, there is already an Apache web server installed; you just need to start the service.

The following are the steps that are required to activate your HTTP server in Kali Linux:

  1. To start the Apache HTTP service, open a command line Terminal and type the following command to start the Apache server:
   service apache2 start
  1. After this, you can browse to the web page at 127.0.0.1; it will display the It works! page by default:

To stop the Apache HTTP service, perform the following steps:

  1. Open a command-line Terminal and type the following command to stop the Apache server:
    service apache2 stop
Remember that the previous command will not survive boot up. After bootup, you need to give the command again. Fortunately, there is a way to start the Apache HTTP service automatically after the Kali Linux boots up by providing the  update-rc.d apache2 defaults command.
  1. The command will add the apache2 service to be started on booting up.
主站蜘蛛池模板: 松溪县| 柘荣县| 宝应县| 子长县| 家居| 淳化县| 拜城县| 珠海市| 十堰市| 稷山县| 琼海市| 洞头县| 越西县| 建湖县| 志丹县| 财经| 无为县| 涟水县| 渑池县| 临沧市| 锡林郭勒盟| 威远县| 额尔古纳市| 宁南县| 天祝| 苏州市| 兰考县| 安顺市| 萨迦县| 河北省| 牙克石市| 望城县| 闻喜县| 江都市| 镇宁| 包头市| 四平市| 建平县| 建昌县| 旬邑县| 十堰市|