fork download
  1. <!DOCTYPE html>
  2. <!--
  3. Part of this template was developed by https://b...content-available-to-author-only...b.io
  4. -->
  5. <html lang="en" class="gr__blackrockdigital_github_io"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  6.  
  7. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  8. <meta name="description" content="">
  9. <meta name="author" content="">
  10.  
  11. <title>Steal The Steel CTF</title>
  12.  
  13. <!-- Bootstrap core CSS -->
  14. <<link href="https://s...content-available-to-author-only...n.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
  15.  
  16. <!-- Custom fonts for this template -->
  17. <link href="https://f...content-available-to-author-only...s.com/css?family=Catamaran:100,200,300,400,500,600,700,800,900" rel="stylesheet">
  18. <link href="https://f...content-available-to-author-only...s.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i" rel="stylesheet">
  19.  
  20. <!-- Custom styles for this template -->
  21. <link href="https://b...content-available-to-author-only...h.com/4/lumen/bootstrap.css" rel="stylesheet">
  22.  
  23. <!-- Font awesome -->
  24. <link rel="stylesheet" href="https://u...content-available-to-author-only...e.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
  25.  
  26. </head>
  27.  
  28. <body data-gr-c-s-loaded="true">
  29.  
  30. <!-- Navigation -->
  31. <nav class="navbar navbar-expand-lg navbar-dark navbar-custom fixed-top">
  32. <div class="container">
  33. <a class="navbar-brand" href="/">Break it until you make it</a>
  34. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
  35. <span class="navbar-toggler-icon"></span>
  36. </button>
  37. <div class="collapse navbar-collapse" id="navbarResponsive">
  38. <ul class="navbar-nav ml-auto">
  39. <li class="nav-item">
  40. <a class="nav-link" href="https://t...content-available-to-author-only...r.com/WiCySorg" target="_blank">Twitter</a>
  41. </li>
  42. <li class="nav-item">
  43. <a class="nav-link" href="https://w...content-available-to-author-only...m.com/wicys/" target="_blank">Instagram</a>
  44. </li>
  45. <li class="nav-item">
  46. <a class="nav-link" href="https://w...content-available-to-author-only...k.com/wicys" target="_blank">Facebook</a>
  47. </li>
  48. </ul>
  49. </div>
  50. </div>
  51. </nav>
  52.  
  53. <header class="masthead text-center text-white" style="padding-top: 6.5em; padding-bottom: 2.5em; background: linear-gradient(0deg,#C2CEAF 0,#B1D34A 100%);">
  54. <div class="masthead-content">
  55. <div class="container">
  56. <h1 class="masthead-heading mb-0" style="color: #231F20;">Steal The Steel CTF</h1>
  57. <h2 class="masthead-subheading mb-0">Will Rock Your Socks Off</h2>
  58. </div>
  59. </div>
  60. <div class="bg-circle-1 bg-circle" style="background: linear-gradient(0deg,#B1D34A 0,#C2CEAF 100%);"></div>
  61. <div class="bg-circle-2 bg-circle" style="background: linear-gradient(0deg,#B1D34A 0,#C2CEAF 100%);"></div>
  62. <div class="bg-circle-3 bg-circle" style="background: linear-gradient(0deg,#B1D34A 0,#C2CEAF 100%);"></div>
  63. <div class="bg-circle-4 bg-circle" style="background: linear-gradient(0deg,#B1D34A 0,#C2CEAF 100%);"></div>
  64. </header>
  65.  
  66. <section>
  67. <div class="container">
  68. <div class="row align-items-center">
  69. <div class="col-lg-4 order-lg-2">
  70. <div class="p-5">
  71. <img class="img-fluid rounded-circle" src="https://r...content-available-to-author-only...t.com/StartBootstrap/startbootstrap-one-page-wonder/master/img/01.jpg" alt="">
  72. <blockquote style="padding-top: 20px;">
  73. <p>A user interface is like a joke. If you have to explain it, it's not that good.</p>
  74. <footer>&mdash; <cite>Martin LeBlanc</cite></footer>
  75. </blockquote>
  76. </div>
  77. </div>
  78. <div class="col-lg-8 order-lg-1">
  79. <div class="p-5">
  80. <h2 class="display-4" style="color: #812990;"></h2>
  81. <h2><font color='red'></font></h2>
  82. <form method="POST" onsubmit="return validate()">
  83. <div class="form-group">
  84. <textarea name="password" id="in" class="form-control"></textarea>
  85. </div>
  86. <div class="form-group">
  87. <button class="btn btn-primary" type="submit">Submit</button>
  88. </div>
  89. </form>
  90. <?php
  91. if(isset($_POST['password'])){
  92. $password=$_POST['password'];
  93. if($password == 'Hel2.4dnx21j.sl/dfsz'){
  94. include_once "flag.php";
  95. echo $flag;
  96. }else{
  97. echo "Sorry, the wrong password";
  98. }
  99.  
  100. }
  101. ?>
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. </section>
  107.  
  108. <!-- Footer -->
  109. <footer class="py-5 bg-dark">
  110. <div class="container">
  111. <p class="m-0 text-center text-white">Steal The Steal CTF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i class="fas fa-dragon"></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Because We Care</p>
  112. <p class="m-0 text-center text-white">Developed by<br>Amela Gjishti | Daniel Tyler | Konstantin Menako | Vitaly Ford</p>
  113. </div>
  114. <!-- /.container -->
  115. </footer>
  116.  
  117. <!-- Bootstrap core JavaScript -->
  118. <script src="https://c...content-available-to-author-only...y.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
  119. <script src="https://s...content-available-to-author-only...n.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
  120. <script>
  121. //const button = document.querySelector("#sub");
  122. //document.addEventListener(button, validate);
  123. function validate(){
  124. let input = document.querySelector("#in").value;
  125. console.log("I am here")
  126. input = input.replaceAll("." , "");
  127.  
  128. if (input != "Hel2.4dnx21j.sl/dfsz"){
  129. alert("Given input is not correct, try again")
  130. return false;
  131. }
  132. return true;
  133. }
  134. </script>
  135.  
  136. </body>
