michyweb / formshaker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DVWA

Formshaker

Formshaker is a tool created to enhance the capabilities of an attacker while exploiting XSS vulnerabilities.

Formshaker is a JS lib that runs in browsers and acts as a proxy, establishing a bridge between websites functionality and attackers. Its purpose is to maximize the attacker capabilities when exploiting XSS. Formshaker is a project that we initiated in 2018. It consists of a web application and a JS agent. The JS agent operates in two modes: C&C dependent and standalone. From a technical standpoint, the tool’s purpose is to crawl a website, collect its HTML forms, and provide an attacker with visibility into the forms available on the website where the JS agent is active. This allows the attacker, through the C&C, to view, modify, and submit the forms via the JS agent within the context of the victim’s session. On the other hand, the standalone version of the tool is self-contained. It includes all the necessary information within the JS code to populate form inputs and make decisions to automatically submit forms with preconfigured data. It’s important to note that this mode operates independently and does not interact with the C&C. An intriguing scenario occurs when you, as an attacker, inject the JS agent into the victim’s browser, particularly if that person possesses admin privileges. In such a case, the JS agent would identify the user creation form, fill its inputs with predetermined values (such as the attacker’s email and password), and proceed to create a user.

Formshaker does not work with SPA (Single-page based websites) as those made with React.js and Vue.js

Demos:

WebApplication dependant version, demo 1: Uploading a webshell through Formshaker dashboard.

DVWA

WebApplication dependant version, demo 2: Executing reverse shell through Formshaker dashboard.

DVWA

Standalone version, demo 3: Executing reverse shell automatically.

DVWA

Presented in:

Special thanks to:

Disclaimer:

All information and software available on this site are for educational purposes only. Use these at your own discretion, the site owners cannot be held responsible for any damages caused. The views expressed on this site are our own and do not necessarily reflect those of our employers. Usage of all tools on this site for attacking targets without prior mutual consent is illegal. It is the end user’s responsibility to obey all applicable local, state and federal laws. We assume no liability and are not responsible for any misuse or damage caused by this site.

About

License:GNU General Public License v3.0


Languages

Language:HTML 28.9%Language:CSS 28.6%Language:SCSS 25.7%Language:JavaScript 14.4%Language:Python 2.2%Language:Shell 0.1%Language:Dockerfile 0.1%