403Webshell
Server IP : 87.229.120.60  /  Your IP : 216.73.216.86
Web Server : Apache
System : Linux outside 5.4.8_Algonet_ZeroMAC_0.9.4.8 #6 SMP Mon Feb 3 20:36:07 CET 2020 x86_64
User : server ( 1002)
PHP Version : 8.3.20
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/faktorteam/www/wp-includes/js/dist/script-modules/interactivity-router/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/faktorteam/www/wp-includes/js/dist/script-modules/interactivity-router/full-page.js
// packages/interactivity-router/build-module/full-page.mjs
var isValidLink = (ref) => ref && ref instanceof window.HTMLAnchorElement && ref.href && (!ref.target || ref.target === "_self") && ref.origin === window.location.origin && !ref.pathname.startsWith("/wp-admin") && !ref.pathname.startsWith("/wp-login.php") && !ref.getAttribute("href").startsWith("#") && !new URL(ref.href).searchParams.has("_wpnonce");
var isValidEvent = (event) => event && event.button === 0 && // Left clicks only.
!event.metaKey && // Open in new tab (Mac).
!event.ctrlKey && // Open in new tab (Windows).
!event.altKey && // Download.
!event.shiftKey && !event.defaultPrevented;
document.addEventListener("click", async (event) => {
  const ref = event.target.closest("a");
  if (isValidLink(ref) && isValidEvent(event)) {
    event.preventDefault();
    const { actions } = await import("@wordpress/interactivity-router");
    actions.navigate(ref.href);
  }
});
document.addEventListener(
  "mouseenter",
  async (event) => {
    if (event.target?.nodeName === "A") {
      const ref = event.target.closest("a");
      if (isValidLink(ref) && isValidEvent(event)) {
        const { actions } = await import("@wordpress/interactivity-router");
        actions.prefetch(ref.href);
      }
    }
  },
  true
);

Youez - 2016 - github.com/yon3zu
LinuXploit