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 jwt = require('jsonwebtoken'); | |
| const publicKey = fs.readFileSync('/x/y/z/public.pem'); | |
| // jwt payload | |
| const payload = { | |
| login: "admin" | |
| }; |
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 Twit = require('twit') | |
| const T = new Twit({ | |
| consumer_key: '', | |
| consumer_secret: '', | |
| access_token: '', | |
| access_token_secret: '', | |
| }) | |
| const stream = T.stream('statuses/filter', { track: 'eth', language: 'en' }) |
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 axios = require('axios'); | |
| var fs = require('fs'); | |
| // npm install axios | |
| // to run it: node file.js file.txt | |
| // Target server's name may be different from cloudflare | |
| // Which means we can miss some vulnerabilities | |
| const array = fs.readFileSync('file.txt', 'utf8').split('\n'); |
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
| package p175m.p176a.p295b.p313b; | |
| import com.eksiteknoloji.data.entities.GenericResponse; | |
| import com.eksiteknoloji.data.entities.azure.AzureRegistrationResponseData; | |
| import com.eksiteknoloji.data.entities.billing.BillingStatusResponseData; | |
| import com.eksiteknoloji.data.entities.buddyEntries.EksiBuddyEntriesResponseData; | |
| import com.eksiteknoloji.data.entities.channels.AllChannelListResponseData; | |
| import com.eksiteknoloji.data.entities.clientInfo.ClientInfoResponseData; | |
| import com.eksiteknoloji.data.entities.comments.CommentSummaryListResponseData; | |
| import com.eksiteknoloji.data.entities.directMessage.DirectMessageListResponseData; |
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 path = require('path'); | |
| const express = require('express'); | |
| const rootDir = require('../util/path'); | |
| const router = express.Router(); | |
| const products = []; | |
| // /admin/add-product => GET | |
| router.get('/add-product', (req, res, next) => { | |
| res.sendFile(path.join(rootDir, 'views', 'add-product.html')); |