Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. PHP.php
  2. $email="agung123";
  3. $domain="aminudin.me";
  4. $headers = array();
  5. $headers[] = 'Host: generator.email';
  6. $headers[] = 'accept-encoding": "gzip, deflate, br';
  7. $headers[] = 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3';
  8. $headers[] = 'Cookie: surl=aminudin.me/agung123/6a7630012e5a1c60a70e4673d961bd22; embx=%5B%22agung123%40aminudin.me%22%5D; io=S1oGijbufxQ0CWIrx-QA';
  9. $headers[] = 'upgrade-insecure-requests: 1';
  10. $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';
  11. $send=curl('https://generator.email', $headers);
  12. $link = get_between($send, 'p[class=style5] span a', 'href');
  13.  
  14. NODE.js
  15. new Promise((resolve, reject) => {
  16. fetch(`https://generator.email/`, {
  17. method: "get",
  18. headers: {
  19. accept:
  20. "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3",
  21. "accept-encoding": "gzip, deflate, br",
  22. 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}`,
  23. "upgrade-insecure-requests": 1,
  24. "user-agent":
  25. "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
  26. }
  27. })
  28. .then(res => res.text())
  29. .then(text => {
  30. const $ = cheerio.load(text);
  31. const src = $("p[class=style5] span a").attr("href");
  32. resolve(src);
  33. })
  34. .catch(err => reject(err));
  35. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement