[ Príspevkov: 3 ] 
AutorSpráva
Offline

Užívateľ
Užívateľ
Obrázok užívateľa

Registrovaný: 14.02.06
Príspevky: 125
Témy: 35 | 35
NapísalOffline : 02.08.2006 19:23 | Report Post Hack

Čafte. Nahodil som tento mód (http://phpbbhacks.com/download/568). Keď niekto odhlási nejaký príspevok, tak mi to normálne otvorí popup okno, ale hodí túto chybu:

Citácia:
Error by getting reported posts.

DEBUG MODE

SQL Error : 1054 Unknown column 'p.poster_id' in 'on clause'

SELECT f.forum_name, f.forum_id, t.topic_title, t.topic_id, p.post_id, pt.post_subject, p.post_username, u.username, u.user_id, u2.username as reportername, u2.user_id as reporter_id FROM phpbb_forums f, phpbb_topics t, phpbb_posts p, phpbb_posts_text pt LEFT JOIN phpbb_users u ON u.user_id = p.poster_id LEFT JOIN phpbb_users u2 ON u2.user_id = p.reporter_id WHERE p.reporter_id <> 0 AND f.forum_id = p.forum_id AND t.topic_id = p.topic_id AND pt.post_id = p.post_id ORDER BY p.post_id ASC

Line : 168
File : report.php


Pls pomôžte-...


Offline

Prevádzkovateľ fóra
Prevádzkovateľ fóra
Report Post Hack

Registrovaný: 01.05.05
Príspevky: 13557
Témy: 1483 | 1483
Bydlisko: Bratislava
NapísalOffline : 02.08.2006 19:52 | Report Post Hack

pridal si aj nieco do sql? respektive ak ano a ma tento mod vlastnu tabulku tak si pouzil aj ten isty prefix ako ma forum?


_________________
Streacom DA2 | SilverStone Titanium SX800-LTI 800W | ASRock X299E-ITX/ac | Intel Core i9-9980XE & be quiet! Dark Rock TF | Kingston HyperX Impact 64 GB DDR4 2666 MHz | NVIDIA Titan RTX 24 GB | Intel SSD Optane 905P 480 GB NVMe U.2 & Intel SSD 750 1,2 TB NVMe U.2 & Intel SSD 660p 2 TB NVMe M.2 & Seagate BackUp Plus Portable 56 TB USB | 55" 4K OLED Dell Alienware AW5520QF | Ergotron LX Wall Mount Keyboard Arm | Logitech Craft | Logitech G603 | Logitech F710 | Harman Kardon Sabre SB 35 & Sennheiser RS 175 | Microsoft Windows 11 Enterprise | APC Back-UPS BE-850 VA | Lenovo ThinkPad X1 Carbon | SilverStone ML05B Milo | Corsair SF600 SFX 600W | ASRock X99E-ITX/ac | Intel Xeon E5-2683 v4 & NOCTUA NH-L12S | Kingston HyperX Savage 32 GB DDR4 2400 MHz | NVIDIA GeForce GT 710 1 GB | Intel SSD Optane Memory 32 GB NVMe M.2 & Intel SSD 730 240 GB SATA & Samsung SSD 860 1 TB | Ubuntu 24.04 LTS | Dell Wyse 3040 | Intel Atom x5-Z8350 | 2 GB DDR3 1600 MHz | 16 GB eMMC | 24" EIZO FlexScan EV2451 | Alpine Linux + XFCE4
Offline

Užívateľ
Užívateľ
Obrázok užívateľa

Registrovaný: 14.02.06
Príspevky: 125
Témy: 35 | 35
Napísal autor témyOffline : 02.08.2006 20:35 | Report Post Hack

Samozrejme som spustil inštalačný súbor... Obsahuje toto?
Nemôže to byť kvôli nejakému módu na farby alebo tak?
Citácia:
<?php
/***************************************************************************
* install_*****_mod.php
* -------------------
* begin : Saturday, Jun 27, 2002
* copyright : (C) 2002 Saerdnaer
* email : saerdnaer@web.de
* version : 1.0.0
*
***************************************************************************/

define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);

// Start session management
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
// End session management

if( !$userdata['session_logged_in'] )
{
$header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: ';
header($header_location . './' . append_sid("login.$phpEx?redirect=" . basename(__FILE__) ));
exit;
}
else if( $userdata['user_level'] != ADMIN )
{
message_die(GENERAL_MESSAGE, $lang['Not_admin']);
}

if ( isset($userdata['no_report_popup']) && isset($userdata['refresh_report_popup']) )
{
$version = '1.0.4';
}
else
{
$sql = "SHOW COLUMNS FROM " . POSTS_TABLE . " LIKE 'reporter_id'";
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not obtain posts table reporter_id informations', '', __LINE__, __FILE__, $sql);
}
if ( $db->sql_numrows($result) > 0 )
{
$version = '1.0.1'; // bis 1.0.3
}
else
{
$version = 'new';
}
}

