MasterFM
08-12-2008, 11:58 PM
Download the files at:
http://rapidshare.com/files/171601898/Nivade.zip
Instant download :)
And you also need the SQL:
-- MySQL dump 10.9
--
-- Host: localhost Database: nivade_systemcore
-- ------------------------------------------------------
-- Server version 4.1.22-standard
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `album_titles`
--
DROP TABLE IF EXISTS `album_titles`;
CREATE TABLE `album_titles` (
`id` int(3) NOT NULL auto_increment,
`album_name` varchar(244) NOT NULL default '',
`album_author` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `album_titles`
--
--
-- Table structure for table `albums`
--
DROP TABLE IF EXISTS `albums`;
CREATE TABLE `albums` (
`id` int(3) NOT NULL auto_increment,
`album` varchar(244) NOT NULL default '',
`image_src` varchar(244) NOT NULL default '',
`image_name` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=32 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `albums`
--
--
-- Table structure for table `banned_emails`
--
DROP TABLE IF EXISTS `banned_emails`;
CREATE TABLE `banned_emails` (
`id` mediumint(3) NOT NULL auto_increment,
`email` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `banned_emails`
--
--
-- Table structure for table `blogs`
--
DROP TABLE IF EXISTS `blogs`;
CREATE TABLE `blogs` (
`id` int(3) NOT NULL auto_increment,
`blog_title` varchar(244) NOT NULL default '',
`blog_content` varchar(244) NOT NULL default '',
`blog_author` varchar(244) NOT NULL default '',
`blog_creation_date` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `blogs`
--
--
-- Table structure for table `comments`
--
DROP TABLE IF EXISTS `comments`;
CREATE TABLE `comments` (
`id` int(2) NOT NULL auto_increment,
`username` text NOT NULL,
`from` text NOT NULL,
`content` text NOT NULL,
`date` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=73 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `comments`
--
--
-- Table structure for table `contact_submissions`
--
DROP TABLE IF EXISTS `contact_submissions`;
CREATE TABLE `contact_submissions` (
`id` int(2) NOT NULL auto_increment,
`username_submitted_by` varchar(10) NOT NULL default '',
`reason` varchar(244) NOT NULL default '',
`message` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `contact_submissions`
--
--
-- Table structure for table `errors_msgs`
--
DROP TABLE IF EXISTS `errors_msgs`;
CREATE TABLE `errors_msgs` (
`id` int(2) NOT NULL auto_increment,
`message` varchar(200) NOT NULL default '',
`misc_message_title` varchar(200) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `errors_msgs`
--
--
-- Table structure for table `features`
--
DROP TABLE IF EXISTS `features`;
CREATE TABLE `features` (
`id` int(3) NOT NULL auto_increment,
`feature_name` varchar(244) NOT NULL default '',
`feature_description` varchar(244) NOT NULL default '',
`feature_date` varchar(244) NOT NULL default '',
`feature_features` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `features`
--
--
-- Table structure for table `friend_conversations`
--
DROP TABLE IF EXISTS `friend_conversations`;
CREATE TABLE `friend_conversations` (
`id` int(2) NOT NULL auto_increment,
`username_too` text NOT NULL,
`username_from` text NOT NULL,
`message` text NOT NULL,
`date` text NOT NULL,
`is_active_mail` varchar(244) NOT NULL default 'true',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=30 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `friend_conversations`
--
--
-- Table structure for table `friend_requests`
--
DROP TABLE IF EXISTS `friend_requests`;
CREATE TABLE `friend_requests` (
`id` int(2) NOT NULL auto_increment,
`username_from` text NOT NULL,
`username_too` text NOT NULL,
`fr_message` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=20 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `friend_requests`
--
--
-- Table structure for table `friends`
--
DROP TABLE IF EXISTS `friends`;
CREATE TABLE `friends` (
`id` int(2) NOT NULL auto_increment,
`username` text NOT NULL,
`friendusername` text NOT NULL,
`top_friend_number` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=157 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `friends`
--
--
-- Table structure for table `login_logs`
--
DROP TABLE IF EXISTS `login_logs`;
CREATE TABLE `login_logs` (
`id` int(3) NOT NULL auto_increment,
`username` varchar(244) NOT NULL default '',
`ip` varchar(244) NOT NULL default '',
`date` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=94 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `login_logs`
--
--
-- Table structure for table `misc_pages`
--
DROP TABLE IF EXISTS `misc_pages`;
CREATE TABLE `misc_pages` (
`id` int(2) NOT NULL auto_increment,
`page_content` text NOT NULL,
`page_name` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `misc_pages`
--
--
-- Table structure for table `reported_profiles`
--
DROP TABLE IF EXISTS `reported_profiles`;
CREATE TABLE `reported_profiles` (
`id` int(2) NOT NULL auto_increment,
`offense` varchar(244) NOT NULL default '',
`offended_user` varchar(244) NOT NULL default '',
`offensive_user` varchar(244) NOT NULL default '',
`status` varchar(244) NOT NULL default 'active',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `reported_profiles`
--
--
-- Table structure for table `reputation`
--
DROP TABLE IF EXISTS `reputation`;
CREATE TABLE `reputation` (
`id` int(2) NOT NULL auto_increment,
`username_from` varchar(50) NOT NULL default '',
`username_too` varchar(50) NOT NULL default '',
`misc_date` varchar(244) NOT NULL default '',
`misc_limit` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `reputation`
--
--
-- Table structure for table `site`
--
DROP TABLE IF EXISTS `site`;
CREATE TABLE `site` (
`maintenance` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `site`
--
--
-- Table structure for table `skins`
--
DROP TABLE IF EXISTS `skins`;
CREATE TABLE `skins` (
`id` int(2) NOT NULL auto_increment,
`backgroundcolor` text NOT NULL,
`background` text NOT NULL,
`fontsize` text NOT NULL,
`fontface` text NOT NULL,
`fontcolor` varchar(30) NOT NULL default '',
`moduletop` text NOT NULL,
`modulemid` text NOT NULL,
`modulebtm` text NOT NULL,
`skin_name` text NOT NULL,
`skin_author` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `skins`
--
--
-- Table structure for table `staff`
--
DROP TABLE IF EXISTS `staff`;
CREATE TABLE `staff` (
`importantness` int(2) NOT NULL auto_increment,
`staff_name` varchar(244) NOT NULL default '',
`position` varchar(244) NOT NULL default '',
`level` varchar(244) NOT NULL default '',
PRIMARY KEY (`importantness`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `staff`
--
--
-- Table structure for table `superadmin`
--
DROP TABLE IF EXISTS `superadmin`;
CREATE TABLE `superadmin` (
`private_key` varchar(244) NOT NULL default ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `superadmin`
--
--
-- Table structure for table `user_data`
--
DROP TABLE IF EXISTS `user_data`;
CREATE TABLE `user_data` (
`id` int(3) NOT NULL auto_increment,
`username` varchar(10) NOT NULL default '',
`password` varchar(254) NOT NULL default '',
`level` varchar(254) NOT NULL default 'normal_user',
`email` varchar(254) NOT NULL default '',
`gender` varchar(200) NOT NULL default '',
`hobbies` varchar(254) NOT NULL default '',
`intelligence` varchar(254) NOT NULL default '',
`location` varchar(254) NOT NULL default '',
`full_name` varchar(50) NOT NULL default '',
`reputation` varchar(254) NOT NULL default '0',
`avatar` varchar(254) NOT NULL default '/includes/images/no_avatar.png',
`banned` varchar(254) NOT NULL default '',
`music` varchar(254) NOT NULL default '',
`age` varchar(30) NOT NULL default '',
`profile_views` varchar(254) NOT NULL default '0',
`age_show` varchar(254) NOT NULL default 'yes',
`email_show` varchar(254) NOT NULL default 'yes',
`show_rep` varchar(254) NOT NULL default 'yes',
`skinId` varchar(254) NOT NULL default '1',
`youtube` varchar(254) NOT NULL default 'http://uk.youtube.com/watch?v=Xi6EStyGw14',
`date_of_birth` varchar(225) NOT NULL default '',
`emailverified` char(2) NOT NULL default '0',
`privacy` varchar(254) NOT NULL default 'private',
`personal_word` varchar(254) NOT NULL default '',
`about_user` varchar(254) NOT NULL default 'Hello, I am new too nivade!',
`registration_date` varchar(254) NOT NULL default '',
`special_user_notices` varchar(244) NOT NULL default '',
`ban_reason` varchar(240) NOT NULL default '',
`registered_ip` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=160 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user_data`
--
DROP TABLE IF EXISTS `user_warnings`;
CREATE TABLE `user_warnings` (
`id` int(2) NOT NULL auto_increment,
`reason` varchar(254) NOT NULL default '',
`for` varchar(254) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user_warnings`
--
--
-- Table structure for table `weekvoters`
--
DROP TABLE IF EXISTS `weekvoters`;
CREATE TABLE `weekvoters` (
`id` int(3) NOT NULL auto_increment,
`username` varchar(244) NOT NULL default '',
`votedfor` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `weekvoters`
--
LOCK TABLES `weekvoters` WRITE;
/*!40000 ALTER TABLE `weekvoters` DISABLE KEYS */;
/*!40000 ALTER TABLE `weekvoters` ENABLE KEYS */;
UNLOCK TABLES;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
Enjoy :)
------------------------------------------------------------------------
NOTICE - NOTICE ; IF YOU DO NOT READ THIS THEN YOU ARE SCREWED.
------------------------------------------------------------------------
/// YOU MUST CHANGE THE LAYOUT WHEN DOWNLOADING. MUST. \\\
Credits too:
Matt Upton - Nivade ideas (In real life :P)
Josh (habtasia) - being ok with this;
Dom (MasterFM) - For uploading with his rapidshare premium.
Here's a few questions, included with answers;
Why use nivade source?
Yes, it's terribly coded but will help out. This has been released to help the noobies out.
IMPORTANT:
There is a backdoor planted, but can easily be removed. The files which the backdoor connect to are no longer available, so the backdoor isn't going to be in use, but you should remove just in case when calonuk.net expires someone renews to use backdoor or something silly..
The backdoor is located in:
nivade_team.php - You might also want to rename a few files. :P
Near the bottom of the code REMOVE the file get contents bits and the if statement.
ALSO; exploit:
search.php
remove the bit near the top where it says $_GET[ 'sqli' ], remove that if statement as it doesn't clean the search input.
http://rapidshare.com/files/171601898/Nivade.zip
Instant download :)
And you also need the SQL:
-- MySQL dump 10.9
--
-- Host: localhost Database: nivade_systemcore
-- ------------------------------------------------------
-- Server version 4.1.22-standard
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `album_titles`
--
DROP TABLE IF EXISTS `album_titles`;
CREATE TABLE `album_titles` (
`id` int(3) NOT NULL auto_increment,
`album_name` varchar(244) NOT NULL default '',
`album_author` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `album_titles`
--
--
-- Table structure for table `albums`
--
DROP TABLE IF EXISTS `albums`;
CREATE TABLE `albums` (
`id` int(3) NOT NULL auto_increment,
`album` varchar(244) NOT NULL default '',
`image_src` varchar(244) NOT NULL default '',
`image_name` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=32 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `albums`
--
--
-- Table structure for table `banned_emails`
--
DROP TABLE IF EXISTS `banned_emails`;
CREATE TABLE `banned_emails` (
`id` mediumint(3) NOT NULL auto_increment,
`email` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `banned_emails`
--
--
-- Table structure for table `blogs`
--
DROP TABLE IF EXISTS `blogs`;
CREATE TABLE `blogs` (
`id` int(3) NOT NULL auto_increment,
`blog_title` varchar(244) NOT NULL default '',
`blog_content` varchar(244) NOT NULL default '',
`blog_author` varchar(244) NOT NULL default '',
`blog_creation_date` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `blogs`
--
--
-- Table structure for table `comments`
--
DROP TABLE IF EXISTS `comments`;
CREATE TABLE `comments` (
`id` int(2) NOT NULL auto_increment,
`username` text NOT NULL,
`from` text NOT NULL,
`content` text NOT NULL,
`date` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=73 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `comments`
--
--
-- Table structure for table `contact_submissions`
--
DROP TABLE IF EXISTS `contact_submissions`;
CREATE TABLE `contact_submissions` (
`id` int(2) NOT NULL auto_increment,
`username_submitted_by` varchar(10) NOT NULL default '',
`reason` varchar(244) NOT NULL default '',
`message` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `contact_submissions`
--
--
-- Table structure for table `errors_msgs`
--
DROP TABLE IF EXISTS `errors_msgs`;
CREATE TABLE `errors_msgs` (
`id` int(2) NOT NULL auto_increment,
`message` varchar(200) NOT NULL default '',
`misc_message_title` varchar(200) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `errors_msgs`
--
--
-- Table structure for table `features`
--
DROP TABLE IF EXISTS `features`;
CREATE TABLE `features` (
`id` int(3) NOT NULL auto_increment,
`feature_name` varchar(244) NOT NULL default '',
`feature_description` varchar(244) NOT NULL default '',
`feature_date` varchar(244) NOT NULL default '',
`feature_features` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `features`
--
--
-- Table structure for table `friend_conversations`
--
DROP TABLE IF EXISTS `friend_conversations`;
CREATE TABLE `friend_conversations` (
`id` int(2) NOT NULL auto_increment,
`username_too` text NOT NULL,
`username_from` text NOT NULL,
`message` text NOT NULL,
`date` text NOT NULL,
`is_active_mail` varchar(244) NOT NULL default 'true',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=30 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `friend_conversations`
--
--
-- Table structure for table `friend_requests`
--
DROP TABLE IF EXISTS `friend_requests`;
CREATE TABLE `friend_requests` (
`id` int(2) NOT NULL auto_increment,
`username_from` text NOT NULL,
`username_too` text NOT NULL,
`fr_message` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=20 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `friend_requests`
--
--
-- Table structure for table `friends`
--
DROP TABLE IF EXISTS `friends`;
CREATE TABLE `friends` (
`id` int(2) NOT NULL auto_increment,
`username` text NOT NULL,
`friendusername` text NOT NULL,
`top_friend_number` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=157 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `friends`
--
--
-- Table structure for table `login_logs`
--
DROP TABLE IF EXISTS `login_logs`;
CREATE TABLE `login_logs` (
`id` int(3) NOT NULL auto_increment,
`username` varchar(244) NOT NULL default '',
`ip` varchar(244) NOT NULL default '',
`date` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=94 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `login_logs`
--
--
-- Table structure for table `misc_pages`
--
DROP TABLE IF EXISTS `misc_pages`;
CREATE TABLE `misc_pages` (
`id` int(2) NOT NULL auto_increment,
`page_content` text NOT NULL,
`page_name` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `misc_pages`
--
--
-- Table structure for table `reported_profiles`
--
DROP TABLE IF EXISTS `reported_profiles`;
CREATE TABLE `reported_profiles` (
`id` int(2) NOT NULL auto_increment,
`offense` varchar(244) NOT NULL default '',
`offended_user` varchar(244) NOT NULL default '',
`offensive_user` varchar(244) NOT NULL default '',
`status` varchar(244) NOT NULL default 'active',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `reported_profiles`
--
--
-- Table structure for table `reputation`
--
DROP TABLE IF EXISTS `reputation`;
CREATE TABLE `reputation` (
`id` int(2) NOT NULL auto_increment,
`username_from` varchar(50) NOT NULL default '',
`username_too` varchar(50) NOT NULL default '',
`misc_date` varchar(244) NOT NULL default '',
`misc_limit` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `reputation`
--
--
-- Table structure for table `site`
--
DROP TABLE IF EXISTS `site`;
CREATE TABLE `site` (
`maintenance` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `site`
--
--
-- Table structure for table `skins`
--
DROP TABLE IF EXISTS `skins`;
CREATE TABLE `skins` (
`id` int(2) NOT NULL auto_increment,
`backgroundcolor` text NOT NULL,
`background` text NOT NULL,
`fontsize` text NOT NULL,
`fontface` text NOT NULL,
`fontcolor` varchar(30) NOT NULL default '',
`moduletop` text NOT NULL,
`modulemid` text NOT NULL,
`modulebtm` text NOT NULL,
`skin_name` text NOT NULL,
`skin_author` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `skins`
--
--
-- Table structure for table `staff`
--
DROP TABLE IF EXISTS `staff`;
CREATE TABLE `staff` (
`importantness` int(2) NOT NULL auto_increment,
`staff_name` varchar(244) NOT NULL default '',
`position` varchar(244) NOT NULL default '',
`level` varchar(244) NOT NULL default '',
PRIMARY KEY (`importantness`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `staff`
--
--
-- Table structure for table `superadmin`
--
DROP TABLE IF EXISTS `superadmin`;
CREATE TABLE `superadmin` (
`private_key` varchar(244) NOT NULL default ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `superadmin`
--
--
-- Table structure for table `user_data`
--
DROP TABLE IF EXISTS `user_data`;
CREATE TABLE `user_data` (
`id` int(3) NOT NULL auto_increment,
`username` varchar(10) NOT NULL default '',
`password` varchar(254) NOT NULL default '',
`level` varchar(254) NOT NULL default 'normal_user',
`email` varchar(254) NOT NULL default '',
`gender` varchar(200) NOT NULL default '',
`hobbies` varchar(254) NOT NULL default '',
`intelligence` varchar(254) NOT NULL default '',
`location` varchar(254) NOT NULL default '',
`full_name` varchar(50) NOT NULL default '',
`reputation` varchar(254) NOT NULL default '0',
`avatar` varchar(254) NOT NULL default '/includes/images/no_avatar.png',
`banned` varchar(254) NOT NULL default '',
`music` varchar(254) NOT NULL default '',
`age` varchar(30) NOT NULL default '',
`profile_views` varchar(254) NOT NULL default '0',
`age_show` varchar(254) NOT NULL default 'yes',
`email_show` varchar(254) NOT NULL default 'yes',
`show_rep` varchar(254) NOT NULL default 'yes',
`skinId` varchar(254) NOT NULL default '1',
`youtube` varchar(254) NOT NULL default 'http://uk.youtube.com/watch?v=Xi6EStyGw14',
`date_of_birth` varchar(225) NOT NULL default '',
`emailverified` char(2) NOT NULL default '0',
`privacy` varchar(254) NOT NULL default 'private',
`personal_word` varchar(254) NOT NULL default '',
`about_user` varchar(254) NOT NULL default 'Hello, I am new too nivade!',
`registration_date` varchar(254) NOT NULL default '',
`special_user_notices` varchar(244) NOT NULL default '',
`ban_reason` varchar(240) NOT NULL default '',
`registered_ip` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=160 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user_data`
--
DROP TABLE IF EXISTS `user_warnings`;
CREATE TABLE `user_warnings` (
`id` int(2) NOT NULL auto_increment,
`reason` varchar(254) NOT NULL default '',
`for` varchar(254) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user_warnings`
--
--
-- Table structure for table `weekvoters`
--
DROP TABLE IF EXISTS `weekvoters`;
CREATE TABLE `weekvoters` (
`id` int(3) NOT NULL auto_increment,
`username` varchar(244) NOT NULL default '',
`votedfor` varchar(244) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `weekvoters`
--
LOCK TABLES `weekvoters` WRITE;
/*!40000 ALTER TABLE `weekvoters` DISABLE KEYS */;
/*!40000 ALTER TABLE `weekvoters` ENABLE KEYS */;
UNLOCK TABLES;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
Enjoy :)
------------------------------------------------------------------------
NOTICE - NOTICE ; IF YOU DO NOT READ THIS THEN YOU ARE SCREWED.
------------------------------------------------------------------------
/// YOU MUST CHANGE THE LAYOUT WHEN DOWNLOADING. MUST. \\\
Credits too:
Matt Upton - Nivade ideas (In real life :P)
Josh (habtasia) - being ok with this;
Dom (MasterFM) - For uploading with his rapidshare premium.
Here's a few questions, included with answers;
Why use nivade source?
Yes, it's terribly coded but will help out. This has been released to help the noobies out.
IMPORTANT:
There is a backdoor planted, but can easily be removed. The files which the backdoor connect to are no longer available, so the backdoor isn't going to be in use, but you should remove just in case when calonuk.net expires someone renews to use backdoor or something silly..
The backdoor is located in:
nivade_team.php - You might also want to rename a few files. :P
Near the bottom of the code REMOVE the file get contents bits and the if statement.
ALSO; exploit:
search.php
remove the bit near the top where it says $_GET[ 'sqli' ], remove that if statement as it doesn't clean the search input.