# Web Attacks

## **Introduction**

> Web applications are very common and utilized for most businesses.\
> As modern web applications become more complex and advanced, so do the types of attacks utilized against them. This leads to a vast attack surface, which is why web attacks are the most common types of attacks against companies.\
> \
> Attacking external-facing web applications may result in compromise of the businesses' internal network, which may eventually lead to stolen assets or disrupted services.\
> Even if a company has no external facing web applications, they likely utilize internal web applications, or external facing API endpoints, both of which are vulnerable to the same types of attacks and can be leveraged to achieve the same goals.

***

## **External Resources**

* <https://book.hacktricks.xyz/pentesting-web/web-vulnerabilities-methodology>
* <https://portswigger.net/web-security>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://notes.sfoffo.com/web-applications/web-attacks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
