keyword : 문자열 조합 brute forcing
부르투 포싱을 할때 쓸 문자열 조합 방법이다.
import time
your_list1 = 'abcdefghijklmnopqrstuvwxyz'
your_list2 = '1234567890'
your_list3 = 'abcdefghijklmnopqrstuvwxyz1234567890'
TheKey = ''
current =''
def bruteForcing(y):
for current in xrange(7):
TheKey = [i for i in your_list1]
for y in xrange(current):
TheKey = [x+i for i in your_list1 for x in TheKey]
for i in range(0,len(TheKey)) :
print TheKey[i]
def main():
bruteForcing(0)
if __name__ == '__main__' :
main()
'Python' 카테고리의 다른 글
[python] exploit 코드들에서 자주 나오는 lambda 사용법으로 인한 pack 에 대한 이해 (0) | 2013.05.30 |
---|---|
python2.7 thread 예제 코드 (0) | 2013.05.30 |
[python]ZIP 파일 크랙 python 코드 (0) | 2013.03.26 |
[python 2.7] telnetlib를 이용한 telnet 접속하기 (0) | 2012.12.21 |
[ python 2.7 ] HTTP POST data 전송하는 방법 (0) | 2012.10.17 |