Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Downloads (http://www.bvlist.com/forumdisplay.php?f=16)
-   -   BestZone v1.2 (http://www.bvlist.com/showthread.php?t=8882)

kerem1213 22nd April 2014 10:57

login failed
 
Login failed !

Username or password incorrect

to any source code aeon-design can not log in :wallbash::wallbash::wallbash:

MikaTake 19th May 2014 14:50

1 Attachment(s)
Quote:

Originally Posted by DavePL (Post 43416)
Login failed !

Username or password incorrect

to any source code aeon-design can not log in :wallbash:

Quote:

Originally Posted by kerem1213 (Post 44390)
Login failed !

Username or password incorrect

to any source code aeon-design can not log in :wallbash::wallbash::wallbash:


Extinguish the user's table in the SQL and insert this here.

Code:

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!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 */;

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `users`
--

CREATE TABLE IF NOT EXISTS `users` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `username` varchar(40) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `old_password` varchar(40) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `passhash` varchar(32) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `secret` varchar(20) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '',
  `email` varchar(80) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `status` enum('pending','confirmed') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'pending',
  `added` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `last_login` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `last_access` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `last_catchup` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `editsecret` varchar(20) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '',
  `privacy` enum('normal','strong') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'normal',
  `stylesheet` int(10) DEFAULT '1',
  `info` text CHARACTER SET latin1 COLLATE latin1_general_ci,
  `acceptpms` enum('yes','friends','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `ip` varchar(15) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `class` tinyint(2) unsigned NOT NULL DEFAULT '1',
  `avatar` varchar(100) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `uploaded` bigint(20) unsigned NOT NULL DEFAULT '0',
  `downloaded` bigint(20) unsigned NOT NULL DEFAULT '0',
  `title` varchar(60) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
  `country` int(10) unsigned NOT NULL DEFAULT '0',
  `notifs` varchar(100) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `modcomment` text CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
  `enabled` enum('yes','no') NOT NULL DEFAULT 'yes',
  `disable_reason` text NOT NULL,
  `imunity` enum('yes','no') NOT NULL DEFAULT 'no',
  `avatars` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `donor` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'no',
  `warned` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'no',
  `warneduntil` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `torrentsperpage` int(3) unsigned NOT NULL DEFAULT '0',
  `topicsperpage` int(3) unsigned NOT NULL DEFAULT '0',
  `postsperpage` int(3) unsigned NOT NULL DEFAULT '0',
  `deletepms` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `savepms` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'no',
  `parked` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'no',
  `announce` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `passkey` varchar(32) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `last_browse` int(11) NOT NULL DEFAULT '0',
  `last_browsex` int(11) NOT NULL DEFAULT '0',
  `last_browsem` int(11) NOT NULL DEFAULT '0',
  `fader` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `fadecolor` varchar(255) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'FF0000',
  `support` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'no',
  `supportfor` text CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
  `supportlang` varchar(50) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `invited_by` int(10) NOT NULL DEFAULT '0',
  `invitees` varchar(100) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `totalinvite` int(10) unsigned NOT NULL DEFAULT '0',
  `invites` int(1) NOT NULL DEFAULT '0',
  `gender` enum('Male','Female','N/A') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'N/A',
  `invitedate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `view_adult` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `view_music` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `view_adult_browse` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `view_music_browse` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `view_musiclo_browse` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `view_musicvi_browse` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `view_musicpks_browse` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `advertisename` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'no',
  `signatures` enum('yes','no') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `signature` varchar(225) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `uploadpos` enum('yes','no') NOT NULL DEFAULT 'no',
  `downloadpos` enum('yes','no') NOT NULL DEFAULT 'yes',
  `forumpost` enum('yes','no') NOT NULL DEFAULT 'yes',
  `chatpost` enum('yes','no') NOT NULL DEFAULT 'no',
  `chatdisable` enum('yes','no') NOT NULL DEFAULT 'no',
  `donated` decimal(8,2) NOT NULL DEFAULT '0.00',
  `last_pm` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `last_comment` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `last_post` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `forum_access` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `last_staffmsg` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `timezone` smallint(3) NOT NULL DEFAULT '120',
  `dst` tinyint(2) NOT NULL DEFAULT '0',
  `commentpm` enum('yes','no') NOT NULL DEFAULT 'yes',
  `staff_chat_access` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `groups` int(10) unsigned NOT NULL DEFAULT '0',
  `rangclass` int(10) unsigned NOT NULL DEFAULT '0',
  `zodiac` int(10) unsigned NOT NULL DEFAULT '0',
  `donoruntil` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `total_donated` decimal(8,2) NOT NULL DEFAULT '0.00',
  `last_check` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `leechwarn` enum('yes','no') NOT NULL DEFAULT 'no',
  `cell` varchar(255) NOT NULL DEFAULT '',
  `tenpercent` enum('yes','no') NOT NULL DEFAULT 'no',
  `seedbonus` decimal(5,1) NOT NULL DEFAULT '0.0',
  `bonuscomment` text,
  PRIMARY KEY (`id`),
  UNIQUE KEY `username` (`username`),
  KEY `status_added` (`status`,`added`),
  KEY `ip` (`ip`),
  KEY `uploaded` (`uploaded`),
  KEY `downloaded` (`downloaded`),
  KEY `country` (`country`),
  KEY `last_access` (`last_access`),
  KEY `warned` (`warned`),
  KEY `passkey` (`passkey`),
  KEY `id` (`id`,`username`,`old_password`,`passhash`,`secret`),
  KEY `stylesheet` (`stylesheet`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=121 ;

--
-- Daten für Tabelle `users`
--

INSERT INTO `users` (`id`, `username`, `old_password`, `passhash`, `secret`, `email`, `status`, `added`, `last_login`, `last_access`, `last_catchup`, `editsecret`, `privacy`, `stylesheet`, `info`, `acceptpms`, `ip`, `class`, `avatar`, `uploaded`, `downloaded`, `title`, `country`, `notifs`, `modcomment`, `enabled`, `disable_reason`, `imunity`, `avatars`, `donor`, `warned`, `warneduntil`, `torrentsperpage`, `topicsperpage`, `postsperpage`, `deletepms`, `savepms`, `parked`, `announce`, `passkey`, `last_browse`, `last_browsex`, `last_browsem`, `fader`, `fadecolor`, `support`, `supportfor`, `supportlang`, `invited_by`, `invitees`, `totalinvite`, `invites`, `gender`, `invitedate`, `view_adult`, `view_music`, `view_adult_browse`, `view_music_browse`, `view_musiclo_browse`, `view_musicvi_browse`, `view_musicpks_browse`, `advertisename`, `signatures`, `signature`, `uploadpos`, `downloadpos`, `forumpost`, `chatpost`, `chatdisable`, `donated`, `last_pm`, `last_comment`, `last_post`, `forum_access`, `last_staffmsg`, `timezone`, `dst`, `commentpm`, `staff_chat_access`, `groups`, `rangclass`, `zodiac`, `donoruntil`, `total_donated`, `last_check`, `leechwarn`, `cell`, `tenpercent`, `seedbonus`, `bonuscomment`) VALUES
(1, 'Admin', '', '805ea6f2bc4228dc63747f7915d107d8', '„éá×dM˜Ï€A\nAw~â†x', 'admin@blabla.com', 'confirmed', '2014-05-19 14:41:30', '0000-00-00 00:00:00', '2014-05-19 14:41:30', '0000-00-00 00:00:00', '', 'normal', 1, NULL, 'yes', '', 15, '', 0, 0, '', 0, '', '', 'yes', '', 'no', 'yes', 'no', 'no', '0000-00-00 00:00:00', 0, 0, 0, 'yes', 'no', 'no', 'yes', '', 0, 0, 0, 'yes', 'FF0000', 'no', '', '', 0, '', 0, 0, 'N/A', '0000-00-00 00:00:00', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'no', 'yes', '', 'no', 'yes', 'yes', 'no', 'no', 0.00, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 120, 0, 'yes', '0000-00-00 00:00:00', 0, 0, 0, '0000-00-00 00:00:00', 0.00, '0000-00-00 00:00:00', 'no', '', 'no', 0.0, NULL);

/*!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 */;


Login:
Name: Admin
PW: 123456

david07 8th June 2014 05:21

can someone please upload the source.The link in the description is down :(

Krypto 8th June 2014 11:32

No need for it to be uploaded again as it's also attached to the 1st post :wallbash:

yuly 16th July 2014 20:33

When i create a new account it not connet , but it existe in database

and the admin don't connect also


(sorry for my english)

redred2 24th July 2014 22:21

hi
 
do i need short_open_tag=On or off?

bizzarre13 6th August 2019 16:38

something is strange.
when i try to edit a torrent, it says ' Successfully edited! ' but the torrent remain the same.
For example in description i have something like that: "ok test" , and if i try to edit the text , i write "no good test" , press edit, it says Successfully edited! and the text does not edit...

Napon 6th August 2019 17:01

So here is how to fix it look at edit see what is in it now add to the takeedit file

bizzarre13 6th August 2019 18:11

i think takeedit.php is the problem, but i can't see the error

Code:


require_once("include/bittorrent.php");

function bark($msg) {
        genbark($msg, "Edit failed!");
}

if (!mkglobal("id:name:descr:type"))
        bark("missing form data");

$id = 0 + $id;
if (!$id)
        die();

dbconn();
security_staff();
if ($CURUSER["class"] > 15)
{
stdhead();
  stdmsg("FUCK OFF...", "STOP CHEATING MOTHER FUCKER");
  stdfoot();
  exit;
}

loggedinorreturn();

maxsysop();

$res = mysql_query("SELECT owner, filename, save_as FROM torrents WHERE id = $id");
$row = mysql_fetch_array($res);
if (!$row)
        die();

if ($CURUSER["id"] != $row["owner"] && get_user_class() < UC_MODERATOR)
        bark("You're not the owner! How did that happen?\n");

$updateset = array();

$fname = $row["filename"];
preg_match('/^(.+)\.torrent$/si', $fname, $matches);
$shortfname = $matches[1];
$smalldescr = $_POST["description"];
$dname = $row["save_as"];

if (!empty($_POST['url']))
$url = $_POST['url'];

if (!empty($_POST['poster']))
$poster = unesc($_POST['poster']);
$nuked = $_POST["nuked"];
$nfoaction = $_POST['nfoaction'];
if ($nfoaction == "update")
{
  $nfofile = $_FILES['nfo'];
  if (!$nfofile) die("No data " . var_dump($_FILES));
  if ($nfofile['size'] > 65535)
    bark("NFO is too big! Max 65,535 bytes.");
  $nfofilename = $nfofile['tmp_name'];
  if (@is_uploaded_file($nfofilename) && @filesize($nfofilename) > 0)
    $updateset[] = "nfo = " . sqlesc(str_replace("\x0d\x0d\x0a", "\x0d\x0a", file_get_contents($nfofilename)));
}
else
  if ($nfoaction == "remove")
    $updateset[] = "nfo = ''";

$updateset[] = "name = " . sqlesc($name);
$updateset[] = "description = " . sqlesc($smalldescr);
$updateset[] = "request = '" . ($_POST["request"] == "no" ? "no" : "yes") . "'";
$updateset[] = "search_text = " . sqlesc(searchfield("$shortfname $dname $torrent"));
$updateset[] = "descr = " . sqlesc($descr);
$updateset[] = "url = " . sqlesc($url);
$updateset[] = "ori_descr = " . sqlesc($descr);
$updateset[] = "category = " . (0 + $type);

if (get_user_class()>= UC_ADMINISTRATOR) {

        if ($_POST["banned"]) {
                $updateset[] = "banned = 'yes'";
                $_POST["visible"] = 0;
        }
        else
                $updateset[] = "banned = 'no'";
}

if ((isset($_POST['allow_comments'])) && (($allow_comments = $_POST['allow_comments']) != $row['allow_comments'])) {
        if (get_user_class()>= UC_ADMINISTRATOR)
                $updateset[] = "allow_comments = " . sqlesc($allow_comments);
        } else
                $updateset[] = "allow_comments = 'yes'";

if ($_POST['seedb'] == "yes")
        $updateset[] = "seedb = 'yes'";
else
        $updateset[] = "seedb = 'no'";



if (get_user_class()>= UC_MASTER_MODERATOR)
$updateset[] = "sticky = '" . ($_POST["sticky"] ? "yes" : "no") . "'";
$updateset[] = "visible = '" . ($_POST["visible"] ? "yes" : "no") . "'";

if (get_user_class()>= UC_ADMINISTRATOR)
$updateset[] = "free = '" . ($_POST["free"] ? "yes" : "no") . "'";
$updateset[] = "x2 = '" . ($_POST["x2"] ? "yes" : "no") . "'";

//$updateset[] = "free = '".($_POST["free"]==1 ? 'yes' : 'no')."'";
$updateset[] = "poster = " . sqlesc($poster);
$updateset[] = "nuked = " . sqlesc($nuked);


mysql_query("UPDATE torrents SET " . join(",", $updateset) . " WHERE id = $id");

//write_log("Torrent $id ($name) was edited by $CURUSER[username]");
write_log("Torrent: $name | ID: $id | Was edited. by $CURUSER[username].");

$returl = "details.php?id=$id&edited=1";
if (isset($_POST["returnto"]))
        $returl .= "&returnto=" . urlencode($_POST["returnto"]);
header("Refresh: 0; url=$returl");
?>


son 6th August 2019 21:27

Hello
 
Quote:

Originally Posted by bizzarre13 (Post 53955)
something is strange.
when i try to edit a torrent, it says ' Successfully edited! ' but the torrent remain the same.
For example in description i have something like that: "ok test" , and if i try to edit the text , i write "no good test" , press edit, it says Successfully edited! and the text does not edit...


The last post to this was 6 years ago, firstly the complete code base probably needs to be updated to current well " EVERYTHING". Then secondly, those that can't setup a webserver, should find / pay for this to be set-up properly, caution"find someone you can trust.


All times are GMT +2. The time now is 20:56.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.