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.
推薦閱讀
- DevSecOps敏捷安全
- Mobile Forensics Cookbook
- INSTANT Burp Suite Starter
- 黑客攻防入門秘笈
- Python Penetration Testing Cookbook
- 網(wǎng)絡(luò)運(yùn)維親歷記 (網(wǎng)絡(luò)運(yùn)維紀(jì)實(shí)文學(xué))
- 從0到1:CTFer成長之路
- 從實(shí)踐中學(xué)習(xí)Kali Linux滲透測試
- 學(xué)電腦安全與病毒防范
- 博弈論與數(shù)據(jù)安全
- 黑客攻防實(shí)戰(zhàn)從入門到精通
- 物聯(lián)網(wǎng)信息安全技術(shù)
- 功能型密碼算法設(shè)計(jì)與分析
- 信息組織
- Metasploit 5.0 for Beginners