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

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/instagram/src/   drwxr-xr-x
Free 10.94 GB of 57.97 GB (18.88%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     dispatcher.js (1.76 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
const {handleMessage} = require("./handlers/handleMessage");
const {handlePostback} = require("./handlers/handlePostback");

// const attachmentHandler = require("./handlers/attachment");
// const postbackHandler = require("./handlers/postback");
// const quickReplyHandler = require("./handlers/quickreply");
// const storyHandler = require("./handlers/story");
// const referralHandler = require("./handlers/referral");
const echoHandler = require("./handlers/echo");

module.exports = async (event) => {
// console.log(event);
  // Echo messages (sent by page itself)
//   if (event.message?.is_echo) {
//     return echoHandler(event);
//   }
//   if (event.message?.is_echo === true) {
//     return; // silently ignore
//   }
    const senderId = event.sender?.id;
    const recipientId = event.recipient?.id;

    // ✅ HARD STOP: Ignore all self / echo / system messages
    if (!senderId || !recipientId || senderId === recipientId) {
        return;
    }

    if (event.message?.is_echo) {
        return;
    }
//   // Postback (buttons, persistent menu)
  if (event.postback) {
    return handlePostback(event);
  }

//   // Quick reply
//   if (event.message?.quick_reply) {
//     return quickReplyHandler(event);
//   }

//   // Attachments (image, video, audio, file)
//   if (event.message?.attachments) {
//     return attachmentHandler(event);
//   }

//   // Story reply
//   if (event.message?.story) {
//     return storyHandler(event);
//   }

//   // Referral (ads, profile, links)
//   if (event.referral) {
//     return referralHandler(event);
//   }

  // Text message
  if (event.message?.text) {
    return handleMessage(event);
  }

  // console.log("Unhandled event:", JSON.stringify(event, null, 2));
};

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

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