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

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.
主站蜘蛛池模板: 遂宁市| 怀柔区| 崇文区| 宁武县| 三穗县| 安达市| 井研县| 淅川县| 巧家县| 四子王旗| 眉山市| 兰州市| 温泉县| 饶河县| 遂平县| 都江堰市| 昂仁县| 哈巴河县| 和顺县| 芜湖市| 保靖县| 独山县| 晋州市| 来凤县| 沾益县| 馆陶县| 新巴尔虎左旗| 土默特右旗| 临漳县| 青州市| 利川市| 雅江县| 萨迦县| 土默特左旗| 虹口区| 嘉鱼县| 綦江县| 古蔺县| 高台县| 泊头市| 房产|