Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PHP.php
- $email="agung123";
- $domain="aminudin.me";
- $headers = array();
- $headers[] = 'Host: generator.email';
- $headers[] = 'accept-encoding": "gzip, deflate, br';
- $headers[] = 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3';
- $headers[] = 'Cookie: surl=aminudin.me/agung123/6a7630012e5a1c60a70e4673d961bd22; embx=%5B%22agung123%40aminudin.me%22%5D; io=S1oGijbufxQ0CWIrx-QA';
- $headers[] = 'upgrade-insecure-requests: 1';
- $headers[] = 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36';
- $send=curl('https://generator.email', $headers);
- $link = get_between($send, 'p[class=style5] span a', 'href');
- NODE.js
- new Promise((resolve, reject) => {
- fetch(`https://generator.email/`, {
- method: "get",
- headers: {
- accept:
- "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3",
- "accept-encoding": "gzip, deflate, br",
- cookie: `_ga=GA1.2.1164348503.1554262465; _gid=GA1.2.905585996.1554262465; embx=%5B%22${email}%40${domain}%22%2C%22hcycl%40nongzaa.tk%22%5D; _gat=1; io=-aUNS6XIdbbHj__faWS_; surl=${domain}%2F${email}`,
- "upgrade-insecure-requests": 1,
- "user-agent":
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
- }
- })
- .then(res => res.text())
- .then(text => {
- const $ = cheerio.load(text);
- const src = $("p[class=style5] span a").attr("href");
- resolve(src);
- })
- .catch(err => reject(err));
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement