OSCP/OSCP Course PDF

1. Find와 Service

우와해커 2020. 2. 16. 20:22

Service

SSH service
HTTP service

서비스 시작
#service ssh start
#service apache2 start

#systemctl start ssh
#systemctl start apache2

#/etc/init.d/ssh start
#/etc/init.d/apache start

서비스 확인
#netstat -antp | grep ssh

첫화면 출력 내용 바꾸기 
#echo "kail lnux rocks" > /var/www/index.html


부팅시 자동으로 서비스 시작
1.Systemctl
#systemctl enable ssh
#systemctl disable ssh

2.update-rc.d
#update-rc.d ssh enable
#update-rc.d apache2 enable

1.2.4 - Exercises
(Reporting is not required for these exercises)

1. If you are using the Kali VMware image, change the root password to something secure.
2. Practice starting and stopping various Kali services.
3. Enable the SSH service to start on system boot.



'OSCP > OSCP Course PDF' 카테고리의 다른 글

4. Active Information Scanning - 1  (0) 2020.02.19
3. Passive Information Gathering  (0) 2020.02.19
2. Essential tool - Ncat, Wireshark ,Tcpdump  (0) 2020.02.17
2. Essential tool - Netcat, rdesktop  (0) 2020.02.17
1.Bash  (0) 2020.02.16