Last active
April 29, 2021 11:42
-
-
Save rigwild/1409a05ee649cc1e4cc30975cd34be3d to your computer and use it in GitHub Desktop.
just spam some shitty credit cards details to paypal phishing webite
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
import faker from 'faker' | |
import { spawn, Pool, Worker } from 'threads' | |
let count = 1 | |
const rand = (min: number, max: number) => Math.floor(Math.random() * (max - min + 1)) + min | |
;(async () => { | |
const pool = Pool(() => spawn(new Worker('./paypalPhishingSpam.worker.mjs'))) | |
const fn = async (sendReq: (body: string) => Promise<number>) => { | |
const body = `n_card=${faker.name.firstName()} ${faker.name.lastName()}&c_num=${faker.finance | |
.creditCardNumber() | |
.replace(/-/g, '')}&exm=${rand(1, 12)}&exy=${rand(2021, 2027)}&csc=${rand(100, 999)}` | |
const status = await sendReq(body) | |
console.log(`[${count++}] Posted ${status} - ${body}`) | |
} | |
while (true) { | |
Array.from({ length: 500 }, () => pool.queue(fn)) | |
await pool.settled() | |
} | |
// await pool.terminate() | |
})() |
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
import fetch from 'node-fetch' | |
import { expose } from 'threads/worker' | |
expose(body => | |
fetch( | |
'https://douniaililibi.com/fr/info/serv5203.php?enc=be0279f74fa4b5235060653fdaeac592&p=0&dispatch=4e2a5495fb37655cb320460a33030af6a10a7bb5', | |
{ | |
headers: { | |
accept: | |
'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9', | |
'accept-language': 'en-US,en;q=0.9', | |
'cache-control': 'max-age=0', | |
'content-type': 'application/x-www-form-urlencoded', | |
'sec-fetch-dest': 'document', | |
'sec-fetch-mode': 'navigate', | |
'sec-fetch-site': 'same-origin', | |
'sec-fetch-user': '?1', | |
'sec-gpc': '1', | |
'upgrade-insecure-requests': '1', | |
cookie: 'PHPSESSID=6un7jvt3uamc4mkcdn7rh82fn4' | |
}, | |
body, | |
method: 'POST' | |
} | |
).then(res => res.status) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment