1588, 75/80 ȸ¿ø°¡ÀÔ  ·Î±×ÀΠ 
   kjwon15
   http://kjwon15.comoj.com
   [ÀÚÀÛ] À¥º¿À» ¸¸µé¾î º¸ÀÚ.

http://www.hackerschool.org/HS_Boards/zboard.php?id=Free_Lectures&no=1383 [º¹»ç]


ÀÏ´Ü
À¥º¿: À¥À» µ¹¾Æ´Ù´Ï¸é Á¤º¸¸¦ ¼öÁýÇÏ´Â ÇÁ·Î±×·¥
ÀϹÝÀûÀ¸·Î ±¸±Ûº¿ÀÌ Á¦ÀÏ À¯¸íÇÕ´Ï´Ù.

±¸±Ûº¿°°Àº À§´ëÇÑ(?) ÇÁ·Î±×·¥ ±îÁö´Â ¸ø¸¸µé°í.. ÀÏ´Ü ¿ø¸®ºÎÅÍ ¾Ë¾Æº¾½Ã´Ù.
ÀÏ´Ü ÃʱâÀÇ ÁÖ¼Ò¸¦ ÁÝ´Ï´Ù.
(¿¹¸¦ µé¾î¼­ www.google.com)
±×·¯¸é ÀÏ´Ü ±× ÆäÀÌÁöÀÇ ¼Ò½º¸¦ º¿ÀÌ ´Ù¿îÀ» ¹Þ½À´Ï´Ù.
±×¸®°í ³ª¼­ °¢Á¾ ¸µÅ©¸¦ ¼öÁýÇÕ´Ï´Ù.
±¸±ÛÀ» ¿¹·Î µé¸é http://images.google.comµîÀÌ ÀÖ½À´Ï´Ù.
±×·¯¸é ¶Ç ±× ÆäÀÌÁö¸¦ ´Ù¿î ¹Þ½À´Ï´Ù.
¶Ç ºÐ¼®À» ÇÕ´Ï´Ù.

¹«ÇÑÈ÷ ·çÇÁ¸¦ µ½´Ï´Ù...(¹¹?)

±×·¯¸é ÀÏ´Ü °£´ÜÇÏ°Ô ¸¸µé¾î º¾½Ã´Ù.

ÆÄÀ̽ãÀ¸·Î ÀÛ¼ºÇÒ°Ì´Ï´Ù.(C·Î Â¥¸é ¼ÒÄϺÎÅÍÇؼ­ ½É°¢ÇÕ´Ï´Ù.)

ÀÏ´Ü vim webbot.py¸¦ ÀÔ·ÂÇؼ­ ÆíÁý»óÅ·Πµé¾î°©´Ï´Ù.
ÀÏ´Ü ¼Ò½º¸¦ ³õ°í ½ÃÀÛÇÏ°Ú½À´Ï´Ù.
#!/usr/bin/python

import urllib2, re, string
enter_point ='http://' +  raw_input('enter url: ') # enter point
db_name = 'base.txt' # input data base name

def uniq(seq):
        set = {}
        map(set.__setitem__, seq, [])
        return set.keys()

def geturls(url):
        items = []
        request = urllib2.Request(url)
        request.add_header('User-Agent', 'iBot ;)')
        content = urllib2.urlopen(request).read()
        items = re.findall('href="http://.*?"', content)
        urls = []
        for item in items:
                item = item.replace('href=','')
                item = item.replace('"','')
                urls.append(item)
        return urls

db = open(db_name,'w')
allurls = uniq(geturls(enter_point))

for url in allurls:
        urls = geturls(url)
        for u in urls: allurls.append(u)
        allurls = uniq(allurls)
        db.write(string.join(urls,'\n'))
        print url+' ['+str(len(allurls))+']'
db.write('\n\n')
db.close()

ùÁÙ¿¡ #!/bin/pythonÀ» ÀÔ·ÂÇÕ´Ï´Ù.
ÀÌ°Ç ¼Ð½ºÅ©¸³Æ®ÀÇ ±âº»ÀÔ´Ï´Ù.

±×¸®°í import urllib2, re, string¸¦ Ãß°¡ÇÕ´Ï´Ù.
import´Â C¾ð¾îÀÇ #include¿Í ºñ½ÁÇÕ´Ï´Ù. ±×³É urllib2,re,string ÀÌ 3°³ÀÇ ¶óÀ̺귯¸®¸¦ ·ÎµåÇÑ´Ù°í »ý°¢ÇÏ°Ú½À´Ï´Ù.

