To use this provided Burp Suite extension for testing your website (e.g., test.com
), you need to follow these steps:
-
Install Burp Suite:
- If you haven't already, download and install Burp Suite from the official website.
-
Open Burp Suite:
- Open Burp Suite and make sure it's running.
-
Load the Extension:
- Save the provided Python code in a file, for example,
vuln.py
. - In Burp Suite, go to the "Extender" tab.
- Click on the "Extensions" tab within the "Extender" tab.
- Click the "Add" button and select the Python file (
vuln.py
) to load the extension.
- Save the provided Python code in a file, for example,
-
Verify Loading:
- Ensure that the extension appears in the list of loaded extensions.
-
Configure Scope:
- Go to the "Target" tab and configure the scope to include your target website (
test.com
).
- Go to the "Target" tab and configure the scope to include your target website (
-
Configure Scanner:
- In the "Scanner" tab, go to the "Options" sub-tab.
- Configure the scanner options as needed.
- Initiate Passive Scan:
- Visit your website (
test.com
) in a web browser or use other tools to interact with it. - The extension will passively scan responses for the presence of the string "eval(".
- You can also pass other common keywords instead such as :
- exec(
- system(
- shell_exec(
- passthru(
- popen(
- proc_open(
- <script>
- onload=
- onmouseover=
- Visit your website (
- Initiate Active Scan:
- Go to the "Target" tab and select your website (
test.com
). - Right-click and choose "Active Scan."
- Go to the "Target" tab and select your website (
- Check Scan Results:
- Go to the "Scanner" tab to monitor the progress of the scan.
- Check the "Scan Issues" tab to view any identified issues.
- Review Issues:
- The extension will create issues if it finds potential RCE or injection vulnerabilities.
- Review the details of each issue to understand the identified problems.
- Ensure that you have proper authorization to perform security testing on the target website.
- This extension is a simplified example, and its effectiveness may vary depending on the nature of your website and the vulnerabilities present.
- Understand the results and perform additional manual testing to verify and validate any identified issues.
Remember to use security testing tools responsibly and only on systems that you are authorized to test. Unauthorized testing can lead to legal consequences.