From c3f4cee5b83161e59a05fade58cf9c42378551ea Mon Sep 17 00:00:00 2001 From: Fernando Date: Tue, 5 Nov 2024 08:42:44 -0300 Subject: [PATCH 1/2] fix --- .js | 0 Discord/discordIndex.js | 9 +- Firebase/models.js | 2 +- functions.js | 182 +++++++++++------------------- index.js | 49 +++++--- public/assets/svg/bakcups.svg | 1 + public/css/backups.css | 119 +++++++++++++++++++ public/css/reusable/styleRoot.css | 3 +- public/js/backups.js | 0 public/js/payment.js | 11 +- routes/mercadoPago.js | 27 ++++- test/modelo.ejs | 6 +- views/backups.ejs | 100 ++++++++++++++++ views/reusable/header.ejs | 13 ++- 14 files changed, 368 insertions(+), 154 deletions(-) create mode 100644 .js create mode 100644 public/assets/svg/bakcups.svg create mode 100644 public/css/backups.css create mode 100644 public/js/backups.js create mode 100644 views/backups.ejs diff --git a/.js b/.js new file mode 100644 index 0000000..e69de29 diff --git a/Discord/discordIndex.js b/Discord/discordIndex.js index b6d0bcd..8d50e83 100755 --- a/Discord/discordIndex.js +++ b/Discord/discordIndex.js @@ -1616,7 +1616,6 @@ module.exports = (Discord2, client) => { new Discord.ButtonBuilder() .setStyle(5) .setLabel('Ir para o canal de voz') - .setEmoji(await require('./emojisGet').redirect) .setURL(`https://discord.com/channels/${interaction.guild.id}/${voiceChannel.id}`) ) ] @@ -1634,7 +1633,6 @@ module.exports = (Discord2, client) => { new Discord.ButtonBuilder() .setStyle(5) .setLabel('Ir para o canal de voz') - .setEmoji(await require('./emojisGet').redirect) .setURL(`https://discord.com/channels/${interaction.guild.id}/${voiceChannel.id}`) ) ] @@ -1694,7 +1692,6 @@ module.exports = (Discord2, client) => { new Discord.ButtonBuilder() .setStyle(5) .setLabel('Ir para o Ticket') - .setEmoji(await require('./emojisGet').redirect) .setURL(`https://discord.com/channels/${interaction.guild.id}/${interaction.channelId}`) ) ] @@ -2144,8 +2141,7 @@ module.exports.sendProductPayment = async (params, id, type) => { } carrinhos[params.userID] = null } - console.log('ResultEstoque:', result); - + if (result == true) { const user = await client.users.fetch(params.userID); @@ -2155,8 +2151,6 @@ module.exports.sendProductPayment = async (params, id, type) => { let products = serverData.products - console.log('Carrinho:', carrinho); - for (let index = 0; index < carrinho.length; index++) { const element = carrinho[index]; var product = await products.find(product => product.productID == element.product) @@ -2278,7 +2272,6 @@ module.exports.sendProductPayment = async (params, id, type) => { new Discord.ButtonBuilder() .setStyle(5) .setLabel('Ir para o produto') - .setEmoji(await require('./emojisGet').redirect) .setURL(`https://discord.com/channels/${params.serverID}/${findChannelProduct.id}`) )] } diff --git a/Firebase/models.js b/Firebase/models.js index 9be2333..53308a5 100755 --- a/Firebase/models.js +++ b/Firebase/models.js @@ -36,7 +36,7 @@ module.exports = { firebaseData = firebaseData.doc(props.doc) } if (props.hasOwnProperty('where')) { - firebaseData = firebaseData.where(props.where[0],props.where[1],props.where[2]) + firebaseData = firebaseData.where(props.where[0] ,props.where[1],props.where[2]) } return await firebaseData.get().then(async (res) => { let data diff --git a/functions.js b/functions.js index cad0eda..db2dfe4 100755 --- a/functions.js +++ b/functions.js @@ -166,13 +166,13 @@ module.exports = { }, authGetState: async (req, res, next) => { try { - + if (!req.session.uid) return res.redirect('/?error=Faca login novamente!'); - let user = await db.findOne({colecao:'users',doc:req.session.uid}) + let user = await db.findOne({ colecao: 'users', doc: req.session.uid }) + - if (req.cookies && 'token' in req.cookies) { let verify = await verificarToken(req, res, await req.cookies.token, process.env.TOKENCODE) if (verify == 'invalid') { @@ -188,9 +188,9 @@ module.exports = { if (!req.session.pass && !req.url.includes('/security/pass')) { return res.redirect(`/security/pass`); } - - - + + + if (!req.url.includes('/security/code')) { let securityExist = 'security' in user let emailVerifyExist = securityExist ? 'emailVerify' in user.security : false @@ -204,21 +204,21 @@ module.exports = { if (securityExist2FA == false || (securityExist2FA == true && user.security.data2fa.active == false)) { if (req.url.includes('/security/code/2fa')) { return res.redirect('/dashboard') - }else{ + } else { return next() } - }else { + } else { if (securityExist == true && (req.cookies && req.cookies.verify2fa)) { let verify = await verificarToken(req, res, await req.cookies.verify2fa, process.env.TOKENCODE2FA) if (verify == 'invalid') { if (!req.url.includes('/security/code/2fa')) { await res.cookie('verify2fa', '', { httpOnly: true, expires: new Date(0) }); return res.redirect('/security/code/2fa') - }else{ + } else { return next() } } - }else{ + } else { await res.cookie('verify2fa', '', { httpOnly: true, expires: new Date(0) }); return res.redirect('/security/code/2fa') } @@ -227,20 +227,20 @@ module.exports = { next() } catch (error) { console.log(error); - + } }, authPostState: async (req, res, next) => { try { if (!req.session.uid) return res.redirect('/logout?error=Faca login!'); - let user = await db.findOne({colecao:'users',doc:req.session.uid}) - if (user && 'status' in user && user.status && user.status.type != 'active' ) { + let user = await db.findOne({ colecao: 'users', doc: req.session.uid }) + if (user && 'status' in user && user.status && user.status.type != 'active') { if (user.status.type == 'banned') { return res.redirect('/logout?error=Sua conta foi banida!') } }; - + let verifyToken = await verificarToken(req, res, req.cookies.token) if (verifyToken == 'invalid' || !req.cookies.token) { try { @@ -262,7 +262,7 @@ module.exports = { } } catch (error) { console.log(error); - + } }, generateSession: async (req, res, email, uid) => { @@ -294,63 +294,49 @@ module.exports = { return } } - const assinatura = await stripe.subscriptions.retrieve(server.subscription); - if (assinatura) { - if ('type' in server && server.type == 'pix') { - if (assinatura.status == 'past_due' || assinatura.status == 'canceled') { - await db.update('servers', req.params.id, { - assinante: false, - payment_status: "cancel", - isPaymented: false - }) - res.redirect('/dashboard?error=Assinatura vencida!') - } else { - next() - } - } else { + const hoje = Date.now(); + if ('type' in server && server.type == 'pix') { + const expires_at = new Date(server.subscriptionData.expires_at * 1000); + if (expires_at < hoje) { + await db.update('servers', req.params.id, { + payment_status: "paused", + isPaymented: false + }) + return res.redirect('/payment/' + server.id) + }else{ + next() + } + } else { + const assinatura = await stripe.subscriptions.retrieve(server.subscription); + if (assinatura) { const tempoUnixConvert = new Date(assinatura.current_period_end * 1000); - const hoje = new Date(); const diferencaEmMilissegundos = tempoUnixConvert - hoje; const diasRestantes = Math.ceil(diferencaEmMilissegundos / (1000 * 60 * 60 * 24)); - if (server.payment_status == "paused") { - res.redirect('/dashboard?error=Sua assinatura esta pausada!') + if (server.payment_status == "paused" || assinatura.status == "canceled") { + await db.update('servers', req.params.id, { + + payment_status: "cancel", + isPaymented: false + }) + res.redirect('/payment/' + server.id) return } - switch (assinatura.status) { - case 'active': - if (diasRestantes <= 3) { - req.query.lastdays = diasRestantes - } - next() - break; - case 'canceled': - await db.update('servers', req.params.id, { - assinante: false, - payment_status: "cancel", - isPaymented: false - }) - res.redirect('/dashboard?error=Sua assinatura foi cancelada!') - break; - default: - next() - break; + if (diasRestantes <= 3) { + req.query.lastdays = diasRestantes } - + next() + } else { + res.redirect('/?error=nao foi possivel localizar a assinatura') } - } else { - res.redirect('/?error=nao foi possivel localizar a assinatura') } - - - } catch (error) { console.log(error); res.redirect('/?error=Erro ao verificar os dados da assinatura!') } } else { - res.redirect('/?error=Erro ao recuperar o servidor') + res.redirect('/?error=Servidor nao encontrado!') return } @@ -438,7 +424,7 @@ module.exports = { comprimAndRecort: async (arquivoOrigem, novoCaminho) => { const metadata = await sharp(arquivoOrigem).metadata(); return await sharp(arquivoOrigem, { animated: metadata.pages > 1 }) - [metadata.format === 'gif' && metadata.pages > 1 ? 'gif' : 'png']({ quality: 70 }) + [metadata.format === 'gif' && metadata.pages > 1 ? 'gif' : 'png']({ quality: 70 }) .toFile(novoCaminho) .then(() => fs.unlink(arquivoOrigem)) .catch(err => ({ error: true, err })); @@ -475,20 +461,20 @@ module.exports = { const file = await fs.readFileSync(bannerPath); const buffer = Buffer.from(file, 'binary'); const metadata = await sharp(buffer).metadata(); - + const newBuffer = await sharp(buffer, { animated: metadata.pages > 1 }) - [metadata.format === 'gif' && metadata.pages > 1 ? 'gif' : 'jpeg']() + [metadata.format === 'gif' && metadata.pages > 1 ? 'gif' : 'jpeg']() .toBuffer(); - - const attachment = new Discord.AttachmentBuilder(newBuffer, { - name: `image.${metadata.format === 'gif' && metadata.pages > 1 ? 'gif' : 'jpg'}` + + const attachment = new Discord.AttachmentBuilder(newBuffer, { + name: `image.${metadata.format === 'gif' && metadata.pages > 1 ? 'gif' : 'jpg'}` }); const dbChannel = await client.guilds.cache.get(botConfig.dbServer) .channels.cache.get(botConfig.dbChannel); - + const dbres = await dbChannel.send({ files: [attachment] }); - + return dbres.attachments.first().url; }, addFreeMonthSubscription: async (subscriptionID,) => { @@ -514,22 +500,12 @@ module.exports = { }, createAccount: async (data, type, price, functions) => { let user = await db.findOne({ colecao: 'users', doc: data.metadata.uid }) - if (type == 'pix') { - const subscription = await stripe.subscriptions.create({ - // customer: user.customer, - customer: await functions.createCustomer('test', 'test@gmail.com'), - items: [{ - price: price.id, - }], - collection_method: 'send_invoice', - days_until_due: 5, - }); - data.subscription = await subscription.id - data.created = subscription.created, - data.payment_status = await subscription.status - data.customer = user.customer + if (type != 'pix') { + data.customer = await functions.createCustomer(user.username, user.email) + data.payment_status = 'paid' + data.subscription = crypto.randomBytes(10).toString('hex') data.customer_details = { - email: null, + email: user.email, name: null, phone: null } @@ -537,10 +513,11 @@ module.exports = { let servers = await functions.reqServerByTime(user, functions.findServers) let filterServers = await servers.find(server => server.id == data.metadata.serverID) - var dataUnixConvert = new Date(parseInt(data.created) * 1000) + var dataUnixConvert = new Date(parseInt(Date.now()) * 1000) dataUnixConvert.setMonth(dataUnixConvert.getMonth() + 1); var novaDataUnix = Math.floor(dataUnixConvert.getTime() / 1000); - let serverADD = { + + db.create('servers', data.metadata.serverID, { assinante: true, type: type, id: data.metadata.serverID, @@ -554,48 +531,21 @@ module.exports = { vendasActive: true, botActive: true, subscriptionData: { - lastPayment: data.created, - created: data.created, + lastPayment: Date.now(), + created: Date.now(), email: data.customer_details.email, name: data.customer_details.name, phone: data.customer_details.phone, expires_at: novaDataUnix, customer: data.customer } - } - db.create('servers', data.metadata.serverID, serverADD) + }) try { db.delete(`preServers`, data.metadata.serverID) } catch (error) { } }, - renovarPix: async (subscriptionID, time) => { - try { - const subscription = await stripe.subscriptions.retrieve(subscriptionID); - const currentPeriodEnd = Math.floor(Date.now() / 1000); - const billingInterval = time ? time : subscription.items.data[0].price.recurring.interval; - let additionalTime; - - if (billingInterval === 'month' || billingInterval == 'mensal') { - additionalTime = 30 * 24 * 60 * 60; - } else if (billingInterval === 'year' || billingInterval == 'anual') { - additionalTime = 365 * 24 * 60 * 60; - } else if (billingInterval === 'quarter' || billingInterval === 'trimestral') { - additionalTime = 3 * 30 * 24 * 60 * 60; - } - - const newTrialEnd = currentPeriodEnd + additionalTime; - - await stripe.subscriptions.update(subscriptionID, { - trial_end: newTrialEnd, - proration_behavior: 'none', - }); - } catch (error) { - console.log(error); - - } - }, sendEmail: async (email, subject, html) => { try { const transporter = await nodemailer.createTransport({ @@ -628,15 +578,15 @@ module.exports = { return `${iv.toString('hex')}:${encrypted}`; }, - descriptografar:async (encrypted, key) => { - const [iv, data]= await encrypted.split(':') + descriptografar: async (encrypted, key) => { + const [iv, data] = await encrypted.split(':') const decipher = crypto.createDecipheriv(process.env.ALGORITHM, Buffer.from(key, 'hex'), Buffer.from(iv, 'hex')); let decrypted = decipher.update(data, 'hex', 'utf8'); decrypted += decipher.final('utf8'); return decrypted; }, - readTemplate: async (relativePath, data)=>{ - let caminho = await path.join(__dirname, '/templates',relativePath) + readTemplate: async (relativePath, data) => { + let caminho = await path.join(__dirname, '/templates', relativePath) return await ejs.renderFile(caminho, data); } } \ No newline at end of file diff --git a/index.js b/index.js index 3d3005c..82bc5b8 100755 --- a/index.js +++ b/index.js @@ -116,7 +116,7 @@ app.use('/', securityRoutes); app.get('/', async (req, res) => { - res.render('index', { host: `${webConfig.host}`,isloged: req.session.uid && req.session.email ? true : false, user: { id: req.session.uid ? req.session.uid : null }, error: req.query.error ? req.query.error : '' }) + res.render('index', { host: `${webConfig.host}`, isloged: req.session.uid && req.session.email ? true : false, user: { id: req.session.uid ? req.session.uid : null }, error: req.query.error ? req.query.error : '' }) }) @@ -215,7 +215,7 @@ app.get('/payment/:id', async (req, res) => { if ('pass' in user == true) { delete user.security } - res.render('payment', { host: `${webConfig.host}`, user: user}) + res.render('payment', { host: `${webConfig.host}`, user: user }) }) app.get('/server/:id', functions.authGetState, functions.subscriptionStatus, async (req, res) => { @@ -312,7 +312,7 @@ app.get('/server/sales/:id', functions.authGetState, functions.subscriptionStatu }; }); - + let productsSimple = server.products.filter(product => { let typeProduct = 'typeProduct' in product ? product.typeProduct : 'normal'; return typeProduct != 'multiple'; @@ -337,14 +337,10 @@ app.get('/server/sales/:id', functions.authGetState, functions.subscriptionStatu } }) - res.render('sales', { perms: verifyPerms.perms, chatItens: chatItens, host: `${webConfig.host}`, bankData: bankData, user: user, server: server,cargosString: JSON.stringify(roleObjects), channels: textChannels, channelsString: JSON.stringify(textChannels), formatarMoeda: functions.formatarMoeda,productString : JSON.stringify(productsSimple) }) + res.render('sales', { perms: verifyPerms.perms, chatItens: chatItens, host: `${webConfig.host}`, bankData: bankData, user: user, server: server, cargosString: JSON.stringify(roleObjects), channels: textChannels, channelsString: JSON.stringify(textChannels), formatarMoeda: functions.formatarMoeda, productString: JSON.stringify(productsSimple) }) }) -app.post('/test', upload.fields([{ name: 'productLogo', maxCount: 1 }, { name: 'backGround', maxCount: 1 }]), (req, res) => { - console.log(req.body); -}) - app.get('/server/personalize/:id', functions.authGetState, functions.subscriptionStatus, async (req, res) => { let serverID = req.params.id let user = await db.findOne({ colecao: 'users', doc: req.session.uid }) @@ -394,6 +390,35 @@ app.get('/server/personalize/:id', functions.authGetState, functions.subscriptio res.render('personalize', { host: `${webConfig.host}`, channels: textChannels, chatItens: chatItens, cargos: roleObjects, user: user, server: server }) }) +app.get('/server/backups/:id', functions.authGetState, functions.subscriptionStatus, async (req, res) => { + let serverID = req.params.id + let user = await db.findOne({ colecao: 'users', doc: req.session.uid }) + if ('pass' in user == true) { + delete user.security + } + let server = await db.findOne(({ colecao: 'servers', doc: serverID })) + if (server.plan == 'inicial') { + res.redirect(`/server/${serverID}?error=Seu plano não dá acesso a essa funcionalidade`) + return + } + let backupCode + if ('backupCode' in server == false) { + backupCode = ('' + Math.floor(Math.random() * 1e6)).slice(-6) + while (await db.findOne({colecao:'servers', where:['backupCode','==', backupCode]}).then(data=>data.error == false)) { + backupCode = ('' + Math.floor(Math.random() * 1e6)).slice(-6) + break + } + db.update('servers', serverID,{backupCode:backupCode}) + }else{ + backupCode = server.backupCode + } + let verifyPerms = await functions.verifyPermissions(user.id, server.id, Discord, client) + if (verifyPerms.error == true) { + res.redirect('/dashboard?error=Erro ao verificar a permissão do bot') + return + } + res.render('backups', { host: `${webConfig.host}`,backupCode:backupCode ,user: user, server: server }) +}) app.get('/server/analytics/:id', functions.authGetState, functions.subscriptionStatus, async (req, res) => { @@ -638,8 +663,6 @@ app.get('/copyText/:copy', async (req, res) => { }) - - //-----POST------- app.post('/firebase/configs', functions.authPostState, (req, res) => { @@ -1151,14 +1174,14 @@ app.post('/personalize/autoReact', functions.authPostState, async (req, res) => let personalize = 'personalize' in server ? server.personalize : {} personalize.react = 'react' in personalize ? personalize.react : [] personalize.react.push({ - channel:req.body.channelID, + channel: req.body.channelID, emoji: req.body.emoji }) - + db.update('servers', req.body.serverID, { personalize: personalize }) - + if (!res.headersSent) { res.status(200).json({ success: true, }) } diff --git a/public/assets/svg/bakcups.svg b/public/assets/svg/bakcups.svg new file mode 100644 index 0000000..577724c --- /dev/null +++ b/public/assets/svg/bakcups.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/css/backups.css b/public/css/backups.css new file mode 100644 index 0000000..ca1c557 --- /dev/null +++ b/public/css/backups.css @@ -0,0 +1,119 @@ +#main-containner { + width: calc(100% - 18em); + position: relative; + top: 5em; + left: 18em; + display: flex; + justify-content: center; + align-items: center; + padding: 1em; + +} + +#main-content { + width: 100%; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + gap: 1.5em; + margin-top: 5em; +} + + +#main-code-containner{ + width: 100%; + margin-top: 2em; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + +} + +#main-code-content{ + padding: 1.5em; + width: 100%; + border-radius: var(--border-radius-min); + background-color: var(--secundary-color); +} + + +#code-number-containner{ + width: 100%; + display: flex; + align-items: center; + flex-direction: column; +} +#code-number-content{ + display: flex; + gap: 2em; + justify-content: center; + align-items: center; + +} + +.code-number-item{ + font-size: 1.8em; + font-weight: 800; + padding: 0.8em; + border-radius: var(--border-radius-mid); + color: var(--color-text-primary); + font-family: 'poppins'; + background-color: var(--opacity-color-purple); +} +#code-buttons-containner{ + margin-top: 3em; + display: flex; + justify-content: center; + align-items: center; + gap: 2em; +} + +#copy-code-button,#generate-new-code{ + max-width: 15em; +} + +#main-content-row{ + width: 100%; + display: flex; + justify-content: center; + flex-wrap: wrap; + flex-direction: column; + gap: 2em; + padding: 1em; + padding-right: 3em; + padding-left: 3em; +} +#backup-options-containner{ + display: flex; + gap: 3em; + width: 100%; + justify-content: space-between; + +} +.itens-col{ + width: 100%; +} +#auth-system-buttons{ + width: 100%; + display: flex; + justify-content: center; + gap: 1.5em; + margin-top: 2em; +} + +#auth-system-mensage{ + height:6em; +} +#auth-system-inputs{ + display: flex; + flex-direction: column; + gap: 1em; +} +.itens-content-col{ + padding: 1em; +} +#recovery-button-init{ + margin-top: 2em; +} \ No newline at end of file diff --git a/public/css/reusable/styleRoot.css b/public/css/reusable/styleRoot.css index 857173e..0da02b3 100755 --- a/public/css/reusable/styleRoot.css +++ b/public/css/reusable/styleRoot.css @@ -368,7 +368,7 @@ a { flex-direction: column; position: relative; border-radius: var(--border-radius-mid); - background-color: var(--tertiary-color); + background-color: var(--secundary-color); } .itens-content-col{ width: 100%; @@ -382,6 +382,7 @@ a { .inputs-col-content{ width: 100%; display: flex; + gap: 0.1em; flex-direction: column; } .hidden{ diff --git a/public/js/backups.js b/public/js/backups.js new file mode 100644 index 0000000..e69de29 diff --git a/public/js/payment.js b/public/js/payment.js index aced4df..d956a2e 100755 --- a/public/js/payment.js +++ b/public/js/payment.js @@ -220,8 +220,6 @@ $.ajax({ verifyPrice() }) document.getElementById('confirm-subscription').addEventListener('click', async () => { - console.log(1); - if (!selectPlanInput.getValue()) { errorNotify('Selecione um plano primeiro!') return @@ -243,11 +241,8 @@ $.ajax({ multply = 12 } } - console.log(selectMethodPlanInput.getValue().value); - + if (selectMethodPlanInput.getValue().value == 'stripe') { - console.log(3); - await $.ajax({ traditional: true, url: '/subscription/create', @@ -273,8 +268,6 @@ $.ajax({ } }) } else { - console.log(2); - await $.ajax({ traditional: true, url: '/pix/create', @@ -290,8 +283,6 @@ $.ajax({ }), dataType: 'json', success: function (response) { - console.log(response); - if (response.success == true) { console.log(response); document.getElementById(`popup-pix-pay-containner`).style.display = 'flex' diff --git a/routes/mercadoPago.js b/routes/mercadoPago.js index 2142ae0..c5c19c1 100755 --- a/routes/mercadoPago.js +++ b/routes/mercadoPago.js @@ -114,7 +114,32 @@ router.post('/mercadopago/webhook', async (req, res) => { } let serverP = await db.findOne({ colecao: 'servers', doc: metadataP.serverID }) if (serverP.error == false) { - await functions.renovarPix(serverP.subscription, metadataP.time) + try { + const currentPeriodEnd = Math.floor(Date.now() / 1000); + let additionalTime; + + if (time === 'month' || time == 'mensal') { + additionalTime = 30 * 24 * 60 * 60; + } else if (time === 'year' || time == 'anual') { + additionalTime = 365 * 24 * 60 * 60; + } else if (time === 'quarter' || time === 'trimestral') { + additionalTime = 3 * 30 * 24 * 60 * 60; + } + + const newTrialEnd = currentPeriodEnd + additionalTime; + + let subscriptionData = serverP.subscriptionData + subscriptionData.expires_at = newTrialEnd + subscriptionData.lastPayment = Date.now() + db.update('servers', metadataP.serverID, { + isPaymented: true, + assinante:true, + payment_status:'paid', + subscriptionData: subscriptionData + }) + } catch (error) { + console.log(error); + } } else { await functions.createAccount({ metadata: { diff --git a/test/modelo.ejs b/test/modelo.ejs index 37f148c..0de03c6 100755 --- a/test/modelo.ejs +++ b/test/modelo.ejs @@ -3,19 +3,19 @@ <%- include('./reusable/head.ejs') %> - +
- <%- include('./reusable/header.ejs',) %> + <%- include('./reusable/header.ejs',{index:}) %>
<%- include('./reusable/script.ejs') %> - + \ No newline at end of file diff --git a/views/backups.ejs b/views/backups.ejs new file mode 100644 index 0000000..fc99a67 --- /dev/null +++ b/views/backups.ejs @@ -0,0 +1,100 @@ + + + + <%- include('./reusable/head.ejs') %> + SDK - Backups + + + +
+ +
+ <%- include('./reusable/header.ejs',{index:7}) %> +
+
+
+
+

Codigo de Backup desse servidor:

+
+
+
<%= Array.from(backupCode)[0] %>
+
<%= Array.from(backupCode)[1] %>
+
<%= Array.from(backupCode)[2] %>
+
<%= Array.from(backupCode)[3] %>
+
<%= Array.from(backupCode)[4] %>
+
<%= Array.from(backupCode)[5] %>
+
+
+
+ + +
+
+ +
+
+
+

Auth System

+

Transfira os usuários verificados para um novo servidor do Discord!

+
+
+

Preencha os dados abaixo para enviar uma mensagem com o link de autenticação.

+ +
+
+ + +
+
+ + +
+
+ +
+ + +
+
+
+
+

Recovery

+

Recupere dados de outro servidor para esse de forma automatica!

+
+
+
+ + +
+
+ +
+
+ +
+
+
+
+
+
+
+ <%- include('./reusable/script.ejs') %> + + + + \ No newline at end of file diff --git a/views/reusable/header.ejs b/views/reusable/header.ejs index 2d15c0d..c6be611 100755 --- a/views/reusable/header.ejs +++ b/views/reusable/header.ejs @@ -214,6 +214,17 @@ + +
  • +
    + +
    +
    + Backups +
    +
    +
  • +
    - +
  • From c4ffde0b4f0158bc87565a3e91c11e47d911c495 Mon Sep 17 00:00:00 2001 From: Fernando Date: Thu, 7 Nov 2024 06:24:49 -0300 Subject: [PATCH 2/2] fix --- .github/workflows/main.yml | 0 .gitignore | 0 Discord/createCartMessage.js | 0 Discord/createProductMessage.js | 0 Discord/createProductMessageEmbend.js | 0 Discord/createTicketMensage.js | 0 Discord/discordIndex.js | 0 Discord/discordRoutes.js | 0 Discord/emojisGet.js | 0 Discord/handler/commands.js | 0 Discord/handler/commands/anuncio.js | 0 Discord/handler/commands/aprovar.js | 0 Discord/handler/commands/botconfig.js | 0 Discord/handler/commands/cobrar.js | 0 Discord/handler/commands/enviar.js | 0 Discord/handler/commands/produto.js | 0 Discord/handler/commands/ticket.js | 0 Discord/newTicketFunction.js | 0 Firebase/db.js | 0 Firebase/models.js | 0 README.md | 0 cart.list | 0 config/bot-config.js | 0 config/mercadoPagoData.json | 0 config/web-config.js | 0 ecosystem.config.js | 0 functions.js | 0 index.js | 0 package-lock.json | 0 package.json | 0 public/assets/svg/add.svg | 0 public/assets/svg/analise.svg | 0 public/assets/svg/bandeira-br.svg | 0 public/assets/svg/bandeira-eua.svg | 0 public/assets/svg/close.svg | 0 public/assets/svg/comando.svg | 0 public/assets/svg/config.svg | 0 public/assets/svg/coroa.svg | 0 public/assets/svg/cracha.svg | 0 public/assets/svg/cupom.svg | 0 public/assets/svg/discord.svg | 0 public/assets/svg/emoji-feliz.svg | 0 public/assets/svg/info.svg | 0 public/assets/svg/instagram.svg | 0 public/assets/svg/logo.svg | 0 public/assets/svg/logoNoText.svg | 0 public/assets/svg/lua.svg | 0 public/assets/svg/menu-circulo.svg | 0 public/assets/svg/menu-linha.svg | 0 public/assets/svg/message-square-text.svg | 0 public/assets/svg/notificacao.svg | 0 public/assets/svg/painel.svg | 0 public/assets/svg/send_mlnpnnz66pyj.svg | 0 public/assets/svg/setinha.svg | 0 public/assets/svg/sol.svg | 0 public/assets/svg/suporte.svg | 0 public/assets/svg/ticket.svg | 0 public/assets/svg/trash.svg | 0 public/assets/svg/vendas.svg | 0 public/css/NotFoundPage.css | 0 public/css/admin.css | 0 public/css/analytics.css | 0 public/css/chatLive.css | 0 public/css/config.css | 0 public/css/controlLogin.css | 0 public/css/cupom.css | 0 public/css/dashboard.css | 0 public/css/header.css | 0 public/css/notify.css | 0 public/css/painel.css | 0 public/css/payment.css | 0 public/css/perms.css | 0 public/css/personalize.css | 0 public/css/reusable/styleRoot.css | 0 public/css/sales.css | 0 public/css/style.css | 0 public/css/ticket.css | 0 public/css/topHeader.css | 0 public/css/updates.css | 0 public/css/userConfig.css | 0 public/font/Poppins/OFL.txt | 0 public/font/Poppins/Poppins-Black.ttf | Bin public/font/Poppins/Poppins-BlackItalic.ttf | Bin public/font/Poppins/Poppins-Bold.ttf | Bin public/font/Poppins/Poppins-BoldItalic.ttf | Bin public/font/Poppins/Poppins-ExtraBold.ttf | Bin public/font/Poppins/Poppins-ExtraBoldItalic.ttf | Bin public/font/Poppins/Poppins-ExtraLight.ttf | Bin public/font/Poppins/Poppins-ExtraLightItalic.ttf | Bin public/font/Poppins/Poppins-Italic.ttf | Bin public/font/Poppins/Poppins-Light.ttf | Bin public/font/Poppins/Poppins-LightItalic.ttf | Bin public/font/Poppins/Poppins-Medium.ttf | Bin public/font/Poppins/Poppins-MediumItalic.ttf | Bin public/font/Poppins/Poppins-Regular.ttf | Bin public/font/Poppins/Poppins-SemiBold.ttf | Bin public/font/Poppins/Poppins-SemiBoldItalic.ttf | Bin public/font/Poppins/Poppins-Thin.ttf | Bin public/font/Poppins/Poppins-ThinItalic.ttf | Bin public/img/ANDROIDPC.png | Bin public/img/CAPA-PIXEL.gif | Bin public/img/Chrome.png | Bin public/img/DESCONHECIDOPC.png | Bin public/img/Desconhecido.png | Bin public/img/Edge.png | Bin public/img/Firefox.png | Bin public/img/IOSPC.png | Bin public/img/LINUXPC.png | Bin public/img/LOGO-PIXEL.gif | Bin public/img/LOGOFUNDO.png | Bin public/img/Opera.png | Bin public/img/PIX.png | Bin public/img/Safari.png | Bin public/img/Vivaldi.png | Bin public/img/WINDOWSPC.png | Bin public/img/boleto.png | Bin public/img/cartao.png | Bin public/img/logo-branca.png | Bin public/img/logo-color-1.png | Bin public/img/logo-preta.png | Bin public/img/logo-text-dark.png | Bin public/img/logo-text-ligth.png | Bin public/img/multipleProductEmbend.jpeg | Bin public/img/normalProductEmbend.jpeg | Bin public/img/singleProductEmbend.jpeg | Bin public/js/ADMlogin.js | 0 public/js/admin.js | 0 public/js/analytics.js | 0 public/js/chatLive.js | 0 public/js/config.js | 0 public/js/controlLogin.js | 0 public/js/cupom.js | 0 public/js/dashboard.js | 0 public/js/notify.js | 0 public/js/painel.js | 0 public/js/payment.js | 0 public/js/perms.js | 0 public/js/personalize.js | 0 public/js/sales.js | 0 public/js/script.js | 0 public/js/theme.js | 0 public/js/ticket.js | 0 public/js/userConfig.js | 0 public/js/verifyPass.js | 0 public/src/app.js | 0 public/src/controller/AppController.js | 0 public/src/util/Format.js | 0 public/src/util/selectMenu.js | 0 public/src/util/selectRadio.js | 0 routes/mercadoPago.js | 0 routes/security.js | 0 stripe/productsRoutes.js | 0 stripe/stripeRoutes.js | 0 templates/codeMail.ejs | 0 templates/passMail.ejs | 0 test/modelo.ejs | 0 uploads/.gitkeep | 0 uploads/personalize/avatar/.gitkeep | 0 uploads/personalize/ticketBanner/.gitkeep | 0 uploads/produtos/.gitkeep | 0 uploads/produtos/background/.gitkeep | 0 uploads/produtos/logos/.gitkeep | 0 views/NotFoundPage.ejs | 0 views/admin.ejs | 0 views/analytics.ejs | 0 views/codeVerify.ejs | 0 views/config.ejs | 0 views/controlLogin.ejs | 0 views/copyText.ejs | 0 views/cupom.ejs | 0 views/dashboard.ejs | 0 views/index.ejs | 0 views/painel.ejs | 0 views/passPage.ejs | 0 views/payment.ejs | 0 views/perms.ejs | 0 views/personalize.ejs | 0 views/redirect.ejs | 0 views/reusable/body.ejs | 0 views/reusable/chatLive.ejs | 0 views/reusable/head.ejs | 0 views/reusable/header.ejs | 0 views/reusable/passVerify.ejs | 0 views/reusable/script.ejs | 0 views/reusable/topHeader.ejs | 0 views/reusable/updates.ejs | 0 views/sales.ejs | 0 views/ticket.ejs | 0 views/updatePayment.ejs | 0 views/userConfig.ejs | 0 190 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 .github/workflows/main.yml mode change 100755 => 100644 .gitignore mode change 100755 => 100644 Discord/createCartMessage.js mode change 100755 => 100644 Discord/createProductMessage.js mode change 100755 => 100644 Discord/createProductMessageEmbend.js mode change 100755 => 100644 Discord/createTicketMensage.js mode change 100755 => 100644 Discord/discordIndex.js mode change 100755 => 100644 Discord/discordRoutes.js mode change 100755 => 100644 Discord/emojisGet.js mode change 100755 => 100644 Discord/handler/commands.js mode change 100755 => 100644 Discord/handler/commands/anuncio.js mode change 100755 => 100644 Discord/handler/commands/aprovar.js mode change 100755 => 100644 Discord/handler/commands/botconfig.js mode change 100755 => 100644 Discord/handler/commands/cobrar.js mode change 100755 => 100644 Discord/handler/commands/enviar.js mode change 100755 => 100644 Discord/handler/commands/produto.js mode change 100755 => 100644 Discord/handler/commands/ticket.js mode change 100755 => 100644 Discord/newTicketFunction.js mode change 100755 => 100644 Firebase/db.js mode change 100755 => 100644 Firebase/models.js mode change 100755 => 100644 README.md mode change 100755 => 100644 cart.list mode change 100755 => 100644 config/bot-config.js mode change 100755 => 100644 config/mercadoPagoData.json mode change 100755 => 100644 config/web-config.js mode change 100755 => 100644 ecosystem.config.js mode change 100755 => 100644 functions.js mode change 100755 => 100644 index.js mode change 100755 => 100644 package-lock.json mode change 100755 => 100644 package.json mode change 100755 => 100644 public/assets/svg/add.svg mode change 100755 => 100644 public/assets/svg/analise.svg mode change 100755 => 100644 public/assets/svg/bandeira-br.svg mode change 100755 => 100644 public/assets/svg/bandeira-eua.svg mode change 100755 => 100644 public/assets/svg/close.svg mode change 100755 => 100644 public/assets/svg/comando.svg mode change 100755 => 100644 public/assets/svg/config.svg mode change 100755 => 100644 public/assets/svg/coroa.svg mode change 100755 => 100644 public/assets/svg/cracha.svg mode change 100755 => 100644 public/assets/svg/cupom.svg mode change 100755 => 100644 public/assets/svg/discord.svg mode change 100755 => 100644 public/assets/svg/emoji-feliz.svg mode change 100755 => 100644 public/assets/svg/info.svg mode change 100755 => 100644 public/assets/svg/instagram.svg mode change 100755 => 100644 public/assets/svg/logo.svg mode change 100755 => 100644 public/assets/svg/logoNoText.svg mode change 100755 => 100644 public/assets/svg/lua.svg mode change 100755 => 100644 public/assets/svg/menu-circulo.svg mode change 100755 => 100644 public/assets/svg/menu-linha.svg mode change 100755 => 100644 public/assets/svg/message-square-text.svg mode change 100755 => 100644 public/assets/svg/notificacao.svg mode change 100755 => 100644 public/assets/svg/painel.svg mode change 100755 => 100644 public/assets/svg/send_mlnpnnz66pyj.svg mode change 100755 => 100644 public/assets/svg/setinha.svg mode change 100755 => 100644 public/assets/svg/sol.svg mode change 100755 => 100644 public/assets/svg/suporte.svg mode change 100755 => 100644 public/assets/svg/ticket.svg mode change 100755 => 100644 public/assets/svg/trash.svg mode change 100755 => 100644 public/assets/svg/vendas.svg mode change 100755 => 100644 public/css/NotFoundPage.css mode change 100755 => 100644 public/css/admin.css mode change 100755 => 100644 public/css/analytics.css mode change 100755 => 100644 public/css/chatLive.css mode change 100755 => 100644 public/css/config.css mode change 100755 => 100644 public/css/controlLogin.css mode change 100755 => 100644 public/css/cupom.css mode change 100755 => 100644 public/css/dashboard.css mode change 100755 => 100644 public/css/header.css mode change 100755 => 100644 public/css/notify.css mode change 100755 => 100644 public/css/painel.css mode change 100755 => 100644 public/css/payment.css mode change 100755 => 100644 public/css/perms.css mode change 100755 => 100644 public/css/personalize.css mode change 100755 => 100644 public/css/reusable/styleRoot.css mode change 100755 => 100644 public/css/sales.css mode change 100755 => 100644 public/css/style.css mode change 100755 => 100644 public/css/ticket.css mode change 100755 => 100644 public/css/topHeader.css mode change 100755 => 100644 public/css/updates.css mode change 100755 => 100644 public/css/userConfig.css mode change 100755 => 100644 public/font/Poppins/OFL.txt mode change 100755 => 100644 public/font/Poppins/Poppins-Black.ttf mode change 100755 => 100644 public/font/Poppins/Poppins-BlackItalic.ttf mode change 100755 => 100644 public/font/Poppins/Poppins-Bold.ttf mode change 100755 => 100644 public/font/Poppins/Poppins-BoldItalic.ttf mode change 100755 => 100644 public/font/Poppins/Poppins-ExtraBold.ttf mode change 100755 => 100644 public/font/Poppins/Poppins-ExtraBoldItalic.ttf mode change 100755 => 100644 public/font/Poppins/Poppins-ExtraLight.ttf mode change 100755 => 100644 public/font/Poppins/Poppins-ExtraLightItalic.ttf mode change 100755 => 100644 public/font/Poppins/Poppins-Italic.ttf mode change 100755 => 100644 public/font/Poppins/Poppins-Light.ttf mode change 100755 => 100644 public/font/Poppins/Poppins-LightItalic.ttf mode change 100755 => 100644 public/font/Poppins/Poppins-Medium.ttf mode change 100755 => 100644 public/font/Poppins/Poppins-MediumItalic.ttf mode change 100755 => 100644 public/font/Poppins/Poppins-Regular.ttf mode change 100755 => 100644 public/font/Poppins/Poppins-SemiBold.ttf mode change 100755 => 100644 public/font/Poppins/Poppins-SemiBoldItalic.ttf mode change 100755 => 100644 public/font/Poppins/Poppins-Thin.ttf mode change 100755 => 100644 public/font/Poppins/Poppins-ThinItalic.ttf mode change 100755 => 100644 public/img/ANDROIDPC.png mode change 100755 => 100644 public/img/CAPA-PIXEL.gif mode change 100755 => 100644 public/img/Chrome.png mode change 100755 => 100644 public/img/DESCONHECIDOPC.png mode change 100755 => 100644 public/img/Desconhecido.png mode change 100755 => 100644 public/img/Edge.png mode change 100755 => 100644 public/img/Firefox.png mode change 100755 => 100644 public/img/IOSPC.png mode change 100755 => 100644 public/img/LINUXPC.png mode change 100755 => 100644 public/img/LOGO-PIXEL.gif mode change 100755 => 100644 public/img/LOGOFUNDO.png mode change 100755 => 100644 public/img/Opera.png mode change 100755 => 100644 public/img/PIX.png mode change 100755 => 100644 public/img/Safari.png mode change 100755 => 100644 public/img/Vivaldi.png mode change 100755 => 100644 public/img/WINDOWSPC.png mode change 100755 => 100644 public/img/boleto.png mode change 100755 => 100644 public/img/cartao.png mode change 100755 => 100644 public/img/logo-branca.png mode change 100755 => 100644 public/img/logo-color-1.png mode change 100755 => 100644 public/img/logo-preta.png mode change 100755 => 100644 public/img/logo-text-dark.png mode change 100755 => 100644 public/img/logo-text-ligth.png mode change 100755 => 100644 public/img/multipleProductEmbend.jpeg mode change 100755 => 100644 public/img/normalProductEmbend.jpeg mode change 100755 => 100644 public/img/singleProductEmbend.jpeg mode change 100755 => 100644 public/js/ADMlogin.js mode change 100755 => 100644 public/js/admin.js mode change 100755 => 100644 public/js/analytics.js mode change 100755 => 100644 public/js/chatLive.js mode change 100755 => 100644 public/js/config.js mode change 100755 => 100644 public/js/controlLogin.js mode change 100755 => 100644 public/js/cupom.js mode change 100755 => 100644 public/js/dashboard.js mode change 100755 => 100644 public/js/notify.js mode change 100755 => 100644 public/js/painel.js mode change 100755 => 100644 public/js/payment.js mode change 100755 => 100644 public/js/perms.js mode change 100755 => 100644 public/js/personalize.js mode change 100755 => 100644 public/js/sales.js mode change 100755 => 100644 public/js/script.js mode change 100755 => 100644 public/js/theme.js mode change 100755 => 100644 public/js/ticket.js mode change 100755 => 100644 public/js/userConfig.js mode change 100755 => 100644 public/js/verifyPass.js mode change 100755 => 100644 public/src/app.js mode change 100755 => 100644 public/src/controller/AppController.js mode change 100755 => 100644 public/src/util/Format.js mode change 100755 => 100644 public/src/util/selectMenu.js mode change 100755 => 100644 public/src/util/selectRadio.js mode change 100755 => 100644 routes/mercadoPago.js mode change 100755 => 100644 routes/security.js mode change 100755 => 100644 stripe/productsRoutes.js mode change 100755 => 100644 stripe/stripeRoutes.js mode change 100755 => 100644 templates/codeMail.ejs mode change 100755 => 100644 templates/passMail.ejs mode change 100755 => 100644 test/modelo.ejs mode change 100755 => 100644 uploads/.gitkeep mode change 100755 => 100644 uploads/personalize/avatar/.gitkeep mode change 100755 => 100644 uploads/personalize/ticketBanner/.gitkeep mode change 100755 => 100644 uploads/produtos/.gitkeep mode change 100755 => 100644 uploads/produtos/background/.gitkeep mode change 100755 => 100644 uploads/produtos/logos/.gitkeep mode change 100755 => 100644 views/NotFoundPage.ejs mode change 100755 => 100644 views/admin.ejs mode change 100755 => 100644 views/analytics.ejs mode change 100755 => 100644 views/codeVerify.ejs mode change 100755 => 100644 views/config.ejs mode change 100755 => 100644 views/controlLogin.ejs mode change 100755 => 100644 views/copyText.ejs mode change 100755 => 100644 views/cupom.ejs mode change 100755 => 100644 views/dashboard.ejs mode change 100755 => 100644 views/index.ejs mode change 100755 => 100644 views/painel.ejs mode change 100755 => 100644 views/passPage.ejs mode change 100755 => 100644 views/payment.ejs mode change 100755 => 100644 views/perms.ejs mode change 100755 => 100644 views/personalize.ejs mode change 100755 => 100644 views/redirect.ejs mode change 100755 => 100644 views/reusable/body.ejs mode change 100755 => 100644 views/reusable/chatLive.ejs mode change 100755 => 100644 views/reusable/head.ejs mode change 100755 => 100644 views/reusable/header.ejs mode change 100755 => 100644 views/reusable/passVerify.ejs mode change 100755 => 100644 views/reusable/script.ejs mode change 100755 => 100644 views/reusable/topHeader.ejs mode change 100755 => 100644 views/reusable/updates.ejs mode change 100755 => 100644 views/sales.ejs mode change 100755 => 100644 views/ticket.ejs mode change 100755 => 100644 views/updatePayment.ejs mode change 100755 => 100644 views/userConfig.ejs diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml old mode 100755 new mode 100644 diff --git a/.gitignore b/.gitignore old mode 100755 new mode 100644 diff --git a/Discord/createCartMessage.js b/Discord/createCartMessage.js old mode 100755 new mode 100644 diff --git a/Discord/createProductMessage.js b/Discord/createProductMessage.js old mode 100755 new mode 100644 diff --git a/Discord/createProductMessageEmbend.js b/Discord/createProductMessageEmbend.js old mode 100755 new mode 100644 diff --git a/Discord/createTicketMensage.js b/Discord/createTicketMensage.js old mode 100755 new mode 100644 diff --git a/Discord/discordIndex.js b/Discord/discordIndex.js old mode 100755 new mode 100644 diff --git a/Discord/discordRoutes.js b/Discord/discordRoutes.js old mode 100755 new mode 100644 diff --git a/Discord/emojisGet.js b/Discord/emojisGet.js old mode 100755 new mode 100644 diff --git a/Discord/handler/commands.js b/Discord/handler/commands.js old mode 100755 new mode 100644 diff --git a/Discord/handler/commands/anuncio.js b/Discord/handler/commands/anuncio.js old mode 100755 new mode 100644 diff --git a/Discord/handler/commands/aprovar.js b/Discord/handler/commands/aprovar.js old mode 100755 new mode 100644 diff --git a/Discord/handler/commands/botconfig.js b/Discord/handler/commands/botconfig.js old mode 100755 new mode 100644 diff --git a/Discord/handler/commands/cobrar.js b/Discord/handler/commands/cobrar.js old mode 100755 new mode 100644 diff --git a/Discord/handler/commands/enviar.js b/Discord/handler/commands/enviar.js old mode 100755 new mode 100644 diff --git a/Discord/handler/commands/produto.js b/Discord/handler/commands/produto.js old mode 100755 new mode 100644 diff --git a/Discord/handler/commands/ticket.js b/Discord/handler/commands/ticket.js old mode 100755 new mode 100644 diff --git a/Discord/newTicketFunction.js b/Discord/newTicketFunction.js old mode 100755 new mode 100644 diff --git a/Firebase/db.js b/Firebase/db.js old mode 100755 new mode 100644 diff --git a/Firebase/models.js b/Firebase/models.js old mode 100755 new mode 100644 diff --git a/README.md b/README.md old mode 100755 new mode 100644 diff --git a/cart.list b/cart.list old mode 100755 new mode 100644 diff --git a/config/bot-config.js b/config/bot-config.js old mode 100755 new mode 100644 diff --git a/config/mercadoPagoData.json b/config/mercadoPagoData.json old mode 100755 new mode 100644 diff --git a/config/web-config.js b/config/web-config.js old mode 100755 new mode 100644 diff --git a/ecosystem.config.js b/ecosystem.config.js old mode 100755 new mode 100644 diff --git a/functions.js b/functions.js old mode 100755 new mode 100644 diff --git a/index.js b/index.js old mode 100755 new mode 100644 diff --git a/package-lock.json b/package-lock.json old mode 100755 new mode 100644 diff --git a/package.json b/package.json old mode 100755 new mode 100644 diff --git a/public/assets/svg/add.svg b/public/assets/svg/add.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/analise.svg b/public/assets/svg/analise.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/bandeira-br.svg b/public/assets/svg/bandeira-br.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/bandeira-eua.svg b/public/assets/svg/bandeira-eua.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/close.svg b/public/assets/svg/close.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/comando.svg b/public/assets/svg/comando.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/config.svg b/public/assets/svg/config.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/coroa.svg b/public/assets/svg/coroa.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/cracha.svg b/public/assets/svg/cracha.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/cupom.svg b/public/assets/svg/cupom.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/discord.svg b/public/assets/svg/discord.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/emoji-feliz.svg b/public/assets/svg/emoji-feliz.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/info.svg b/public/assets/svg/info.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/instagram.svg b/public/assets/svg/instagram.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/logo.svg b/public/assets/svg/logo.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/logoNoText.svg b/public/assets/svg/logoNoText.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/lua.svg b/public/assets/svg/lua.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/menu-circulo.svg b/public/assets/svg/menu-circulo.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/menu-linha.svg b/public/assets/svg/menu-linha.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/message-square-text.svg b/public/assets/svg/message-square-text.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/notificacao.svg b/public/assets/svg/notificacao.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/painel.svg b/public/assets/svg/painel.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/send_mlnpnnz66pyj.svg b/public/assets/svg/send_mlnpnnz66pyj.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/setinha.svg b/public/assets/svg/setinha.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/sol.svg b/public/assets/svg/sol.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/suporte.svg b/public/assets/svg/suporte.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/ticket.svg b/public/assets/svg/ticket.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/trash.svg b/public/assets/svg/trash.svg old mode 100755 new mode 100644 diff --git a/public/assets/svg/vendas.svg b/public/assets/svg/vendas.svg old mode 100755 new mode 100644 diff --git a/public/css/NotFoundPage.css b/public/css/NotFoundPage.css old mode 100755 new mode 100644 diff --git a/public/css/admin.css b/public/css/admin.css old mode 100755 new mode 100644 diff --git a/public/css/analytics.css b/public/css/analytics.css old mode 100755 new mode 100644 diff --git a/public/css/chatLive.css b/public/css/chatLive.css old mode 100755 new mode 100644 diff --git a/public/css/config.css b/public/css/config.css old mode 100755 new mode 100644 diff --git a/public/css/controlLogin.css b/public/css/controlLogin.css old mode 100755 new mode 100644 diff --git a/public/css/cupom.css b/public/css/cupom.css old mode 100755 new mode 100644 diff --git a/public/css/dashboard.css b/public/css/dashboard.css old mode 100755 new mode 100644 diff --git a/public/css/header.css b/public/css/header.css old mode 100755 new mode 100644 diff --git a/public/css/notify.css b/public/css/notify.css old mode 100755 new mode 100644 diff --git a/public/css/painel.css b/public/css/painel.css old mode 100755 new mode 100644 diff --git a/public/css/payment.css b/public/css/payment.css old mode 100755 new mode 100644 diff --git a/public/css/perms.css b/public/css/perms.css old mode 100755 new mode 100644 diff --git a/public/css/personalize.css b/public/css/personalize.css old mode 100755 new mode 100644 diff --git a/public/css/reusable/styleRoot.css b/public/css/reusable/styleRoot.css old mode 100755 new mode 100644 diff --git a/public/css/sales.css b/public/css/sales.css old mode 100755 new mode 100644 diff --git a/public/css/style.css b/public/css/style.css old mode 100755 new mode 100644 diff --git a/public/css/ticket.css b/public/css/ticket.css old mode 100755 new mode 100644 diff --git a/public/css/topHeader.css b/public/css/topHeader.css old mode 100755 new mode 100644 diff --git a/public/css/updates.css b/public/css/updates.css old mode 100755 new mode 100644 diff --git a/public/css/userConfig.css b/public/css/userConfig.css old mode 100755 new mode 100644 diff --git a/public/font/Poppins/OFL.txt b/public/font/Poppins/OFL.txt old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-Black.ttf b/public/font/Poppins/Poppins-Black.ttf old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-BlackItalic.ttf b/public/font/Poppins/Poppins-BlackItalic.ttf old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-Bold.ttf b/public/font/Poppins/Poppins-Bold.ttf old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-BoldItalic.ttf b/public/font/Poppins/Poppins-BoldItalic.ttf old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-ExtraBold.ttf b/public/font/Poppins/Poppins-ExtraBold.ttf old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-ExtraBoldItalic.ttf b/public/font/Poppins/Poppins-ExtraBoldItalic.ttf old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-ExtraLight.ttf b/public/font/Poppins/Poppins-ExtraLight.ttf old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-ExtraLightItalic.ttf b/public/font/Poppins/Poppins-ExtraLightItalic.ttf old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-Italic.ttf b/public/font/Poppins/Poppins-Italic.ttf old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-Light.ttf b/public/font/Poppins/Poppins-Light.ttf old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-LightItalic.ttf b/public/font/Poppins/Poppins-LightItalic.ttf old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-Medium.ttf b/public/font/Poppins/Poppins-Medium.ttf old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-MediumItalic.ttf b/public/font/Poppins/Poppins-MediumItalic.ttf old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-Regular.ttf b/public/font/Poppins/Poppins-Regular.ttf old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-SemiBold.ttf b/public/font/Poppins/Poppins-SemiBold.ttf old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-SemiBoldItalic.ttf b/public/font/Poppins/Poppins-SemiBoldItalic.ttf old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-Thin.ttf b/public/font/Poppins/Poppins-Thin.ttf old mode 100755 new mode 100644 diff --git a/public/font/Poppins/Poppins-ThinItalic.ttf b/public/font/Poppins/Poppins-ThinItalic.ttf old mode 100755 new mode 100644 diff --git a/public/img/ANDROIDPC.png b/public/img/ANDROIDPC.png old mode 100755 new mode 100644 diff --git a/public/img/CAPA-PIXEL.gif b/public/img/CAPA-PIXEL.gif old mode 100755 new mode 100644 diff --git a/public/img/Chrome.png b/public/img/Chrome.png old mode 100755 new mode 100644 diff --git a/public/img/DESCONHECIDOPC.png b/public/img/DESCONHECIDOPC.png old mode 100755 new mode 100644 diff --git a/public/img/Desconhecido.png b/public/img/Desconhecido.png old mode 100755 new mode 100644 diff --git a/public/img/Edge.png b/public/img/Edge.png old mode 100755 new mode 100644 diff --git a/public/img/Firefox.png b/public/img/Firefox.png old mode 100755 new mode 100644 diff --git a/public/img/IOSPC.png b/public/img/IOSPC.png old mode 100755 new mode 100644 diff --git a/public/img/LINUXPC.png b/public/img/LINUXPC.png old mode 100755 new mode 100644 diff --git a/public/img/LOGO-PIXEL.gif b/public/img/LOGO-PIXEL.gif old mode 100755 new mode 100644 diff --git a/public/img/LOGOFUNDO.png b/public/img/LOGOFUNDO.png old mode 100755 new mode 100644 diff --git a/public/img/Opera.png b/public/img/Opera.png old mode 100755 new mode 100644 diff --git a/public/img/PIX.png b/public/img/PIX.png old mode 100755 new mode 100644 diff --git a/public/img/Safari.png b/public/img/Safari.png old mode 100755 new mode 100644 diff --git a/public/img/Vivaldi.png b/public/img/Vivaldi.png old mode 100755 new mode 100644 diff --git a/public/img/WINDOWSPC.png b/public/img/WINDOWSPC.png old mode 100755 new mode 100644 diff --git a/public/img/boleto.png b/public/img/boleto.png old mode 100755 new mode 100644 diff --git a/public/img/cartao.png b/public/img/cartao.png old mode 100755 new mode 100644 diff --git a/public/img/logo-branca.png b/public/img/logo-branca.png old mode 100755 new mode 100644 diff --git a/public/img/logo-color-1.png b/public/img/logo-color-1.png old mode 100755 new mode 100644 diff --git a/public/img/logo-preta.png b/public/img/logo-preta.png old mode 100755 new mode 100644 diff --git a/public/img/logo-text-dark.png b/public/img/logo-text-dark.png old mode 100755 new mode 100644 diff --git a/public/img/logo-text-ligth.png b/public/img/logo-text-ligth.png old mode 100755 new mode 100644 diff --git a/public/img/multipleProductEmbend.jpeg b/public/img/multipleProductEmbend.jpeg old mode 100755 new mode 100644 diff --git a/public/img/normalProductEmbend.jpeg b/public/img/normalProductEmbend.jpeg old mode 100755 new mode 100644 diff --git a/public/img/singleProductEmbend.jpeg b/public/img/singleProductEmbend.jpeg old mode 100755 new mode 100644 diff --git a/public/js/ADMlogin.js b/public/js/ADMlogin.js old mode 100755 new mode 100644 diff --git a/public/js/admin.js b/public/js/admin.js old mode 100755 new mode 100644 diff --git a/public/js/analytics.js b/public/js/analytics.js old mode 100755 new mode 100644 diff --git a/public/js/chatLive.js b/public/js/chatLive.js old mode 100755 new mode 100644 diff --git a/public/js/config.js b/public/js/config.js old mode 100755 new mode 100644 diff --git a/public/js/controlLogin.js b/public/js/controlLogin.js old mode 100755 new mode 100644 diff --git a/public/js/cupom.js b/public/js/cupom.js old mode 100755 new mode 100644 diff --git a/public/js/dashboard.js b/public/js/dashboard.js old mode 100755 new mode 100644 diff --git a/public/js/notify.js b/public/js/notify.js old mode 100755 new mode 100644 diff --git a/public/js/painel.js b/public/js/painel.js old mode 100755 new mode 100644 diff --git a/public/js/payment.js b/public/js/payment.js old mode 100755 new mode 100644 diff --git a/public/js/perms.js b/public/js/perms.js old mode 100755 new mode 100644 diff --git a/public/js/personalize.js b/public/js/personalize.js old mode 100755 new mode 100644 diff --git a/public/js/sales.js b/public/js/sales.js old mode 100755 new mode 100644 diff --git a/public/js/script.js b/public/js/script.js old mode 100755 new mode 100644 diff --git a/public/js/theme.js b/public/js/theme.js old mode 100755 new mode 100644 diff --git a/public/js/ticket.js b/public/js/ticket.js old mode 100755 new mode 100644 diff --git a/public/js/userConfig.js b/public/js/userConfig.js old mode 100755 new mode 100644 diff --git a/public/js/verifyPass.js b/public/js/verifyPass.js old mode 100755 new mode 100644 diff --git a/public/src/app.js b/public/src/app.js old mode 100755 new mode 100644 diff --git a/public/src/controller/AppController.js b/public/src/controller/AppController.js old mode 100755 new mode 100644 diff --git a/public/src/util/Format.js b/public/src/util/Format.js old mode 100755 new mode 100644 diff --git a/public/src/util/selectMenu.js b/public/src/util/selectMenu.js old mode 100755 new mode 100644 diff --git a/public/src/util/selectRadio.js b/public/src/util/selectRadio.js old mode 100755 new mode 100644 diff --git a/routes/mercadoPago.js b/routes/mercadoPago.js old mode 100755 new mode 100644 diff --git a/routes/security.js b/routes/security.js old mode 100755 new mode 100644 diff --git a/stripe/productsRoutes.js b/stripe/productsRoutes.js old mode 100755 new mode 100644 diff --git a/stripe/stripeRoutes.js b/stripe/stripeRoutes.js old mode 100755 new mode 100644 diff --git a/templates/codeMail.ejs b/templates/codeMail.ejs old mode 100755 new mode 100644 diff --git a/templates/passMail.ejs b/templates/passMail.ejs old mode 100755 new mode 100644 diff --git a/test/modelo.ejs b/test/modelo.ejs old mode 100755 new mode 100644 diff --git a/uploads/.gitkeep b/uploads/.gitkeep old mode 100755 new mode 100644 diff --git a/uploads/personalize/avatar/.gitkeep b/uploads/personalize/avatar/.gitkeep old mode 100755 new mode 100644 diff --git a/uploads/personalize/ticketBanner/.gitkeep b/uploads/personalize/ticketBanner/.gitkeep old mode 100755 new mode 100644 diff --git a/uploads/produtos/.gitkeep b/uploads/produtos/.gitkeep old mode 100755 new mode 100644 diff --git a/uploads/produtos/background/.gitkeep b/uploads/produtos/background/.gitkeep old mode 100755 new mode 100644 diff --git a/uploads/produtos/logos/.gitkeep b/uploads/produtos/logos/.gitkeep old mode 100755 new mode 100644 diff --git a/views/NotFoundPage.ejs b/views/NotFoundPage.ejs old mode 100755 new mode 100644 diff --git a/views/admin.ejs b/views/admin.ejs old mode 100755 new mode 100644 diff --git a/views/analytics.ejs b/views/analytics.ejs old mode 100755 new mode 100644 diff --git a/views/codeVerify.ejs b/views/codeVerify.ejs old mode 100755 new mode 100644 diff --git a/views/config.ejs b/views/config.ejs old mode 100755 new mode 100644 diff --git a/views/controlLogin.ejs b/views/controlLogin.ejs old mode 100755 new mode 100644 diff --git a/views/copyText.ejs b/views/copyText.ejs old mode 100755 new mode 100644 diff --git a/views/cupom.ejs b/views/cupom.ejs old mode 100755 new mode 100644 diff --git a/views/dashboard.ejs b/views/dashboard.ejs old mode 100755 new mode 100644 diff --git a/views/index.ejs b/views/index.ejs old mode 100755 new mode 100644 diff --git a/views/painel.ejs b/views/painel.ejs old mode 100755 new mode 100644 diff --git a/views/passPage.ejs b/views/passPage.ejs old mode 100755 new mode 100644 diff --git a/views/payment.ejs b/views/payment.ejs old mode 100755 new mode 100644 diff --git a/views/perms.ejs b/views/perms.ejs old mode 100755 new mode 100644 diff --git a/views/personalize.ejs b/views/personalize.ejs old mode 100755 new mode 100644 diff --git a/views/redirect.ejs b/views/redirect.ejs old mode 100755 new mode 100644 diff --git a/views/reusable/body.ejs b/views/reusable/body.ejs old mode 100755 new mode 100644 diff --git a/views/reusable/chatLive.ejs b/views/reusable/chatLive.ejs old mode 100755 new mode 100644 diff --git a/views/reusable/head.ejs b/views/reusable/head.ejs old mode 100755 new mode 100644 diff --git a/views/reusable/header.ejs b/views/reusable/header.ejs old mode 100755 new mode 100644 diff --git a/views/reusable/passVerify.ejs b/views/reusable/passVerify.ejs old mode 100755 new mode 100644 diff --git a/views/reusable/script.ejs b/views/reusable/script.ejs old mode 100755 new mode 100644 diff --git a/views/reusable/topHeader.ejs b/views/reusable/topHeader.ejs old mode 100755 new mode 100644 diff --git a/views/reusable/updates.ejs b/views/reusable/updates.ejs old mode 100755 new mode 100644 diff --git a/views/sales.ejs b/views/sales.ejs old mode 100755 new mode 100644 diff --git a/views/ticket.ejs b/views/ticket.ejs old mode 100755 new mode 100644 diff --git a/views/updatePayment.ejs b/views/updatePayment.ejs old mode 100755 new mode 100644 diff --git a/views/userConfig.ejs b/views/userConfig.ejs old mode 100755 new mode 100644