±×¸®°í óÀ½À¸·Î ¾¾¾Ñ url°ªÀ» ÀÔ·Â¹Þ¾Æ¾ß ÇÕ´Ï´Ù.
ÀԷ¹ޱâ À§ÇØ enter_point ='http://' +  raw_input('enter url: ') ¸¦ Ãß°¡ÇÕ´Ï´Ù.
±×·¯¸é http://ÀԷ¹ÞÀº°ª ÀÌ enter_point¶ó´Â º¯¼ö¿¡ ÀúÀåµË´Ï´Ù.

±×¸®°í ¸µÅ©¸¦ ºÐ¼®ÇØ¾ß Çϴµ¥ °¡Àå ±âº»ÀûÀÎ ¸µÅ©ÀÎ <a>ű׸¦ µû¶ó°¥ °Ì´Ï´Ù.
aű×ÀÇ ±¸Á¶Áß Áß¿äÇÑ ºÎºÐÀº href="url" ÀÔ´Ï´Ù.
±×·¡¼­ Áß°£¿¡
item = item.replace('href=','')
item = item.replace('"','')
¶ó´Â Äڵ尡 µé¾î°©´Ï´Ù.

request.add_header('User-Agent', 'iBot ;)') À̺κÐÀº ºê¶ó¿ìÀúÀÇ À̸§ÀÔ´Ï´Ù. ÆÄÀ̾îÆø½º·Î ºê¶ó¿ì¡À» Çϸé ÀÌ ºÎºÐÀÌ ÆÄÀ̾îÆø½ºÀÇ °íÀ¯ ¹®ÀÚ¿­ÀÌ µé¾î°©´Ï´Ù.

¾Æ¹«Æ° ¾î¶»°Ôµç Çؼ­ ¹®ÀÚ¿­µéÀ» ¾ò¾î ¿Ô½À´Ï´Ù.
ÀÌ°É base.txt¿¡ ÀúÀåÇÏ°Ô µË´Ï´Ù.





ÀÌ·±°­Á´ óÀ½½á¼­ ¾û¸ÁÀ̳׿ä ....

³ªÁß¿¡ ¼öÁ¤À» ÇÏ°Ú½À´Ï´Ù.(¶ó°í Çسõ°í ¾ðÁ¦ÇÒ±î..)

  Hit : 15941     Date : 2010/02/08 04:52



    
½È¾î ³»°¡ÇÒ²¨¾ß ¹«½¼¾ð¾îÀÌÁÒ? ÆÄÀ̽ãÀ̶ó´Â°ÅÀΰ¡ ¤·¤²¤·.. 2010/02/08  
kjwon15 ½Ç¾î ³»°¡ÇÒ²¨¾ß// ³» ÆÄÀ̽㠸½À´Ï´Ù. 2010/02/09  
sorucA ³ª¸§ Á¤¸» ±¦ÂúÀº ¿¹Á¦¶ó°í »ý°¢ÇÕ´Ï´Ù.
meta tag ºÐ¼® µîµî±îÁö Çؼ­ db¿¡ ÀúÀåÇÏ°í
djangoÇÏ°í ¿¬µ¿½ÃÅ°¸é °£´ÜÇÑ °Ë»ö¿£Áø Çϳª°¡ ¿Ï¼ºµÇ°Ú³×¿© '¤±'
2010/02/10  
½È¾î ³»°¡ÇÒ²¨¾ß ´Ù½ÃÀо´Ï ±Û¿¡ ÆÄÀ̽ãÀ¸·ÎÇÑ´Ù°í³ª¿ÍÀֳ׿ä;; ÀÌÇØ´Â Çϳªµµ ¾È°¡Áö¸¸ »ý°¢º¸´Ù À¥º¿¸¸µå´Â°Ô °£´ÜÇϳ׿ä?? 2010/02/10  
sorucA ¦¦ ÆÄÀ̽ãÀÌ ¸Å¿ì °£´ÜÇؼ­ ±×·¡¿© 2010/02/11  
½È¾î ³»°¡ÇÒ²¨¾ß ±×·±°¡¿ä? ÆÄÀ̽㵵¹è¿öºÁ¾ß°Ú³×¿ä ¤¾¤¾ ÆÄÀ̽ãÀº ÁÖ·Î ¾îµð¿¡ »ç¿ëµÇ³ª¿ä?? 2010/02/11  
sorucA ¦¦ ¿©±âÀú±â ´Ù ¾²ÀÏ ¼ö ÀÖ½À´Ï´Ù. ÀÏ¹Ý ¾îÇø®ÄÉÀ̼Ç, ¼­¹ö´Ü ¾îÇø®ÄÉÀ̼Ç, À¥ÆäÀÌÁö µîµî.. 2010/02/12  
½È¾î ³»°¡ÇÒ²¨¾ß ´äº¯ °¨»çÇÕ´Ï´Ù ¤¾¤¾ ÆÄÀ̽㵵°øºÎÇغ¼°Ô¿ä! 2010/02/12  
qkreoghks00 ¿ì¿Í ÆÄÀÌ½ã ¿Ö ³ª´Â ÷µè´Â ¾ð¾îÀ̸§ÀÌÁö?

