Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


<script type="text/javascript">
    <!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <link rel="icon" href="96.ico" />
  <title>Door for Pi</title>
  <meta name="description" content="General ledger analysis for Pi Network ">
  <meta name="keywords" content="Pi Network, Pi Door, Exchange Pi Coin">
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="css/bootstrap-icons.css">
  
  <style>
    body{
        width: 100vw;
        overflow-x: hidden;
        font-family: arial;
    }
    .wrapper{
        display: flex;
        flex-direction: column;
        justify-items: center;
        align-items: center;
        gap: 20px;
        margin-top: 10px;
    }
    .logo{

    }
    .logo img{
        width: 110px;
        border-radius: 10px;
    }
    .description{
        color: #198754;
    }
	.description1{
        color: #198754;
		font-size: 20px;
        font-weight: bold;
	    }
    .main-menu{
        width: 100%;
    }
    .main-menu ul{
        display: flex;
        flex-wrap: wrap;
        justify-items: center;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        list-style: none;
        gap: 30px;
        width: 100%;
        margin: auto;
    }
    .main-menu ul li{
        width: 170px;
    }
    .main-menu ul li a{
        border: #555555 1px solid;
        color: #555555;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        padding: 10px 20px;
        gap: 80px;
        font-size: 30px;
        font-weight: bold;
        text-decoration: none;
    }
    .main-menu ul li a:hover{
        color: #ffffff;
        background-color: #555555;
    }
    .main-menu ul li a.primary-menu{
        color: #198754;
        border: #198754 1px solid;
    }
    .main-menu ul li a.primary-menu:hover{
        color: #ffffff;
        background-color: #198754;
    }
    .main-menu ul li a i{
        font-size: 50px;
    }
    @media only screen and (max-width: 991px) {
        .main-menu ul{
            gap: 20px;
            max-width: 400px;
        }
        .main-menu ul li{
            width: 170px;
            max-width: calc(50% - 30px);
        }
    }
  </style>
  <style> 
textarea[type=text] {
  box-sizing: border-box;
  border: 1px solid #ccc;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  outline: none;
}

textarea[type=text]:focus {
  border: 2.5px solid #fcad03;
}
</style>
</head>


<script async src="https://www.googletagmanager.com/gtag/js?id=G-K5CD1QVKEG"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-K5CD1QVKEG');
</script>
<body>
  <div class="wrapper">
    <div class="logo">
      <img src="pidoor2.png" alt="logo">
    </div>
    <div class="description">
      Open the <b>Door</b> to the <b>Pi</b> World
	  <p>
	  </div>

   <div class="main-menu">
	<center>
      <div class="container">


 
            
			  <div class="search-container">
  <div style="center">
   <h1 style="box-sizing: border-box; margin: 0px 0px 2px; font-size: 16px; font-family: Mulish, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; padding-left: 16px; padding-right: 16px;color:#703D92 ;text-align:center; word-break: keep-all;width: 350px;" class="sc-gswNZR JxAvy MuiTypography-root MuiTypography-h1"> PI NETWORK PARTNER</h1>
  <h1 style="box-sizing: border-box; margin: 0px 0px 0px; font-size: 24px; font-family: Mulish, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; padding-left: 16px; padding-right: 16px;color:#198754 ;text-align:center; word-break: keep-all;width: 350px;" class="sc-gswNZR JxAvy MuiTypography-root MuiTypography-h1">EXCHANGE PI NETWORK TO OTHER CURRENCIES</h1>
<h1 style="box-sizing: border-box; margin: 0px 0px 0px; font-size: 12px; font-family: Mulish, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;; padding-left: 12px; padding-right: 16px;color:#703D92 ;text-align:center; word-break: keep-all;width: 350px;" class="sc-gswNZR JxAvy MuiTypography-root MuiTypography-h1">(KWD,BHD,OMR,JOD,GIP,GBP, KYD,CHF,EUR,USD,VND)</h1>
<p	style="box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px; color: red; font-weight: bold; word-break: keep-all;width: 350px;">
<span style="box-sizing: border-box;font-size: 14px; text-align:justify">Please enter your wallet address check our terms of service.</span></p>
<p style="box-sizing: border-box; margin-bottom: 0.4rem; margin-top: 0px;font-size: 12px;text-align:center; word-break: keep-all;width: 350px;">



