Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- from sys imort argv
- def main():
- filename = raw_input('please inset user file:\m')
- user_list = get_wordlist_file(filename)
- filename =raw_input('please inset password file:\n')
- password_list = get_wordlist_file(filename)
- print "user:\n" + str(user_list)
- print "password:\n" + str(password_list)
- combo_list = []
- for user in user_list:
- for password in password_list:
- combo_list.append(user + ":" + password)
- for item in combo_list:
- print item
- def get_wordlist_file(file_path):
- with open(file_path, 'r') as mishtane_kolshehu:
- data = mishtane_kolshehu.read()
- wordlist = data.split(9'\n')
- wordlist = list(filter(lambda word)
- return wordlist
- if __name__ = '__main__':
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement