shell bypass 403
/******/ (() => { // webpackBootstrap var __webpack_exports__ = {}; /*!*************************************!*\ !*** ./resources/js/admin/roles.js ***! \*************************************/ (function ($) { "use strict"; $('body').on('change', '#isAdmin', function () { var $card = $('.section-card'); $card.addClass('d-none'); $card.find('input').prop('checked', false); if (this.checked) { $('.section-card.is_admin').removeClass('d-none'); } else { $('.section-card.is_panel').removeClass('d-none'); } }); $('body').on('change', '.section-parent', function (e) { var $this = $(this); var parent = $this.parent().closest('.section-box'); var isChecked = e.target.checked; if (isChecked) { parent.find('input[type="checkbox"].section-child').prop('checked', true); } else { parent.find('input[type="checkbox"].section-child').prop('checked', false); } }); $('body').on('change', '.section-child', function (e) { var $this = $(this); var parent = $(this).parent().closest('.section-box'); var setChecked = false; var allChild = parent.find('input[type="checkbox"].section-child'); allChild.each(function (index, child) { if ($(child).is(':checked')) { setChecked = true; } }); var parentInput = parent.find('input[type="checkbox"].section-parent'); parentInput.prop('checked', setChecked); }); $('body').on('keyup', 'input[name="name"]', function (e) { var value = $(this).val(); if (value) { $(this).val(value.replaceAll(' ', '_')); } }); })(jQuery); /******/ })() ;