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

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.
主站蜘蛛池模板: 政和县| 彰化市| 台安县| 孝感市| 十堰市| 徐闻县| 乡宁县| 扎赉特旗| 彝良县| 普宁市| 利辛县| 赤城县| 江川县| 卫辉市| 任丘市| 双牌县| 昌平区| 罗定市| 积石山| 岳池县| 军事| 华阴市| 阿城市| 惠东县| 满洲里市| 盐边县| 顺平县| 赤壁市| 五原县| 昌邑市| 合阳县| 佛坪县| 丹凤县| 乌什县| 嘉义市| 顺平县| 通许县| 南昌县| 宁都县| 贵港市| 东丰县|