2008년 02월 18일
Image Shells | Use and Create Them
welcome to the tutorial!
today we will create a working image shell that does not break the image and make it invalid. This image shell can be
useful when finfing lfi and its use will be explained, its actually pretty simple.
First open up photoshop and use the following settings for our example:
http://www.psp-gamerz.com/1.jpg
then add an avatar or image and some text if you like:
http://www.psp-gamerz.com/3.jpg
now to insert working php code do file >> file info
http://www.psp-gamerz.com/4.jpg
on the copyright url line insert your php code
http://www.psp-gamerz.com/5.jpg
Now when you have lfi you can view local files and include them.
So we find an lfi vulnerable site with a forum or some type of image uploading. Now find out the location of our
image-shell and include it in our query. for example:
i have found :
index.php?page=home.htm
you do :
index.php?page=images/uploads/image.jpg
It will successfully run the php code and include a shell or do whatever you want.
Hope you enjoyed this tutorial good luck on your next hack
today we will create a working image shell that does not break the image and make it invalid. This image shell can be
useful when finfing lfi and its use will be explained, its actually pretty simple.
First open up photoshop and use the following settings for our example:
http://www.psp-gamerz.com/1.jpg
then add an avatar or image and some text if you like:
http://www.psp-gamerz.com/3.jpg
now to insert working php code do file >> file info
http://www.psp-gamerz.com/4.jpg
on the copyright url line insert your php code
http://www.psp-gamerz.com/5.jpg
Now when you have lfi you can view local files and include them.
So we find an lfi vulnerable site with a forum or some type of image uploading. Now find out the location of our
image-shell and include it in our query. for example:
i have found :
index.php?page=home.htm
you do :
index.php?page=images/uploads/image.jpg
It will successfully run the php code and include a shell or do whatever you want.
Hope you enjoyed this tutorial good luck on your next hack
# by | 2008/02/18 20:14 | →Basic Articles | 트랙백





☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]