![]() |
|
Image IP logging, redirect your image to any php code - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4) +----- Forum: Hacking Tutorials (https://hackforums.net/forumdisplay.php?fid=47) +----- Thread: Image IP logging, redirect your image to any php code (/showthread.php?tid=3370180) Pages: Pages
1
2
|
Image IP logging, redirect your image to any php code - rfpd - Mar 31, 2013 Basically with this you can post pictures and when they see them some php script will run, and you will store the visitor's ip. So we have 4 files: .htaccess PHP Code iplogger.php PHP Code logger.html (empty) image.gif EDIT: Most web hosting websites blocks .htaccess, you need to find some that doesn't! * - alewisGB - Mar 31, 2013 You could use email tracking pictures do do exactly the same, instead of putting them into an email just put them on your web page * - rfpd - Mar 31, 2013 (Mar 31, 2013 11:48 AM)alewisGB Wrote: You could use email tracking pictures do do exactly the same, instead of putting them into an email just put them on your web page Yes this is very usefull, but one of the disavantages is that "display" code will not run like alerts, defaces etc, you only can run php code for storing data. Or problably you can but you I haven't found a way to do that, people should focuss on this because every website is vulnerable to this, every single one, I only heard about this recently if we dig up this utilities maybe we can get some gold ;)! * - Misaki Mei - Apr 1, 2013 x3 Thanks for sharing this, going to use this for other things too. o/ * - rfpd - Apr 1, 2013 (Apr 1, 2013 06:11 AM)Misaki Mei Wrote: x3 Thanks for sharing this, going to use this for other things too. o/ No problem mate ;) People seem to look out for old and usual news instead of looking to new exploits.... * - S.a.b.e.r - Apr 1, 2013 I'd recommend you use htmlentities() to filter the data being sent to your script. Just incase. * - rfpd - Apr 1, 2013 (Apr 1, 2013 08:02 AM)S.a.b.e.r Wrote: I'd recommend you use htmlentities() to filter the data being sent to your script. Just incase. So it's a way to bypass code injection? * - S.a.b.e.r - Apr 1, 2013 (Apr 1, 2013 08:08 AM)rfpd Wrote: So it's a way to bypass code injection? Well in you're code, the unsanitized input is saved in an html file. This makes it vulnerable to persistent XSS. * - rfpd - Apr 1, 2013 Thanks for the help but it's not really a website it's just a new way to hack no one will notice this, but nevertheless good to know! * - Fuizzzy - Apr 1, 2013 Thanks for this, it will be useful someday!! #sp * - Edge of Nowhere - Apr 1, 2013 (Apr 1, 2013 03:35 PM)rfpd Wrote: Thanks for the help but it's not really a website it's just a new way to hack no one will notice this, but nevertheless good to know! New? Hack? This is neither. Not trying to sound like an asshole but this has been known for a while. * - rfpd - Apr 2, 2013 (Apr 1, 2013 06:03 PM)01000101 Wrote: New? Hack? Searching if you posted this..Found nothing, at least I know how to share.. Thanks anyways... * - m0resleep - Apr 2, 2013 Thank you for this! Will try it later ;) * - rfpd - Apr 3, 2013 (Apr 2, 2013 10:12 AM)m0resleep Wrote: Thank you for this! Will try it later ;) No problem mate ;) more to come! I will try to use this exploit and problably find a 0-day :D! * - grifmajster - Apr 4, 2013 Thanks, works pretty nice. I can't rep you, but I would. Thanks! |