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;">Compiling Pong... JK :)</h2>
  81.  
  82.  
  83. <h2><font color='red'>WE GOT HACKED LAST WEEK BUT NOW WE ARE SECURE!</font></h2>
  84. This is a free service to ping an outside address!<br/>
  85. Enter IP or hostname...</br>
  86. <form method="get">
  87. <div class="form-group">
  88. <textarea name="address" class="form-control"></textarea>
  89. </div>
  90. <div class="form-group">
  91. <button class="btn btn-primary" type="submit">Ping!</button>
  92. </div>
  93. </form>
  94. <?php
  95. require "dir_listing.php";
  96.  
  97. if(isset($_GET['address'])){
  98.  
  99. $address=$_GET['address'];
  100. $address=preg_replace("/\||&|;|`|\n/"," ",$address);
  101.  
  102.  
  103. $command="ping -c 1 ";
  104. $command=$command.$address." 2>&1";
  105.  
  106.  
  107.  
  108. // echo $command;
  109. $answer=shell_exec($command);
  110. echo "<h3>".preg_replace("/\r|\n/","<br/>",$answer)."</h3>";
  111.  
  112. }
  113. ?>
  114.  
  115.  
  116. </div>
  117. </div>
  118. </div>
  119. </div>
  120. </section>
  121.  
  122. <!-- Footer -->
  123. <footer class="py-5 bg-dark">
  124. <div class="container">
  125. <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>
  126. <p class="m-0 text-center text-white">Developed by<br>Amela Gjishti | Daniel Tyler | Konstantin Menako | Vitaly Ford</p>
  127. </div>
  128. <!-- /.container -->
  129. </footer>
  130.  
  131. <!-- Bootstrap core JavaScript -->
  132. <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>
  133. <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>
  134.  
  135. </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 24648KB
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;">Compiling Pong... JK :)</h2>


              <h2><font color='red'>WE GOT HACKED LAST WEEK BUT NOW WE ARE SECURE!</font></h2>
              This is a free service to ping an outside address!<br/>
              Enter IP or hostname...</br>
              <form method="get">
                <div class="form-group">
                  <textarea name="address" class="form-control"></textarea>
                </div>
                <div class="form-group">
                  <button class="btn btn-primary" type="submit">Ping!</button>
                </div>
              </form>
              
stderr
PHP Warning:  require(dir_listing.php): failed to open stream: No such file or directory in /home/XPPvlM/prog.php on line 95
PHP Fatal error:  require(): Failed opening required 'dir_listing.php' (include_path='.:/usr/share/php') in /home/XPPvlM/prog.php on line 95