$sql_query = "";
switch($version)
{
case 'new':
$sql_query .= "
ALTER TABLE " . POSTS_TABLE . " ADD reporter_id MEDIUMINT(8) DEFAULT '0' NOT NULL;
ALTER TABLE " . POSTS_TABLE . " ADD INDEX (reporter_id);";
case '1.0.1':
case '1.0.2':
case '1.0.3':
$sql_query .= "ALTER TABLE " . USERS_TABLE . " ADD no_report_popup TINYINT(1) DEFAULT '0' NOT NULL, ADD refresh_report_popup TINYINT(1) DEFAULT '0' NOT NULL;";
case '1.0.4':
$sql_query .= "
ALTER TABLE " . USERS_TABLE . " ADD no_report_mail TINYINT(1) DEFAULT '0' NOT NULL;
INSERT INTO " . CONFIG_TABLE . " (config_name, config_value) VALUES
('report_no_guestes', '0'),
('report_no_auth_users', ''),
('report_no_auth_groups', ''),
('report_disabled_users', ''),
('report_disabled_groups', ''),
('report_only_admin', '0'),
('report_popup_height', '250'),
('report_popup_width', '700'),
('report_popup_links_target', '2'),
('report_post_hack_version', '1.0.5')";
break;
}

$sql_array = explode(';', $sql_query);

for ( $i = 0; $i < count($sql_array); $i++ )
{
if ( trim($sql_array[$i]) != '' )
{
if ( !$db->sql_query($sql_array[$i]) )
{
$error = true;
$error_sql[] = $sql_array[$i];
$error_msg[] = $db->sql_error();
}
else
{
$one_true = true;
}
}
}

if ( $error && !$one_true )
{
$msg = 'The queries failed. Try again later or mail me the follow errors. - <br/>Die Queries konnten nicht ausgeführt werden. Versuchen sie es später noch einmal oder schicken sie mit die folgenden Fehlermeldungen.';
}
else if ( $error )
{
$msg = 'Some queries failed. Try again later or mail me the follow errors. - <br/>Einige Queries konnten nicht ausgeführt werden. Versuchen sie es später noch einmal oder schicken sie mit die folgenden Fehlermeldungen.';
}
else
{
$delete = false;
if ( !isset($HTTP_GET_VARS['do_not_del']) )
{
$delete = @unlink(__FILE__);
}
$msg = 'The hack was installed successful. ' . ( $delete ? 'This file was deleted successful.' : 'Don\'t forget to delete this file.' ) . ' - <br/>Der Hack wurde erfolgreich installiert. ' . ( $delete ? 'Diese Datei wurde erfolgreich gelöscht.' : 'Vergessen sie nicht diese Datei zu löschen.');
}

if ( $error )
{
$msg .= '<br/><br/>Error list:';
for ( $i = 0; $i < count($error_sql); $i++ )
{
$msg .= '<br />SQL Error: ' . $error_msg[$i]['code'] . ' ' . $error_msg[$i]['message'] . '<br />SQL Query: ' . $error_sql[$i] . '<br />';
}
}
message_die( ( $error ) ? GENERAL_ERROR : GENERAL_MESSAGE, $msg);
?>


 [ Príspevkov: 3 ] 


Report Post Hack



Podobné témy

 Témy  Odpovede  Zobrazenia  Posledný príspevok 
V tomto fóre nie sú ďalšie neprečítané témy.

Report post hack error

v CMS

10

2669

13.02.2008 14:30

Risho_rk

V tomto fóre nie sú ďalšie neprečítané témy.

PREKLAD: Advanced Report Hack SK

v CMS

2

2635

04.04.2008 16:13

Gerky

V tomto fóre nie sú ďalšie neprečítané témy.

PREKLAD: Advanced Report Hack SK

v CMS

0

2332

24.02.2007 12:59

JanoF

V tomto fóre nie sú ďalšie neprečítané témy.

post funkcia a post pole

v Backend

15

1481

28.05.2014 13:21

Kamahl

V tomto fóre nie sú ďalšie neprečítané témy.

report

v Backend

5

770

01.12.2007 20:51

Flety

V tomto fóre nie sú ďalšie neprečítané témy.

Report Mod

v Oznámenia a návrhy

6

1421

30.07.2006 16:10

Luks

V tomto fóre nie sú ďalšie neprečítané témy.

NH09 Match Report

v Ostatné

1

729

04.01.2009 5:05

Daron

V tomto fóre nie sú ďalšie neprečítané témy.

PREKLAD: Report posts SK

v CMS

8

3032

30.08.2007 23:25

Martinspeed

V tomto fóre nie sú ďalšie neprečítané témy.

Problem s Report modom

v CMS

6

572

25.03.2007 12:51

Toxic

V tomto fóre nie sú ďalšie neprečítané témy.

Pravidla SPvF, Report, diskusia

v Oznámenia a návrhy

3

1425

01.06.2009 20:42

Luks

V tomto fóre nie sú ďalšie neprečítané témy.

Power indicator (Report problem) 7300GT

v nVidia grafické karty

6

873

25.11.2007 18:44

Bubo222

V tomto fóre nie sú ďalšie neprečítané témy.

DMCA report na url stop index

v SEO, marketing a reklama

0

2023

23.11.2018 18:24

tatorecords

V tomto fóre nie sú ďalšie neprečítané témy.

Hack stranky

v Backend

7

4037

08.02.2009 18:58

neopagan

V tomto fóre nie sú ďalšie neprečítané témy.

alterIW hack

v Antivírusy a ochrana

9

747

12.05.2011 21:18

ioLo+

V tomto fóre nie sú ďalšie neprečítané témy.

hack PHPBB

v CMS

11

3100

25.10.2008 16:10

Ďuri

V tomto fóre nie sú ďalšie neprečítané témy.

hack routra

v Siete

2

708

10.02.2009 11:01

zmija31



© 2005 - 2026 PCforum, edited by JanoF