- Kali Linux 2018:Assuring Security by Penetration Testing
- Shiva V. N Parasram Alex Samm Damian Boodoo Gerard Johansen Lee Allen Tedi Heriyanto Shakeel Ali
- 189字
- 2021-06-24 18:19:02
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:
- To start the Apache HTTP service, open a command line Terminal and type the following command to start the Apache server:
service apache2 start
- 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:
- 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.
- The command will add the apache2 service to be started on booting up.
推薦閱讀
- Securing Blockchain Networks like Ethereum and Hyperledger Fabric
- 網絡安全應急管理與技術實踐
- 網絡安全大數據分析與實戰
- CTF特訓營:技術詳解、解題方法與競賽技巧
- Mastering Linux Security and Hardening
- 復雜信息系統網絡安全體系建設指南
- Web安全攻防從入門到精通
- Developing Applications with Salesforce Chatter
- 惡意軟件、Rootkit和僵尸網絡
- ATT&CK視角下的紅藍對抗實戰指南
- 網絡安全攻防技術實戰
- 精通Metasploit滲透測試(第3版)
- 隱私計算與密碼學應用實踐
- Learning Metasploit Exploitation and Development
- 數字頑疾:計算機病毒簡史