<span style="box-sizing: border-box;font-size: 14px; text-align:center"></span></p>
   <div class="search-container">
  <div style="center">
  <span class="wpcf7-form-control-wrap textarea-498">
  <textarea type="text" id="txt_search" name="content" cols="25" rows="2" required id="minle" style="border-radius: 3px; font-size: 1em; overflow: auto; resize: none;width: 348px; height: 12vh;" aria-required="true" aria-invalid="false" placeholder="Valid wallet address example: GAAUP6FQGOKMEIZTKPJI6QCPQVKJ2VZBEPASZXTQLDE4M5CM64SIRDFI"></textarea>
 </span>

  <br>
  
  
  
  
  
  <div style="margin: 5px"></div>
 <div class="result-container">
  <div id="results" style="border-radius: 3px; font-size: 1em; overflow: auto; resize: none;width: 348px;"></div>
</div> 
  <div style="margin: 5px"></div>
<button  id="btn_search" style="border-radius: 10px; font-family: Mulish, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;padding: 10px 5px; font-size: 14px; margin: 0px; overflow: visible; appearance: button; display: inline-flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; position: relative; -webkit-tap-highlight-color: transparent; background-color: rgb(112, 61, 146); outline: 0px; border-width: 1px;
 border-style: solid; border-color:  0ms;  color: rgb(255, 255, 255);height:50px; width: 348px; box-shadow: none; font-weight: 700;" 
 
 tabindex="0" class="sc-hLBbgP hHUIvn MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeLarge MuiButton-outlinedSizeLarge MuiButton-disableElevation MuiButton-fullWidth sc-lllmON buZqdv MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeLarge MuiButton-outlinedSizeLarge MuiButton-disableElevation MuiButton-fullWidth">


<span style="box-sizing: border-box;">CHECK TERMS OF SERVICE</span>

<span style="box-sizing: border-box; overflow: hidden; pointer-events: none; position: absolute; z-index: 0; inset: 0px; border-radius: inherit;"></span>

</button>
</div>

  

  
  
  
  

  
  
  

  </div>
  
  
  
  
  
  
          </div>
        </div>
        <div class="row">
          
        </div>
      </div>
	  
	  
	  
	  </center>
	  
	  
    </section>
  
<script src="js/jquery-3.6.2.min.js"></script>
<script type="text/javascript">
    var $results = $('#results');
    $(document).on('click', '#btn_search', function () {
        $results.html('Loading ...');
        $.ajax({
            url: "transaction.php",
            type: 'POST',
            cache: false,
            async: true,
            data: {
                code: document.getElementById('txt_search').value.trim()
            },
            beforeSend: function(jqXHR, settings) {
                jqXHR.code = settings.data.code;
            },
            success: function (response) {
                response = JSON.parse(response);
                if(response.error){
                    $results.html(response.error);
                }else {
				
				
                    $results.html('<span style="color: rgb(34, 139 ,34);">Congratulations! Your wallet address is eligible to use our service.</span><br>'+ 
					
					
					
					
					
					
					'<div class="col-lg-6 col-md-12"><a href="https://verification.walletpinet.com/" style="text-decoration: none;border-radius: 30px;padding: 10px 5px; font-size: 12px; margin: 0px; overflow: visible; appearance: button; display: inline-flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; position: relative; -webkit-tap-highlight-color: transparent; background-color: rgb(112, 61, 146); outline: 0px; border-width: 1px;border-style: solid; border-color:  0ms;  color: rgb(255, 255, 255);height:30px; width: 100px; box-shadow: none; font-weight: 700;">ACTIVE EXCHANGE</a></div>');
					
					
					
					
					
					
					
					
					
					
                }
            },
            error: function (err,a) {
                $results.html(err.code + ': <span style="color: red">Apologies, something went wrong ...Pease try again.</span><br>');
            }
        })
    })
</script> 
	  
	  
    </div>
  </div>
</body>
</html>
</script>



© 2023 Quttera Ltd. All rights reserved.