Hacking divied into 5 parts. Every hacker follow these 5 steps to hack a target.
1. Reconnaissance
2. Scanning
3. Gaining Access
4. Maintaing access
5. Clearing tracks
☆ The first step of hacking is Reconnaissance. In first step we collect info about target.
☆ Second Step is scanning. In this step we have to found vulnerabilities in sites
☆ in third step attacker breaks into system using various tools or methods.
☆ in fourth step attacker maintain the access until he finished the taasks he planned to accomplish in that target
☆ in last Step attacker modifying/deleting the values of logs and uninstall all app he used and delete all the folders he created.