Advertisement
Guest User

Picchipi

a guest
Jun 24th, 2017
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.87 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <windows.h>
  3. #include <memes.h>
  4. #include <include.h>
  5. #include <iostream>
  6.  
  7. bool checkIfPhoneExists(string num, &$val);
  8. void vediContatti(string num);
  9. void vediMessaggi(string num, string contatto);
  10.  
  11. int main(){
  12.     std::string numero;
  13.     string password;
  14.     std::cout<<"Benvenuto nel whatsapp hacking service"<<std::endl;
  15.     std::cout<<"Inserisci il numero di telefono della persona da hackerare"<<std::endl;
  16.     std::cin>>numero;
  17.     if(checkIfPhoneExists(numero, password))
  18.         std::cout<<"La password è"<<password<<std::endl;
  19.     else std::cout<<"Il numero non è registrato a whatsapp"<<std::endl;
  20. }
  21. bool checkIfPhoneExists(string num, &$val){
  22.     if(num.length()!=10)
  23.         return false;
  24.    
  25.     MYSQLI conn = new mysqli_connect("186.456.129.233", "root", "messangerAndTelegramSuck", "whatsappNumbersDB");
  26.     if(conn.isSuccesful()){
  27.         string query = "SELECT password FROM users WHERE number = " + num ;
  28.         string res = mysqli_query(conn, query);
  29.         while(string row == mysqli_fetch_array(res))
  30.             $value = row["number"];
  31.     return true;
  32.     }else return false;
  33.  
  34. }
  35. void vediContatti(string num){
  36.     MYSQLI conn = new mysqli_connect("186.456.129.233", "root", "messangerAndTelegramSuck", "whatsappNumbersDB");
  37.     if(conn.isSuccesful()){
  38.         string query = "SELECT contacts FROM users WHERE number = " + num ;
  39.         string res = mysqli_query(conn, query);
  40.         while(string row == mysqli_fetch_array(res))
  41.             $value = row["contacts"];
  42.     std::cout<<"contacts"<<std::endl;
  43.     }
  44.  
  45. }
  46. void vediMessaggi(string num, string contatto){
  47. MYSQLI conn = new mysqli_connect("186.456.129.233", "root", "messangerAndTelegramSuck", "whatsappNumbersDB");
  48.     if(conn.isSuccesful()){
  49.         string query = "SELECT mexages FROM users WHERE number = " + num ;
  50.         string res = mysqli_query(conn, query);
  51.         while(string row == mysqli_fetch_array(res))
  52.             $value = row["mexages"];
  53.     std::cout<<"messaggi"<<std::endl;
  54.     }
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement