Django-Rickroll.

Rickrolling Django ¹Ìµé¿þ¾î¸¦ ±«·ÓÈ÷´Â ÀáÀçÀû ÀÎ ÇØÄ¿
Áö±Ý ´Ù¿î·Îµå

Django-Rickroll. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • MIT/X Consortium Lic...
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • David Winterbottom
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • https://github.com/tangentlabs/

Django-Rickroll. ű×


Django-Rickroll. ¼³¸í

Django-RickrollÀº Django Application¿¡¼­ ¾ÇÀÇÀû ÀÎ ¿äûÀ» ó¸®ÇϱâÀ§ÇÑ Django ¾ÛÀÔ´Ï´Ù. Pypi (¾ÈÁ¤Àû)¿¡¼­ installationinstall : PIP ¼³Ä¡ Django-Rickrollor GitHub (dev) : PIP ¼³Ä¡ - git : //github.com/codeinthehole/django-rickroll .git # °è¶õ = Django-rickrolladd 'rickroll'to middleware_classes¿¡ ´ÙÀ½°ú °°ÀÌÇϽʽÿÀ. 'rickroll.middleware.hackingAttempiddleware'UsageRever ÇØÅ· ½Ãµµ¸¦ ŽÁöÇÏ°í ÇØÅ· ½Ãµµ¸¦ Á¦±âÇÏ°í ¹Ìµé¿þ¾î´Â ¹®Á¦¸¦ ÇØ°áÇÏ´Â »ç¿ëÀÚ¸¦ Rickroll·Î ´Ã¸± °ÍÀÔ´Ï´Ù. ¿¹¸¦ µé¾î views.py:from rickroll.exceptions hackingattemptdef °¡Á® ¿À±â some_view (¿äû) : # ... ÇØÅ· _detected : Çظ¶Æ¼¼Ç Àλó () ÇØ´ç »ç¿ëÀÚ°¡ http://www.youtube.com/watch·Î ¸®µð·º¼ÇµË´Ï´Ù. v = dqw4w9wgxcq. ¸ñÀûÁö´Â rickroll_url.discusionif Å×½ºÆ®¸¦¹Þ´Â ¼³Á¤À» »ç¿ëÇÏ¿© ´ë»óÀ» ¹«½ÃÇÒ ¼ö ÀÖ½À´Ï´Ù. Å×½ºÆ® ȸ»ç´Â Àü´ÞµÇ´Â ¸Å°³ º¯¼ö (Äõ¸® ¸Å°³ º¯¼ö, params params, cookies µî)°¡ÀÖ´Â »çÀÌÆ®¿¡ ´ëÇÑ ¸ðµç ¿äûÀ» Á¶ÀÛ ÇÒ ¼ö ÀÖ½À´Ï´Ù. Á¤¼ö ¿©¾ßÇÏÁö¸¸ °ªÀÌÀÖ´Â ¸Å°³ º¯¼ö¸¦ ¸¸³ª¸é / //et/../././././etc/passwd´Â Ç×»ó "¿Ã¹Ù¸¥"ÀÀ´äÀÌ ÀÖ¾î¾ßÇÏ´ÂÁö Ç×»ó ºÐ¸íÇÏÁö´Â ¾Ê½À´Ï´Ù. ³ª´Â ±×°ÍÀÌ rickroll.productÀÇ È¨ÆäÀÌÁö¿¡ Àç¹ÌÀÖÀ» °ÍÀ̶ó°í »ý°¢Çß´Ù.


Django-Rickroll. °ü·Ã ¼ÒÇÁÆ®¿þ¾î

Àå°í ºÒÇà

DjangoÀÇ °£´ÜÇÑ ±ÝÁö ½Ã½ºÅÛ, ±ÍÇÏÀÇ À¥ »çÀÌÆ®¿¡¼­ ¹æȲÇÏ´Â Æ®·ÑÀ» Æ®·Ñ¸µÇÏ´Â °ÍÀÔ´Ï´Ù. ...

56

´Ù¿î·Îµå