Trollons les lamers ! C'est une idée originale pour protéger son contenu et son site des scanner de faille et de crawler.





0x01. TROLL.PHP


Il n'y a plus qu'à trouver du contenu original, provocateur, un tantinet dérangeant et l'uploader sur le serveur en tant que phpmyadmin/index.php ou encore config.php, admin.php, index.php.bak.php, ... bref, seule l'imagination est limite.


 
<?php
 
$sites = array( 0=>"http://cdn.meme.am/instances/500x/63528438.jpg",
"http://weknowmemes.com/generator/uploads/generated/g1358393047931232525.jpg",
"http://cdn.meme.am/instances/62712370.jpg",
"http://art.ngfiles.com/images/191000/191384_fagvin-dickworm_you-dick.png",
"https://memecrunch.com/meme/2AXZ9/nice-one-dickhead/image.png?w=400&c=1",
"https://mariamuir.com/wp-content/uploads/2013/03/What-Are-You-Doing.png",
"http://img14.deviantart.net/b13c/i/2011/233/5/1/hey___what_are_you_doing___by_echo_kitsch-d47doea.png",
"http://cdn.listcovery.com/wp-content/uploads/2013/08/WTF-ARE-YOU-DOING-110.jpg",
"http://ct.fra.bz/ol/fz/sw/i56/5/9/29/frabz-WTF-Are-you-doing-7cc1b5.jpg",
"http://cdn.meme.am/instances/62658197.jpg",
"http://i2.wp.com/gaycomicgeek.com/wp-content/uploads/2015/10/WHAT-THE-FUCK-3.gif",
"http://cdn.meme.am/instances/27420725.jpg",
"https://s-media-cache-ak0.pinimg.com/736x/8c/db/1e/8cdb1eb8b021b69efc0eda49aa20b16a.jpg",
"http://img1.joyreactor.com/pics/post/gif-giraffe-nsfw-porn-1857951.gif",
"http://img0.joyreactor.com/pics/comment/full/gif-Spider-Man-Marvel-web-1081546.jpeg",
"https://media.licdn.com/mpr/mpr/p/5/005/07d/1d3/17059f0.jpg",
"http://www.dingtwist.com/wp-content/uploads/2013/08/the-life-of-an-asshole.jpg",
"http://cdn.meme.am/instances/58362810.jpg",
"https://pbs.twimg.com/profile_images/2374634930/image.jpg",
"https://media.licdn.com/mpr/mpr/shrinknp_400_400/p/8/005/074/154/00a2412.jpg",
"http://t.fod4.com/t/25270270c4/c480x270_34.jpg",
"https://pbs.twimg.com/profile_images/534011818700963840/HoJpdmZA.jpeg",
"http://cdn.meme.am/instances/500x/56827900.jpg",
"http://i3.cpcache.com/product/576441196/asshole.jpg?height=230&width=230&qv=90&AttributeValue=Poster&Size=16x15",
"http://static.fjcdn.com/pictures/Do+you+bielebe+in+love+people+told+us+to+spread_ff3b6a_4489377.jpg",
"http://cdn.meme.am/instances/55576909.jpg",
"https://pbs.twimg.com/profile_images/378800000732092366/c0783b34235d24aea40a6eff7e8620d3_400x400.jpeg",
"http://img.memecdn.com/ass-hole_o_743318.jpg",
"http://cdn.meme.am/instances/59697402.jpg",
"http://cdn.meme.am/instances/58997878.jpg",
"http://memeshappen.com/media/created/while-Y39all-Riding-RG339s-Dick---Capt-Kirk-Going-To-Bust-Your-Ass-meme-12741.jpg",
"http://static2.fjcdn.com/thumbnails/comments/My+dick+just+died+can+i+bury+it+in+your+_38c907ce941745af47eaf8b659910778.jpg",
"http://weknowmemes.com/wp-content/uploads/2012/05/pickup-line-panda-if-i-could-rearrange-the-alphabet.jpg",
"http://i3.kym-cdn.com/photos/images/facebook/000/000/578/1234931504682.jpg",
"https://s-media-cache-ak0.pinimg.com/236x/4b/52/28/4b5228f476a13f023e30147a1eb70f4a.jpg",
"http://memesvault.com/wp-content/uploads/Happy-Meme-Faces-Transparent-28.png",
"https://mememagnetic.files.wordpress.com/2012/02/i-see-what-you-did-there-rage-face-meme.png",
"http://orig03.deviantart.net/5b75/f/2012/262/9/6/meme_face_by_nskamikaze-d5f7z5x.png",
"http://piq.codeus.net/static/media/forum_pictures/RAGE_1645.png",
"http://memesvault.com/wp-content/uploads/Black-Guy-Meme-Face-Are-You-Serious-14.png",
"http://3.bp.blogspot.com/_9A2_cIvbL10/TFbOmStxlRI/AAAAAAAAAIA/uad7GIcAek8/s1600/pwnd+(1).jpg",
"http://static.fjcdn.com/pictures/Pwnd_d589fe_1608696.jpg",
"https://lolnascar.files.wordpress.com/2008/03/pwnd.jpg",
"http://i689.photobucket.com/albums/vv255/twalko1/STFU/stfu-baby.jpg",
"http://img.memecdn.com/pwnd_o_3429447.jpg",
"http://bayanusa.org/wp-content/uploads/2014/07/noynoy.png",
"https://www.rudebaguette.com/wp-content/uploads/2013/02/failed_stamp-e1360425875149.gif",
"http://www.theexecutiveroundtable.ca/wp-content/uploads/2015/05/Failure-Hi-Po.png",
"http://cdn.meme.am/instances/500x/59109005.jpg",
"https://coeliacgal.files.wordpress.com/2015/01/you-failed.png",
"http://cdn.meme.am/instances/60153844.jpg",
"http://images.firstcovers.com/covers/flash/l/look_left----%3E_you_failed-1476417.jpg",
"https://i.imgflip.com/f3wat.jpg",
"http://media.giphy.com/media/Glm9BybYmd4YM/giphy.gif",
"https://livingbehindthegates.files.wordpress.com/2011/08/failed-school-chalkboard.jpg",
"http://www.manolith.com/wp-content/uploads//2013/02/tiny-penis.jpg",
"http://i3.cpcache.com/product/92413762/sorry_about_your_tiny_dick_journal.jpg?height=225&width=225",
"http://i.imgur.com/7RwT2Jh.gif",
"http://omg.wthax.org/4RXekE.png",
"http://brokelyn.com/wp-content/uploads/2013/07/DSC_0270.jpg",
"http://m.memegen.com/utchpf.jpg",
"http://m.memegen.com/jucevj.jpg",
"http://m.memegen.com/i7sp88.jpg",
"http://s29.postimg.org/5pna9g9br/yo_dawg_heard_you_meme_www_memegen_fr.jpg",
"http://i.skyrock.net/2091/34512091/pics/1308823954.jpg",
"http://www.troll.me/images/debbie-downer/pas-bonne-ta-petite-bite-thumb.jpg",
"https://media.makeameme.org/created/cowards-cowards.jpg",
"http://images.sodahead.com/polls/002633755/455066057_282623062_coward_xlarge_answer_1_xlarge.jpeg",
"https://s-media-cache-ak0.pinimg.com/564x/e7/6a/1e/e76a1e8b0801bf2edb2af40c4568077a.jpg",
"https://www.lakewood-center.org/files/OH-COWARD-logo.jpg",
"https://s-media-cache-ak0.pinimg.com/564x/d5/79/2f/d5792fed8582b4f08537830c5ff23775.jpg",
"https://i.ytimg.com/vi/Q5jDRLjJ7WM/hqdefault.jpg",
"http://themusicfire.com/wp-content/uploads/2013/05/Utku-S.-%E2%80%93-Mother-Fucker.jpg",
"http://cdn.acidcow.com/pics/20111222/hilarious_wtf_photos_07.jpg",
"http://i35.photobucket.com/albums/d155/jpFrizzle/dude_wtf.png",
"http://www.inflexwetrust.com/wp-content/uploads/2015/04/ifwt_wtf.jpg",
"http://img13.deviantart.net/a82a/i/2010/153/e/f/wtf__by_undinecg.jpg",
"https://i.ytimg.com/vi/I9h7nkZ55Rs/hqdefault.jpg",
"http://i.ytimg.com/vi/5WcP58_hJBM/maxresdefault.jpg",
"http://mc-forum.ascentia-1.as-static.fr/attachments/wtf-44339-jpg.75111/",
"http://m.memegen.com/fbguot.jpg"
);
 
$titles=array( 0=>"[EasyPHP] - Web Local",
"localhost / localhost | phpMyAdmin 4.4.3",
"Index Of Pictures/",
"Contents of /",
"ssh_host_ed8763473_key.pub",
"Private folder",
"Home Webcam",
"Webcam 7" );
 
function redir_to_url($w)
{
	global $sites;
	$rand = $sites[ rand(0,count($sites)) ];
	sleep($w);
	echo '<script>document.location="'.$rand.'"</script>';
}
 
$rand_title = $titles[ rand(0,count($titles)) ];
 
$rand_body = "";
 
echo "<html><head><title>".$rand_title."</title></head><body>".$rand_body."</body></html>";
redir_to_url(7);
 
 
?>
 



   =>   Écrit par : Nicolas, le 21 février 2016


 
Mots clés :  
  php 
  
  web 
    >   Articles connexes :

Se protéger des injections SQL



HTTP Server, tell me who you are ?


Discuter avec un serveur web *apparement* muet ? Voici comment faire...

TLD et Indexes téléphoniques



8154826