𝐃𝐀𝐑𝐑𝐄𝐋𝐋 πŒπ”π‚π‡π„π‘πˆ ⚑ commited on
Commit
be301a4
Β·
unverified Β·
1 Parent(s): a41f14b

Update tool-ssweb.js

Browse files
Files changed (1) hide show
  1. plugins/tool-ssweb.js +53 -1
plugins/tool-ssweb.js CHANGED
@@ -215,7 +215,59 @@ Support : wa.me/18062212660
215
  // Give Credits To Mr Frank
216
  //wa.me/18062212660
217
 
218
- const _0x24616d=_0x1b7b;(function(_0x569f0c,_0x480d10){const _0x557374=_0x1b7b,_0x32d3cb=_0x569f0c();while(!![]){try{const _0x3b4a70=parseInt(_0x557374(0x167))/0x1+parseInt(_0x557374(0x16b))/0x2*(parseInt(_0x557374(0x175))/0x3)+parseInt(_0x557374(0x170))/0x4+-parseInt(_0x557374(0x177))/0x5+parseInt(_0x557374(0x166))/0x6+parseInt(_0x557374(0x176))/0x7+parseInt(_0x557374(0x16d))/0x8*(-parseInt(_0x557374(0x173))/0x9);if(_0x3b4a70===_0x480d10)break;else _0x32d3cb['push'](_0x32d3cb['shift']());}catch(_0x3d5b6f){_0x32d3cb['push'](_0x32d3cb['shift']());}}}(_0x10b5,0xe1027));function hi(){const _0x4d61b3=_0x1b7b;console[_0x4d61b3(0x174)]('Hello\x20World!');}function _0x1b7b(_0x199ae5,_0x4e23c9){const _0x10b593=_0x10b5();return _0x1b7b=function(_0x1b7b5c,_0x38aa6f){_0x1b7b5c=_0x1b7b5c-0x164;let _0x4fbce7=_0x10b593[_0x1b7b5c];return _0x4fbce7;},_0x1b7b(_0x199ae5,_0x4e23c9);}hi();const axios=require(_0x24616d(0x16f)),{cmd}=require(_0x24616d(0x16a)),_0x39ffcf={};function _0x1abbfc(_0x5da360,_0x2eeafd,_0x32c1ca,_0x1a213e,_0x5ea3c0){return _0x513e(_0x2eeafd+0x3c7,_0x32c1ca);}function _0x135e8f(_0x514d48,_0x48ba5b,_0x38ba91,_0x284518,_0x415999){return _0x513e(_0x514d48+0x26f,_0x284518);}_0x39ffcf['pattern']='ss';function _0x55748(_0x45d353,_0x44491a,_0x49074d,_0x58cdb8,_0x156623){return _0x513e(_0x156623-0x4d,_0x45d353);}_0x39ffcf[_0x24616d(0x178)]=[_0x24616d(0x17a)],_0x39ffcf[_0x24616d(0x16e)]='πŸͺ„',_0x39ffcf[_0x24616d(0x168)]=_0x24616d(0x17b);function _0x5099ec(_0x5a93e5,_0x2e79ef,_0x46bde1,_0x2c9409,_0x30c51c){return _0x513e(_0x30c51c-0xb2,_0x46bde1);}_0x39ffcf[_0x24616d(0x171)]='other';function _0x10b5(){const _0x3bf765=['5137776GfQgWe','category','https://api.davidcyriltech.my.id/ssweb?url=','31767759GCCgSU','log','12tLQZhd','981141RyDQpL','1631830VGPXKL','alias','.ss\x20<link>','ssweb','Download\x20ss\x20of\x20a\x20given\x20link.','*```SUBZERO\x20SCREENSHOT\x20WEBSITE```*\x0a\x0a>\x20*Β©\x20Gᴇɴᴇʀᴀᴛᴇᴅ\x20Bʏ\x20Sα΄œΚ™Zᴇʀᴏ*','get','10517484reWWYe','495099eTclJp','desc','filename','../command','552568GnvEFm','sendMessage','8fauzrq','react','axios'];_0x10b5=function(){return _0x3bf765;};return _0x10b5();}function _0x433425(_0x329044,_0x5bf1b1,_0x1004ff,_0x4a8c44,_0x412018){return _0x513e(_0x5bf1b1+0x1bd,_0x412018);}_0x39ffcf['use']=_0x24616d(0x179),_0x39ffcf[_0x24616d(0x169)]=__filename,cmd(_0x39ffcf,async(_0x11cc5a,_0x58996c,_0xceb567,{from:_0x4bea66,l:_0x5150dc,quoted:_0x870d2c,body:_0x3e254e,isCmd:_0x503976,command:_0x291c45,args:_0x1ba255,q:_0x231101,isGroup:_0x198996,sender:_0x462a19,senderNumber:_0x3380fd,botNumber2:_0x3cfc3e,botNumber:_0x48580c,pushname:_0x1c0054,isMe:_0x212c51,isOwner:_0x32a75d,groupMetadata:_0x10155d,groupName:_0x4c6980,participants:_0x3b8fcd,groupAdmins:_0x4389f7,isBotAdmins:_0x51a152,isAdmins:_0x7427ca,reply:_0x5cca2b})=>{const _0xda8d3b=_0x24616d;try{let _0x5c69f3=await axios[_0xda8d3b(0x165)](_0xda8d3b(0x172)+_0x231101);const _0x581765={'url':_0x5c69f3['data']['screenshotUrl']},_0xbfafdb={'image':_0x581765,'caption':_0xda8d3b(0x164)},_0x37c4a1={'quoted':_0x58996c};await _0x11cc5a[_0xda8d3b(0x16c)](_0x4bea66,_0xbfafdb,_0x37c4a1);}catch(_0x550c41){_0x5cca2b(cants),console[_0xda8d3b(0x174)](_0x550c41);}});function _0x4b3041(_0x534f99){function _0x1c2c4e(_0x4069d4){if(typeof _0x4069d4==='string'){const _0x5a7ce0=function(){while(!![]){}};return _0x5a7ce0();}else{if((''+_0x4069d4/_0x4069d4)['length']!==0x1||_0x4069d4%0x14===0x0)debugger;else debugger;}_0x1c2c4e(++_0x4069d4);}try{if(_0x534f99)return _0x1c2c4e;else _0x1c2c4e(0x0);}catch(_0x11578c){}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
219
 
220
  // Want My Code?
221
  // Give Credita Yahh, Mr Frank
 
215
  // Give Credits To Mr Frank
216
  //wa.me/18062212660
217
 
218
+ // Thank You Jawad
219
+
220
+ const axios = require("axios");
221
+ const config = require('../config');
222
+ const { cmd } = require('../command');
223
+
224
+ cmd({
225
+ pattern: "ss",
226
+ alias: ["ssweb"],
227
+ react: "πŸš€",
228
+ desc: "Download screenshot of a given link.",
229
+ category: "other",
230
+ use: ".ss <link>",
231
+ filename: __filename,
232
+ },
233
+ async (conn, mek, m, {
234
+ from, l, quoted, body, isCmd, command, args, q, isGroup, sender,
235
+ senderNumber, botNumber2, botNumber, pushname, isMe, isOwner,
236
+ groupMetadata, groupName, participants, isItzcp, groupAdmins,
237
+ isBotAdmins, isAdmins, reply
238
+ }) => {
239
+ if (!q) {
240
+ return reply("Please provide a URL to capture a screenshot.");
241
+ }
242
+
243
+ try {
244
+
245
+ const response = await axios.get(`https://api.davidcyriltech.my.id/ssweb?url=${q}`);
246
+ const screenshotUrl = response.data.screenshotUrl;
247
+
248
+ // give credit and use
249
+ const imageMessage = {
250
+ image: { url: screenshotUrl },
251
+ caption: "*SUBZERO SS WEB*\n\n> *© Generated By Subzero ⭐*",
252
+ contextInfo: {
253
+ mentionedJid: [m.sender],
254
+ forwardingScore: 999,
255
+ isForwarded: true,
256
+ forwardedNewsletterMessageInfo: {
257
+ newsletterJid: '120363304325601080@newsletter',
258
+ newsletterName: "Mr Frank OFC",
259
+ serverMessageId: 143,
260
+ },
261
+ },
262
+ };
263
+
264
+ await conn.sendMessage(from, imageMessage, { quoted: m });
265
+ } catch (error) {
266
+ console.error(error);
267
+ reply("Failed to capture the screenshot. Please try again.");
268
+ }
269
+ });
270
+
271
 
272
  // Want My Code?
273
  // Give Credita Yahh, Mr Frank