Sniffers, Flooders and Spoofers

MAC address modifier

circle-info

Linux has already a tool -> macchanger --help

Also:

  1. ifconfig eth0 down

  2. ifconfig

  3. ifconfig eth0 hw ether AA:BB:CC:DD:EE:FF

  4. ifconfig eth0 up

  5. ifconfig

#!/usr/bin/python
# RUN AS ROOT

import subprocess

def change_mac_address(interface,mac):
        subprocess.call(["ifconfig",interface,"down"])
        subprocess.call(["ifconfig",interface,"hw","ether",mac])
        subprocess.call(["ifconfig",interface,"up"])

def main():
        interface = str(input("[*] Enter interface to change MAC address on: "))
        new_mac_address = input("[*] Enter MAC address to change to: ")

        before_change = subprocess.check_output(["ifconfig",interface])
        change_mac_address(interface,new_mac_address)
        after_change = subprocess.check_output(["ifconfig",interface])

        if before_change == after_change:
                print("[!!] Failed to change MAC address to: " + new_mac_address)
        else:
                print("[+] MAC address changed to: " + new_mac_address + " on interface " + interface)

main()

MAC Spoofer

DNS Spoofer

Previous steps:

  1. service apache2 start

  2. Clone website (go to main page, right click and save as)

  3. Move the files downloaded to /var/www/html

  4. Remove the items there and substitute the main page downloaded for "index.html"

Crypt passwords with Salt

Last updated