fork(1) 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://h...content-available-to-author-only...s.com/bootstrap-themes/demo/theme-machine/neon-glow/css/bootstrap4-neon-glow.min.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 fixed-top navbar-expand-lg navbar-dark bg-dark fixed-top">
  32. <div class="container">
  33. <a class="navbar-brand" href="index.html"><img style="width: 100px"src="https://w...content-available-to-author-only...s.org/wp-content/uploads/2016/01/NCC-NCSA-Logo-1.svg" alt=""></a>
  34. <button class="navbar-toggler navbar-toggler-right" 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/CyberStudents" target="_blank">Twitter</a>
  41. </li>
  42. <li class="nav-item">
  43. <a class="nav-link" href="https://w...content-available-to-author-only...n.com/groups/8477102//" target="_blank">Linkedin</a>
  44. </li>
  45. <li class="nav-item">
  46. <a class="nav-link" href="https://w...content-available-to-author-only...k.com/CyberStudents.org/s" target="_blank">Facebook</a>
  47. </li>
  48. </ul>
  49. </div>
  50. </div>
  51. </nav>
  52.  
  53. <header class="masthead text-center" style="padding-top: 6.5em; padding-bottom: 2.5em;">
  54. <div class="masthead-content">
  55. <div class="container">
  56. <h1 class="masthead-heading mb-0" style="color: #231F20;">Secure Coding CTF - The Winter Challenge</h1>
  57. <!-- <h2 class="masthead-subheading mb-0"></h2> -->
  58. </div>
  59. </div>
  60. </header>
  61.  
  62. <section>
  63. <div class="container">
  64. <div class="row align-items-center">
  65. <div class="col-lg-4 order-lg-2">
  66. <div class="p-5">
  67. <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="">
  68. <blockquote style="padding-top: 20px;">
  69. <p>Good code is its own best documentation.</p>
  70. <footer>&mdash; <cite>Steve McConnell</cite></footer>
  71. </blockquote>
  72. </div>
  73. </div>
  74. <div class="col-lg-8 order-lg-1">
  75. <div class="p-5">
  76. <h2 class="display-4" style="color: #812990;">Compiling Juggling 2... JK :)</h2>
  77.  
  78.  
  79. <?php
  80. require "settings.php";
  81.  
  82. if (isset($_GET['password'])) {
  83.  
  84. if(strcmp($_GET['password'],$actualPass)==0)
  85. {
  86. echo $flag;
  87. }
  88. else
  89. {
  90. echo "<h2 class='display-4' style='color: #628FFF;'>Nope</h2>";
  91. }
  92.  
  93. }
  94. ?>
  95.  
  96. <h3>This site is password protected!</h3>
  97. <!-- Hint: no sql is needed... -->
  98. <form method='get'>
  99. <div class='form-group'>
  100. <label>Password:</label><br>
  101. </div>
  102. <div class='form-group'>
  103. <input type='text' name='password' id='password'><br>
  104. </div>
  105. <div class='form-group'>
  106. <button class='btn btn-primary' type='submit'>Submit</button>
  107. </div>
  108. </form>
  109.  
  110.  
  111. </div>
  112. </div>
  113. </div>
  114. </div>
  115. </section>
  116.  
  117. <!-- Footer -->
  118. <footer class="py-5 bg-dark">
  119. <div class="container">
  120. <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>
  121. <p class="m-0 text-center text-white">Developed by<br>Amela Gjishti | Daniel Tyler | Konstantin Menako | Vitaly Ford</p>
  122. </div>
  123. <!-- /.container -->
  124. </footer>
  125.  
  126. <!-- Bootstrap core JavaScript -->
  127. <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>
  128. <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>
  129.  
  130. </body><span class="gr__tooltip"><span class="gr__tooltip-content"></span><i class="gr__tooltip-logo"></i><span class="gr__triangle"></span></span></html>
Runtime error #stdin #stdout #stderr 0.02s 24264KB
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://h...content-available-to-author-only...s.com/bootstrap-themes/demo/theme-machine/neon-glow/css/bootstrap4-neon-glow.min.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 fixed-top navbar-expand-lg navbar-dark bg-dark fixed-top">
    <div class="container">
      <a class="navbar-brand" href="index.html"><img style="width: 100px"src="https://w...content-available-to-author-only...s.org/wp-content/uploads/2016/01/NCC-NCSA-Logo-1.svg" alt=""></a>
      <button class="navbar-toggler navbar-toggler-right" 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/CyberStudents" target="_blank">Twitter</a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="https://w...content-available-to-author-only...n.com/groups/8477102//" target="_blank">Linkedin</a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="https://w...content-available-to-author-only...k.com/CyberStudents.org/s" target="_blank">Facebook</a>
            </li>
          </ul>
        </div>
    </div>
  </nav>

    <header class="masthead text-center" style="padding-top: 6.5em; padding-bottom: 2.5em;">
      <div class="masthead-content">
        <div class="container">
          <h1 class="masthead-heading mb-0" style="color: #231F20;">Secure Coding CTF - The Winter Challenge</h1>
          <!-- <h2 class="masthead-subheading mb-0"></h2> -->
        </div>
      </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>Good code is its own best documentation.</p>
                <footer>&mdash; <cite>Steve McConnell</cite></footer>
              </blockquote>
            </div>
          </div>
          <div class="col-lg-8 order-lg-1">
            <div class="p-5">
              <h2 class="display-4" style="color: #812990;">Compiling Juggling 2... JK :)</h2>


              
stderr
PHP Warning:  require(settings.php): failed to open stream: No such file or directory in /home/wQaQiy/prog.php on line 80
PHP Fatal error:  require(): Failed opening required 'settings.php' (include_path='.:/usr/share/php') in /home/wQaQiy/prog.php on line 80