ÀÌÂë¿¡¼­ ½ºÅ¸¸Ê »ý°¢³­ »ç¶÷ ¼Õ
2010/02/23  
dkdkfjgh ¤¤¼Õ.. À̶ó°í Çϱ⺸´Ù ±× ¸Ê ³ª¿À±â ÀÌÀü¿¡ ¾È ¤» 2010/02/25  
Cpgroot ÀÌÇØ°¡¾ÈµÇ.. 2010/08/18  
108   * ¿¤¸®Æ®ÇØÄ¿°¡ µÇ´Â±æ *Ãßõ *[30]     HackerMapia
03/02 15133
107   [[ÃʱÞ/°­ÁÂ]] À¯´Ð½º ÁÖ¿ä ¸í·É¾î[7]     ¼ÒÀ¯
10/09 15143
106   ·¹º§5 ·¹À̽ºÄÁµð¼Ç¿¡ ´ëÇؼ­. [ÀÇ¿Ü·Î Áú¹®ÇϽô ºÐµéÀÌ ¸¹¾Æ¼­..][9]     yl
10/01 15145
105   BOF ÇØ°á ¹«ÀÛÁ¤ µû¶óÇϱâ #1[7]     ssuckies
04/12 15191
104   ·¹À̽º ÄÁµð¼Ç(°æÀï Á¶°Ç)[14]     ¼ÒÀ¯
09/06 15387
103   ÇãÁ¢ ÆÁ Setuid ½±°Ô ã±â -_-;[3]     ttongfly
09/10 15394
102   ÀÎÅͳݿ¡ ¸®´ª½º ¼­¹ö ±¸ÃàÇϱâ[1]     ¼ÒÀ¯
07/07 15418
101   [ÀÚÀÛ] W's ¾ÏÈ£ÇÐ(Cryptology) - ¿¡´Ï±×¸¶[3]     williamlee
08/06 15436
100   ¸®´ª½º ¼³Ä¡ + Windows¼³Ä¡(»ýÃʺ¸¿¡°Ô ÁÁÀº °­ÁÂ)!![3]     ½Â¸®ÀǹڼºÈ¯
04/15 15500
99   ³×Æ®¿öÅ© °³³ä ÈÖ¾îÀâ±â 2[16]     ¼ÒÀ¯
09/11 15536
98   ¸®´ª½º¼³Ä¡ÈÄ À©µµ¿ì ¼³Ä¡ & grub º¹±¸     exit96m
03/02 15581
97   [¸µÅ©+ÀÚÀÛ] Åڳݰü·Ã°ú ÅÚ³ÝÀÌ ¾ÈµÉ¶§ÀÇ ÇØ°á¹ý°ú Çѱ۱úÁü[6]     ÃÊÄÝ·¿³ªÀÎ
03/02 15593
96   [ÀÚÀÛ] FTZ Æ®·¹ÀÌ´× 1~10±îÁö °£´ÜÇÏ°Ô Á¤¸®[14]     ¼Ò¿ï
03/01 15637
95   ¸ÆºÏ ÇÁ·Î ÇÑ¿µÀüȯ Å°º¸µå ·¹Áö½ºÆ®¸®[6]     Ǫ¸¥ÇÏ´Ã
10/21 15731
94   ¹öÆÛ¿À¹öÇ÷οì by ¿ÀÇ϶ó[3]     ¼ÒÀ¯
07/07 15894
  [ÀÚÀÛ] À¥º¿À» ¸¸µé¾î º¸ÀÚ.[11]     kjwon15
02/08 15940
92   ¸®´ª½º ¸í·É¾î ¸¶½ºÅÍ 5[8]     ¼ÒÀ¯
09/06 15944
91   [ÀÚÀÛ] ±¸±Û °Ë»ö¹ý[13]     ÃÊÄÝ·¿³ªÀÎ
02/08 15957
90   [ÇÁ·ÎÁ§Æ®]»ó.Àý.Áö ÇØÅ·»çÀü//ÇØÅ·°øºÎ»çÀÌÆ® URL¸®½ºÆ®[5]     W.H.
10/30 16038
89   [Æß] PCÅ°ÆÛ ±ú±â[4]     dzhfldk
08/22 16199
[1]..[71][72][73][74] 75 [76][77][78][79][80]

Copyright 1999-2024 Zeroboard / skin by Hackerschool.org / Secure Patch by Hackerschool.org