Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.216.68
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html /
kougakubu /
htdocs /
Delete
Unzip
Name
Size
Permission
Date
Action
.vscode
[ DIR ]
drwxr-xr-x
2024-08-27 23:20
.well-known
[ DIR ]
drwxrwxr-x
2024-08-29 11:22
DirectEdit-master
[ DIR ]
drwxrwxr-x
2024-08-29 23:14
admin
[ DIR ]
drwxr-xr-x
2024-08-27 23:20
answer
[ DIR ]
drwxr-xr-x
2024-08-28 22:37
api
[ DIR ]
drwxrwxr-x
2025-04-07 13:23
article
[ DIR ]
drwxr-xr-x
2024-08-27 23:20
auth
[ DIR ]
drwxr-xr-x
2024-08-28 00:03
discord
[ DIR ]
drwxr-xr-x
2024-08-27 23:20
discord-bot
[ DIR ]
drwxr-xr-x
2024-08-27 23:20
example
[ DIR ]
drwxr-xr-x
2024-08-27 23:20
img
[ DIR ]
drwxr-xr-x
2024-08-27 23:20
judge
[ DIR ]
drwxr-xr-x
2024-08-27 23:20
problems
[ DIR ]
drwxr-xr-x
2024-08-27 23:20
programming_practice
[ DIR ]
drwxrwxrwx
2026-06-18 21:35
s2
[ DIR ]
drwxr-xr-x
2024-08-27 23:20
submit
[ DIR ]
drwxr-xr-x
2024-08-27 23:20
testimonial
[ DIR ]
drwxr-xr-x
2024-08-27 23:20
MathJax.js
62.04
KB
-rwxr-xr-x
2024-08-27 23:20
answer.html
4.06
KB
-rwxr-xr-x
2024-08-28 00:23
answer.php
4.47
KB
-rwxr-xr-x
2024-08-28 22:38
code.css
475
B
-rwxr-xr-x
2024-08-27 23:20
css.css
2.75
KB
-rwxr-xr-x
2024-08-27 23:20
database.py
4.16
KB
-rwxr-xr-x
2024-08-27 23:20
database2.py
731
B
-rwxr-xr-x
2024-08-27 23:20
default.html
3.3
KB
-rwxr-xr-x
2024-08-28 00:23
default.php
3.82
KB
-rwxr-xr-x
2024-08-28 00:23
detail.php
5.75
KB
-rwxr-xr-x
2024-08-28 00:23
detail2.php
5.79
KB
-rwxr-xr-x
2024-08-28 00:23
fuck.txt
488.29
KB
-rw-r--r--
2024-08-27 23:20
icon.jpg
285.53
KB
-rwxr-xr-x
2024-08-27 23:20
icon.png
285.53
KB
-rwxr-xr-x
2024-08-27 23:20
index.php
9.17
KB
-rwxr-xr-x
2024-08-28 00:22
index2.html
5.91
KB
-rwxr-xr-x
2024-08-28 00:23
judge.php
3.8
KB
-rwxr-xr-x
2024-08-28 00:23
judge.php.save
3.74
KB
-rwxr-xr-x
2024-08-28 00:23
judge.py
4.76
KB
-rwxr-xr-x
2024-08-27 23:20
output.html
1.16
KB
-rwxr-xr-x
2024-08-27 23:20
prism.css
6.22
KB
-rwxr-xr-x
2024-08-27 23:20
prism.js
49.16
KB
-rwxr-xr-x
2024-08-27 23:20
problems.html
4.56
KB
-rwxr-xr-x
2024-08-28 00:23
problems.php
5.6
KB
-rwxr-xr-x
2024-08-28 00:23
rank.php
3.93
KB
-rwxr-xr-x
2024-08-28 00:23
submit.html
4.35
KB
-rwxr-xr-x
2024-08-28 00:23
submit2.php
5.03
KB
-rwxr-xr-x
2024-08-27 23:20
t.php
3.22
KB
-rw-r--r--
2024-08-27 23:20
test-1.php
1.29
KB
-rwxr-xr-x
2024-08-29 23:28
test.php
171
B
-rwxr-xr-x
2024-08-28 00:19
test2.html
445
B
-rwxr-xr-x
2024-08-27 23:20
testimonial.php
4.34
KB
-rwxr-xr-x
2024-08-28 00:23
testimonial_gene.php
18.02
KB
-rwxr-xr-x
2024-08-29 23:28
typescript
2.09
KB
-rwxr-xr-x
2024-08-27 23:20
Save
Rename
<?php /* session_start(); */ /* require_once '/var/www/html/kougakubu/htdocs/auth/session_upload.php'; */ require_once '/var/www/html/kougakubu/htdocs/auth/database.php'; //print_r($_SESSION); //session_upload(); //セッション変数 $_SESSION["loggedin"]を確認。ログイン済だったらウェルカムページへリダイレクト $time_delta= 1698130800 -time(); // 2023 10 24 16 00 +9 if($time_delta > 0){ if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){ header("location: /auth/login.php"); exit; } // admin or TsuruNoTsurugiのみ通す。それ以外はeixt if(!(strcmp($_SESSION['name'],"admin")==0 or strcmp($_SESSION['name'],"TsuruNoTsurugi")==0)){ exit("This page is only for admin user. Please login as admin user"); } } //時間を過ぎたらログインの有無に関係なく通す。 $token=$_SESSION['token'];$id=$_SESSION['id'];$name=$_SESSION['name'];$loggedin=$_SESSION['loggedin']; $str="?session_id=".$token."&id=".$id."&name=".$name."&loggedin=".$loggedin; $submittion_id_gets = $_GET['id']; $lang=""; $url="";$url2=""; if(!empty($submittion_id_gets)){ $pdo = getPdo(); $sql="SELECT submittion_id,problem,language,user_id,user_name,judge_status,submittion_time,jugging_progress,process_time FROM akisai.submit WHERE submittion_id = ".$submittion_id_gets.";"; $stmt = $pdo->query($sql); $result = $stmt -> fetchAll(PDO::FETCH_BOTH); //提出id 提出時刻 ユーザー名 問題 言語 判定状況 判定 実行時間 if(($result[0]['user_id']==$id && $result[0]['user_name']==$name)||strcmp($_SESSION['name'],"admin")==0){ $comment = "<table border='1px' width='100%' style='text-align: center;'><tr><th>提出id</th><th>提出時刻</th><th>ユーザー名</th><th>問題</th><th>言語</th><th>判定状況</th><th>判定</th><th>実行時間</th></tr>"; $comment = $comment . "<tr><td>".$result[0]['submittion_id']."</td><td>".$result[0]['submittion_time']."</td><td>".$result[0]['user_name']."</td><td>".$result[0]['problem']."</td><td>".$result[0]['language']."</td><td>".$result[0]['jugging_progress']."</td><td>".$result[0]['judge_status']."</td><td>".$result[0]['process_time']."</td></tr></table>"; $url = "/var/www/submit/".$result[0]['submittion_id']."/a.".($result[0]['language']=="python"?"py":"cpp"); $url2 = "/var/www/submit/".$result[0]['submittion_id']."/submit_info.txt"; $url3 = "/var/www/submit/".$result[0]['submittion_id']; $url4 = $url3."/cerror.txt"; $url3 = $url3."/error.txt"; $user_status=3; } else{ $user_status = 3; } } else{ $user_status = 3; } ?> <!-- おっきなお友達のみんなえ お前らが打ち込んでいる虚無には 何の意味があるの? ねぇ 教えてよ ぼく ぜんぜぇーんわからないんだ!--> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>秋祭 | 工学部</title> <link rel="icon" type="image/png" href="./icon.png"> <link rel="stylesheet" type="text/css" href="./css.css"> <link rel= "stylesheet" href="./prism.css"> <script src="./prism.js"></script> </head> <body style="background-color: #f9f9f9;"> <header> <a href="/index.php"><img src="/icon.png" class="gaming" height="35px"></a><a> </a> <a class="a-none-color" href="../index.php">秋祭 | 静岡高校工学部</a> <nav class="nav"> <ul class="menu-group"> <li class="menu-item"><a href="/index.php">ホーム</a></li> <li class="menu-item"><a href="/problems.php">問題</a></li> <li class="menu-item"><a href="/test.php<?php echo $str;?>&url=s2/submit.php">提出</a></li> <li class="menu-item"><a href="/judge.php">判定</a></li> <li class="menu-item"><a href="/test.php<?php echo $str;?>&url=s2/Codetest/index.php">コードテスト</a></li> <li class="menu-item"><a href="/rank.php">順位</a></li> <li class="menu-item"><a href="/answer.php">解説</a></li> | <?php if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){ //$script_name = $_SERVER['SCRIPT_NAME']; //header("location: auth/login.php"); echo '<li class="menu-item"><a href="auth/login.php">ログイン</a></li>'; } else{ echo '<li class="menu-item"><a href="auth/logout.php">ログアウト</a></li>'; } ?> | <?php echo $_SESSION['name']; ?> </ul> </nav> </header><hr> <br><br> <p class="center" style="font-family:serif;font-size: 40px;text-shadow: #e23b44 2px 2px 3px;">卬高杯</p> <br> <div class="gap"> <h2>提出詳細</h2> <?php echo $user_status==3?$comment:"この提出idはあなたのものではありません。"; ?> <br> <pre><code class="line-numbers show-language toolbar match-braces language-<?php echo $result[0]['language']=='python'?('python'):('cpp')?>"><?php echo htmlspecialchars(file_get_contents($url))?></code></pre> <br> <pre><?php echo htmlspecialchars(file_get_contents($url2))?></pre> <pre><?php echo htmlspecialchars(file_get_contents($url3))?></pre> <pre><?php echo htmlspecialchars(file_get_contents($url4))?></pre> </div> <footer> <p>© 静岡高校工学部 2023</p> </footer> </body> </html>