Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
March 28, 2024
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: 653
Members: 0
Total: 653
PacketStorm News
·301 Moved Permanently

read more...
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Newbies corner -> How to bypass magic_quotes?
Post new topic  Reply to topic View previous topic :: View next topic 
How to bypass magic_quotes?
PostPosted: Fri Dec 04, 2009 9:45 pm Reply with quote
dasatti
Regular user
Regular user
 
Joined: Dec 03, 2009
Posts: 9
Location: Pakistan




Hi,

I am new. Is their some way to bypass magic_quotes when turned on in PHP. I read that it is possible throught hexa encoding the urls. How do I do that. So if that is possible in this way does it mean that it is virtually possible to inject any site with even magis_quaotes turned on if we get a proper url to inject and the coder has not taken any extra coding measures to prevent the injection other than relying on magic_quotes??

I have another question, I obtained user ids and passwords from a site through sql injection. Even the passwords were not hashed but they were of use since I could not find the path to the admin area of the site to log in. I tried many techniques in google to find out the path to admin area but no success. So how can I do that other than google. Is their some way to get whole directory structure of some site.

My questions may seem foolish to you but I am new.

Thanks
View user's profile Send private message
PostPosted: Fri Mar 26, 2010 9:08 am Reply with quote
compe2004
Regular user
Regular user
 
Joined: Mar 26, 2010
Posts: 6




you just need to hex the value

for example

load_file('/etc/passwd/file')

to be transformed to something like

load_file(3fd071072b0acd0c16c9b0b9f236df26)

if you know php, then there's a function that can convert that to hex value.

no, there are still ways to secure a site even if magic quotes are on. server side scripting is one. i guess.
View user's profile Send private message
PostPosted: Sun Mar 28, 2010 8:55 pm Reply with quote
Cyko
Moderator
Moderator
 
Joined: Jul 21, 2009
Posts: 375




compe2004 wrote:
you just need to hex the value
...
if you know php, then there's a function that can convert that to hex value.


Look into bin2hex().
View user's profile Send private message
How to bypass magic_quotes?
  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 1 of 1  

  
  
 Post new topic  Reply to topic  




Powered by phpBB © 2001-2008 phpBB Group






Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
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-2020 Janek Vind "waraxe"
Page Generation: 0.109 Seconds