Well symlink stands for symbolic link or can also be called soft-link, and to best describe it for everyone out there it is like a shortcut in windows now to explain in a bit more detail imagine your on your desktop and you create a shortcut to "C:/" this is essentially like creating a symlink from "/home/userx/www/" to "/"
please note that a shortcut is not the same as a symlink. as windows does also support symlinking I only use them as a reference as they are similar and help explain it for those who may not understand otherwise.
i am making this tutorial for those who have shelled websites and they cant root server as not all linux boxes can be rooted , also we dont have exploits for all linux kernels.
so here i am gonna show you how to hack websites on a server using symlink ,
but first u will need a shelled website on that server ,thatn only u can do symlink without shell u cant do symlink.
1.) here is my shelled website
Download Files from here
and this is how it will look
and now click on symlink bypass
if it is able to read etc/passwd then u can do symlink on the server but it is not always 100% sure that if it can read /etc pwd then server can be symlinked.
now a days hostgator ,hostmonster,blue host ..etc servers are patched to symlink but others are still vulnerable.
4.) for this tut i will be hacking a joomla site so it will look like this

these all domains which are under domain column are joomla websites on the server.
now as u can see i have my target website of joomla now i will click on config and
then i will be redirected to the symlink shotrcut link of the directories of the target website :D. config file contains the username and password of databse of that website.
5.)now copy these username an password from the config page

download database file from the download link and upload on the webiste and then acess it will look like this now enter that username and passwrd which u just copied from above config page
7.)after login you will see this page now u are in databse of your target website bingo :P

8.)click on tables and then in tables u have to find user,admin table as you can see here

default adminlogin page for joomla is www.site.com/administrator
this how we upload shell in jomla
goto>tools>template manger> click on any template>edit html now you will see this html code of template to edit.
which is available for u in download file.
here is our shell
website which u can hack
joomla
wordpress(wp-config)
brother please tell me what is shelled site and how to find shelled site. thanks!
ReplyDeletePlease email me my email is 1mohammadarfa1@gmail.com
a site in which shell is uploaded
Delete