# TRYHACKME: INTRODUCTION TO CYBERSECURITY

**OFFENSIVE SECURITY:**

Offensive security, in simple terms, is like being a digital detective with a mission to find and fix weaknesses in computer systems before the bad guys do. It involves learning how hackers think and operate so that you can defend against their tactics. In this exciting field, you’ll dive into things like hacking simulations, penetration testing, and Capture the Flag challenges to sharpen your skills and help make the digital world a safer place.

**HACKING MY FIRST SITE :**

With the help of tryhackme I was able to attack the website with the help of tool called Gobuster , which is used to find the hidden paths of the site .



```
gobuster -u http://fakebank.com -w wordlist.txt dir
```





<figure><img src="https://3821730555-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCJMPuCQbMwIYqUJNCa28%2Fuploads%2FffzOaWChu4gNUuqQ7vbn%2FScreenshot%202024-02-19%20at%202.23.44%E2%80%AFPM.png?alt=media&#x26;token=6ae711d4-db3e-46bc-949e-9a33337de78a" alt=""><figcaption></figcaption></figure>



<figure><img src="https://3821730555-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCJMPuCQbMwIYqUJNCa28%2Fuploads%2FNBkhQU8XvSgj9ifybXD8%2FScreenshot%202024-02-19%20at%202.29.49%E2%80%AFPM.png?alt=media&#x26;token=07a672e2-d9db-4477-915f-b5166507566e" alt=""><figcaption></figcaption></figure>

* `-u`: Specifies the target URL, in this case, "[http://fakebank.com](http://fakebank.com/)."
* `-w`: Points to the wordlist file, "wordlist.txt," containing potential directory or file names.
* `dir`: Sets the mode for directory discovery.

With the help of this tool found a hidden /bank transfer page and being able to transfer money.
