<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Open Redirect 0x01</title>
    <link href="../assets/bootstrap.min.css" rel="stylesheet">
    <link href="../assets/custom.css" rel="stylesheet">
</head>

<body>
    <main>
        <div class="container px-4 py-5" id="custom-cards">
            <h2 class="pb-2 border-bottom"><a href="../index.php">Labs</a> / Open Redirect 0x01</h2>

            <div class="p-5 mb-4 bg-light rounded-3">
                <h2>Code snippets</h2>
                <hr />
                <div class="row">
                    <div class="col-md-12 mb-4">
                        <button onclick="window.location.href='./r0x01_script.php?id=1&return_url=./r0x01.php'"
                            class="btn btn-primary">View Script</button>
                        Script 1 / SQL injection payloads
                    </div>
                    <div class="col-md-12 mb-4">
                        <button onclick="window.location.href='./r0x01_script.php?id=2&return_url=./r0x01.php'"
                            class="btn btn-primary">View Script</button>
                        Script 2 / XSS Payloads
                    </div>
                </div>
            </div>
        </div>
    </main>

    <script src="../assets/popper.min.js"></script>
    <script src="../assets/bootstrap.min.js"></script>
</body>

</html>