jurchiks Posted November 11, 2013 Report Share Posted November 11, 2013 Ir admina panelis, kurā ir tiešie linki uz citiem saitiem. Pats par sevi saprotams, citi saiti savos access logos redz admina paneļa URLi kā referreri. Vajag, lai redz kādu citu referreri. Jautājums - vai ir kāds bezmaksas saits, caur kuru var prokšot pieprasījumus uz citiem URLiem, piemēram, šādi: http://www.somesite.lv?url=your+url+here has redirekto uz your+url+here ? Quote Link to comment Share on other sites More sharing options...
daGrevis Posted November 11, 2013 Report Share Posted November 11, 2013 Tev vajag paslēpt domēnu kā tādu, vai tieši URL no admin paneļa? Quote Link to comment Share on other sites More sharing options...
rpr Posted November 11, 2013 Report Share Posted November 11, 2013 vai tad header location liek klāt referer? manuprāt, nē. Quote Link to comment Share on other sites More sharing options...
jurchiks Posted November 12, 2013 Author Report Share Posted November 12, 2013 (edited) Tieši URL no admin paneļa. Frontendā nekādu tādu linku nav. @rpr - kāds header location? Pliks anchor lapā. Edited November 12, 2013 by jurchiks Quote Link to comment Share on other sites More sharing options...
spainis Posted November 12, 2013 Report Share Posted November 12, 2013 (edited) https, protams, ja visi linki ir uz http saitiem (https://tools.ietf.org/html/rfc2616#section-15.1.3) Edited November 12, 2013 by spainis Quote Link to comment Share on other sites More sharing options...
jurchiks Posted November 12, 2013 Author Report Share Posted November 12, 2013 ACP ir https, tikai sertifikāta nav (priekšnieks nav papūlējies iegādāties). Gribi teikt, ka viņiem referrer jau nav redzams un neko nevajag darīt? Quote Link to comment Share on other sites More sharing options...
codez Posted November 12, 2013 Report Share Posted November 12, 2013 (edited) http://en.wikipedia.org/wiki/HTTP_referrer If a website is accessed from a HTTP Secure (HTTPS) connection and a link points to anywhere except another secure location, then the referer field is not sent Un vēl vari izmantot rel="noreferrer": http://no-ref.appspot.com/ Edited November 12, 2013 by codez Quote Link to comment Share on other sites More sharing options...
jurchiks Posted November 12, 2013 Author Report Share Posted November 12, 2013 (edited) http://en.wikipedia.org/wiki/HTTP_referrerTad labi. Un vēl vari izmantot rel="noreferrer": http://no-ref.appspot.com/ No shipping browser currently supports this...? + mans priekšnieks un vairums viņa "čomu", tai skaitā cilvēks, kurš tajā acp visvairāk darbosies, laiž ar FF. Edited November 12, 2013 by jurchiks Quote Link to comment Share on other sites More sharing options...
codez Posted November 12, 2013 Report Share Posted November 12, 2013 http://en.wikipedia.org/wiki/Comparison_of_layout_engines_(HTML5)#Other_features Šķiet, ka tikai webkit atbalsta. Quote Link to comment Share on other sites More sharing options...
F3llony Posted November 12, 2013 Report Share Posted November 12, 2013 Visus linkus adminpanelī pārvērs par http://domens.com/redirect.php?url=URL. Savukārt redirect.php satur: <!DOCTYPE HTML> <html> <head><title>Gaidi...</title></head> <body> <?php if (isset($_GET['url'])): ?> <script> document.location.href = "<?php echo urldecode($_GET['url']); ?>"; </script> <?php else: ?> Missing URL <?php endif; ?> </body> </html> Koda sākumā vajadzētu pārbaudīt vai pilsonis ir ielogojies, lai tavu skriptu nesāktu izmantot slikti cilvēki. Piemēram, es. Quote Link to comment Share on other sites More sharing options...
aaxc Posted November 12, 2013 Report Share Posted November 12, 2013 Offtopic: F3llony, tu sevi uzskati par sliktu cilvēku? Quote Link to comment Share on other sites More sharing options...
Kavacky Posted November 12, 2013 Report Share Posted November 12, 2013 Piemēram, es.I LOL'd. Quote Link to comment Share on other sites More sharing options...
codez Posted November 12, 2013 Report Share Posted November 12, 2013 otrs variants, darīt to pašu, ko Fellony saka, tika servera pusē taisīt redirect un vēl papildus nočekot esošo referreri, vai tas ir no tavas lapas. Quote Link to comment Share on other sites More sharing options...
codez Posted November 12, 2013 Report Share Posted November 12, 2013 (edited) Vēlviens variants, būt ļaunam un izmantot, ja kāds pats jau ir izveidojis redirectu priekš sevis, piemēram:http://www.draugiem.lv/say/click.php?url=http://google.com http://www.draugiem.lv/say/click.php?url=http://bing.com Edited November 12, 2013 by codez Quote Link to comment Share on other sites More sharing options...
F3llony Posted November 12, 2013 Report Share Posted November 12, 2013 (edited) otrs variants, darīt to pašu, ko Fellony saka, tika servera pusē taisīt redirect un vēl papildus nočekot esošo referreri, vai tas ir no tavas lapas. Tas nedarbosies. Servera puses redirect saglabā referer no avota. Arī draugiem nodod referera informāciju no avota. Edited November 12, 2013 by F3llony Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.