Walking an Application
Notes on manually walking a web application to find information worth acting on.
Source Code and Directories
Always review the source code for HTML comments. These can reveal information that should otherwise be kept hidden from public access and only meant for developers.
While reviewing source code, look at repeating directories used to store files such as JavaScript, HTML, CSS, and images. Sometimes clicking into a directory such as /assets/ can reveal that the directory listing is not locked down, making it possible to traverse other hidden files.
Check which frameworks are being used, as these can reveal vulnerabilities and ways to exploit them.
Developer Tools
Developer Tools is a toolkit used to aid web developers in debugging web applications. It gives a peek under the hood of a website to see what is going on. As a pentester, these tools give a much better understanding of the web application.
Inspector
This tool is vital when inspecting CSS div elements. Take, for example, a website with a "paywall" CSS feature that displays a box above text, meant to be accessible only to premium users. By manipulating the CSS div elements through Inspector, I can change an element such as display: block to display: none, essentially rendering the paywall useless.
Debugger
Used to debug JavaScript. As a pentester, I can use this tool to force scripts to function the way I want for readability and access. An example would be a contact form displaying a flash warning for a split second and disappearing, possibly meant to be viewed by a developer or premium user but not a standard user. Debugger can create a "break" in the code by clicking to the left of the code line, which highlights the row blue, indicating the code is now stopping before completing.
Network
Contact forms use a posting method called AJAX, used to send and receive network data in a web application without interfering with the content of the currently visited web page. For example, I can input random information in a contact field and send a message with the Network tab open; as soon as the message posts, the "200" status completes and I can dive into the GET/POST headers to view the response given back by the server. This can reveal critical information for use down the road.