Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
June 3, 2020
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: 9145

People Online:
Visitors: 605
Members: 0
Total: 605
PacketStorm News
Currently there is a problem with headlines from this site
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> General discussion -> Read access to files...
Post new topic  Reply to topic View previous topic :: View next topic 
Read access to files...
PostPosted: Fri Aug 12, 2011 9:05 pm Reply with quote
-AO-
Advanced user
Advanced user
 
Joined: Jul 15, 2008
Posts: 205
Location: United States




I can read files on the server but i want full access. the problem is that the db users i've got are restricted to local.

Also, in some config files... in the mysql_connect function, it's like this...

mysql_connect("database","testuser","testpass");

so the host is actually database, instead of an ip or localhost... any idea of how i can get the ip to this 'database' host?

any ideas where to go from here?


And I'll tip whoever helps me through paypal (:
View user's profile Send private message Yahoo Messenger
PostPosted: Sat Aug 13, 2011 7:33 am Reply with quote
pexli
Valuable expert
Valuable expert
 
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




If you see this mysql_connect("database","testuser","testpass"); in config files this mean your DB is on localhost.
View user's profile Send private message
PostPosted: Mon Aug 15, 2011 8:32 am Reply with quote
-AO-
Advanced user
Advanced user
 
Joined: Jul 15, 2008
Posts: 205
Location: United States




thanks pexli.

mysql port isn't open.

besides that, i've got db access through some injection now Smile but still not able to get shell... i have access to myBB and wordpress. but no permissions to edit files and i don't know how to get a shell with mybb.
View user's profile Send private message Yahoo Messenger
PostPosted: Mon Aug 15, 2011 12:09 pm Reply with quote
pexli
Valuable expert
Valuable expert
 
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




Write in google

mybb shell upload

...and you see 1k pages:)))))
View user's profile Send private message
PostPosted: Mon Aug 15, 2011 6:00 pm Reply with quote
-AO-
Advanced user
Advanced user
 
Joined: Jul 15, 2008
Posts: 205
Location: United States




ahh Smile

thanks pexli. pm me paypal email
View user's profile Send private message Yahoo Messenger
PostPosted: Wed Aug 17, 2011 9:27 am Reply with quote
pexli
Valuable expert
Valuable expert
 
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




No need dude:)
View user's profile Send private message
Read access to files...
  www.waraxe.us Forum Index -> General discussion
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 1 of 1  

  
  
 Post new topic  Reply to topic  




Powered by phpBB 2001-2008 phpBB Group






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-2013 Janek Vind "waraxe"
Page Generation: 0.054 Seconds