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 if (!defined('ABSPATH')) exit; // Exit if accessed directly function widget_logic_init_block() { if (function_exists('wp_set_script_translations')) { wp_set_script_translations('widget-logic', 'widget-logic'); } } add_action('init', 'widget_logic_init_block'); function widget_logic_enqueue_block_editor_assets() { if (is_admin()) { $isWidgetScreen = 'widgets' === get_current_screen()->id; wp_enqueue_script( 'widget-logic', esc_url(plugins_url('/js/widget-logic.js', __FILE__)), ['wp-blocks', 'wp-i18n', 'wp-element', $isWidgetScreen ? 'wp-edit-widgets' : 'wp-editor'], filemtime(plugin_dir_path(__FILE__) . '/js/widget-logic.js'), false // Do not enqueue the script in the footer. ); wp_enqueue_style( 'widget-logic', esc_url(plugins_url('/css/widget-logic.css', __FILE__)), array(), filemtime(plugin_dir_path(__FILE__) . '/css/widget-logic.css'), ); } } add_action('enqueue_block_assets', 'widget_logic_enqueue_block_editor_assets'); /** * This code is necessary to fix a bug related to blocks that utilize the * ServerSideRender component. The bug causes an error message to be displayed * when the attributes are only registered in JavaScript. By registering the * attributes in PHP as well, the bug is resolved. Hopefully, this issue will * be addressed and fixed in future updates. * * (https://github.com/WordPress/gutenberg/issues/16850) */ function widget_logic_add() { if (class_exists('WP_Block_Type_Registry')) { $reg_blocks = WP_Block_Type_Registry::get_instance()->get_all_registered(); foreach ($reg_blocks as $name => $block) { $block->attributes['widgetLogic'] = ['type' => 'string']; } } } add_action('wp_loaded', 'widget_logic_add', 999); /** * Improve REST API compatibility for server-side rendered blocks. * This fix ensures that server-side rendered blocks with visibility controls * will load properly in the block editor. * * (https://github.com/phpbits/block-options/blob/f741344033a2c9455828d039881616f77ef109fe/includes/class-editorskit-post-meta.php#L82-L112) * * @param mixed $result The response to replace the requested version with. * @param object $server The server instance. * @param object $request The request used to generate the response. * * @return array The modified response. */ function widget_logic_clearing($result, $server, $request) { if ( false !== strpos($request->get_route(), '/wp/v2/block-renderer') && isset($request['attributes']) && isset($request['attributes']['widgetLogic']) ) { $attributes = $request['attributes']; unset($attributes['widgetLogic']); $request['attributes'] = $attributes; } return $result; } add_filter('rest_pre_dispatch', 'widget_logic_clearing', 10, 3); include_once __DIR__ . '/../widget/logic.php'; function widget_logic_block_render($block_content, $block) { if (!isset($block['attrs']['widgetLogic'])) { return $block_content; } return widget_logic_check_logic($block['attrs']['widgetLogic']) ? $block_content : ''; } add_filter('render_block', 'widget_logic_block_render', 10, 2);