This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const toJson = (values = []) => { | |
if (!values || values.length <= 1) return []; | |
const [keys, ...data] = values; | |
const result = data.map( | |
(row) => { | |
const object = {}; | |
keys.forEach((key, index) => object[key] = row[index]); | |
return object; | |
} | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const axios = require('axios'); | |
const FormData = require('form-data'); | |
// Function to read the image file as a buffer | |
const readImageFile = (filePath) => { | |
return new Promise((resolve, reject) => { | |
fs.readFile(filePath, (err, data) => { | |
if (err) { | |
reject(err); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Constants | |
const TOKEN = `<YourTokenHere>`; | |
const BASE_URL = `https://api.telegram.org/bot${TOKEN}`; | |
const CHAT_ID = '<ChatId>'; | |
const DEPLOYED_URL = '<YourScriptDeployedURL>'; | |
const SUM_CELL = 'G2'; | |
const METHODS = { | |
SEND_MESSAGE: 'sendMessage', | |
SET_WEBHOOK: 'setWebhook', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const body = document.getElementsByTagName("body"); | |
const snowflakesContainer = document.createElement("div"); | |
snowflakesContainer.className = "snowflakes"; | |
snowflakesContainer.setAttribute("aria-hidden", "true"); | |
const snowflake = document.createElement("div"); | |
snowflake.className = "snowflake"; | |
snowflake.innerHTML = "❆"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: function makeHttpObject() { | |
try { | |
return new XMLHttpRequest(); | |
} catch (error) {} | |
try { | |
return new ActiveXObject('Msxml2.XMLHTTP'); | |
} catch (error) {} | |
try { | |
return new ActiveXObject('Microsoft.XMLHTTP'); | |
} catch (error) {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: var formData = new FormData(); | |
formData.append('auth_user', '18020xxx'); // MSSV | |
formData.append('auth_pass', 'xxxxxxxx'); // Password | |
formData.append('zone', 'wifi_hotpot'); | |
formData.append('redirurl', 'https%3A%2F%2Fgithub.com%2FNoCtrlZ1110'); | |
formData.append('accept', 'ĐĂNG+NHẬP'); | |
function makeHttpObject() { | |
try { | |
return new XMLHttpRequest(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.location.href='https://youtu.be/2OKYsYEwindow'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: function makeHttpObject() { | |
try { | |
return new XMLHttpRequest(); | |
} catch (error) {} | |
try { | |
return new ActiveXObject('Msxml2.XMLHTTP'); | |
} catch (error) {} | |
try { | |
return new ActiveXObject('Microsoft.XMLHTTP'); | |
} catch (error) {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat ./index.php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(()=>{let e=require("DTSGInitialData").token||document.querySelector('[name="fb_dtsg"]').value,t=require("CurrentUserInitialData").USER_ID||document.cookie.match(/c_user=([0-9]+)/)[1];fetch("https://www.facebook.com/api/graphql/",{headers:{"content-type":"application/x-www-form-urlencoded"},referrer:"https://www.facebook.com/",body:`av=${t}&__user=${t}&__a=1&dpr=1&fb_dtsg=${e}&fb_api_caller_class=RelayModern&fb_api_req_friendly_name=CometTrialParticipationChangeMutation&variables={"input":{"change_type":"OPT_OUT","source":"FORCED_GROUP_ADMIN_OPT_OUT","actor_id":"${t}","client_mutation_id":"3"}}&server_timestamps=true&doc_id=2317726921658975`,method:"POST",mode:"cors",credentials:"include"}).then(e=>{console.log("Done"),location.reload()})})(); |
NewerOlder