Success #stdin #stdout 0.02s 24380KB
stdin
Standard input is empty
stdout
<!DOCTYPE html>
  <!--
    Part of this template was developed by https://b...content-available-to-author-only...b.io 
  -->
<html lang="en" class="gr__blackrockdigital_github_io"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Steal The Steel CTF</title>

    <!-- Bootstrap core CSS -->
    <<link href="https://s...content-available-to-author-only...n.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom fonts for this template -->
    <link href="https://f...content-available-to-author-only...s.com/css?family=Catamaran:100,200,300,400,500,600,700,800,900" rel="stylesheet">
    <link href="https://f...content-available-to-author-only...s.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="https://b...content-available-to-author-only...h.com/4/lumen/bootstrap.css" rel="stylesheet">

    <!-- Font awesome -->
    <link rel="stylesheet" href="https://u...content-available-to-author-only...e.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">

  </head>

  <body data-gr-c-s-loaded="true">

    <!-- Navigation -->
    <nav class="navbar navbar-expand-lg navbar-dark navbar-custom fixed-top">
      <div class="container">
        <a class="navbar-brand" href="/">Break it until you make it</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
          <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarResponsive">
          <ul class="navbar-nav ml-auto">
            <li class="nav-item">
              <a class="nav-link" href="https://t...content-available-to-author-only...r.com/WiCySorg" target="_blank">Twitter</a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="https://w...content-available-to-author-only...m.com/wicys/" target="_blank">Instagram</a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="https://w...content-available-to-author-only...k.com/wicys" target="_blank">Facebook</a>
            </li>
          </ul>
        </div>
      </div>
    </nav>

    <header class="masthead text-center text-white" style="padding-top: 6.5em; padding-bottom: 2.5em; background: linear-gradient(0deg,#C2CEAF 0,#B1D34A 100%);">
      <div class="masthead-content">
        <div class="container">
          <h1 class="masthead-heading mb-0" style="color: #231F20;">Steal The Steel CTF</h1>
          <h2 class="masthead-subheading mb-0">Will Rock Your Socks Off</h2>
        </div>
      </div>
      <div class="bg-circle-1 bg-circle" style="background: linear-gradient(0deg,#B1D34A 0,#C2CEAF 100%);"></div>
      <div class="bg-circle-2 bg-circle" style="background: linear-gradient(0deg,#B1D34A 0,#C2CEAF 100%);"></div>
      <div class="bg-circle-3 bg-circle" style="background: linear-gradient(0deg,#B1D34A 0,#C2CEAF 100%);"></div>
      <div class="bg-circle-4 bg-circle" style="background: linear-gradient(0deg,#B1D34A 0,#C2CEAF 100%);"></div>
    </header>

    <section>
      <div class="container">
        <div class="row align-items-center">
          <div class="col-lg-4 order-lg-2">
            <div class="p-5">
              <img class="img-fluid rounded-circle" src="https://r...content-available-to-author-only...t.com/StartBootstrap/startbootstrap-one-page-wonder/master/img/01.jpg" alt="">
              <blockquote style="padding-top: 20px;">
                <p>A user interface is like a joke. If you have to explain it, it's not that good.</p>
                <footer>&mdash; <cite>Martin LeBlanc</cite></footer>
              </blockquote>
            </div>
          </div>
          <div class="col-lg-8 order-lg-1">
            <div class="p-5">
              <h2 class="display-4" style="color: #812990;"></h2>
              <h2><font color='red'></font></h2>
              <form method="POST" onsubmit="return validate()">
                <div class="form-group">
                  <textarea name="password" id="in" class="form-control"></textarea>
                </div>
                <div class="form-group">
                  <button class="btn btn-primary" type="submit">Submit</button>
                </div>
              </form>
                          </div>
          </div>
        </div>
      </div>
    </section>

    <!-- Footer -->
    <footer class="py-5 bg-dark">
      <div class="container">
        <p class="m-0 text-center text-white">Steal The Steal CTF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i class="fas fa-dragon"></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Because We Care</p>
        <p class="m-0 text-center text-white">Developed by<br>Amela Gjishti | Daniel Tyler | Konstantin Menako | Vitaly Ford</p>
      </div>
      <!-- /.container -->
    </footer>

    <!-- Bootstrap core JavaScript -->
    <script src="https://c...content-available-to-author-only...y.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
    <script src="https://s...content-available-to-author-only...n.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
    <script>
    //const button = document.querySelector("#sub");
    //document.addEventListener(button, validate);
   function validate(){
     let input = document.querySelector("#in").value;
     console.log("I am here")
     input = input.replaceAll("." , "");

     if (input != "Hel2.4dnx21j.sl/dfsz"){
       alert("Given input is not correct, try again")
       return false;
     }
     return true;
   }
    </script>

</body>