This file contains 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
#Import Scapy | |
from scapy.all import * | |
chassis = bytearray(7) | |
#chassis[0:3] = (0x02,0x06,0x07) | |
chassis[0:3] = (0x02,0x07,0x04) | |
chassis[3:] = (0x94,0xf1,0x28,0x8b,0xaa,0x1f) | |
#chassis[3:] = str.encode('94:f1:28:8b:aa:1f', 'utf-8') |
This file contains 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
<# | |
.SYNOPSIS | |
Probes a set or range of VLANs for an IP Address | |
.DESCRIPTION | |
Probes a set or range of VLANs to see if the port you're connected to allows traffic for that particular VLAN. | |
.PARAMETER Vlans | |
Specify a range of VLANs in Powershell range format (n..m), or a comma-delimited list. |
This file contains 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
import logging | |
import json | |
from datetime import datetime | |
from datetime import timedelta | |
import voluptuous as vol | |
import homeassistant.components as core | |
from homeassistant.util import Throttle | |
import homeassistant.helpers.config_validation as cv | |
from homeassistant.components.device_tracker import PLATFORM_SCHEMA, DeviceScanner, DOMAIN |
This file contains 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
from bs4 import BeautifulSoup | |
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
import os | |
import sys | |
headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36'} | |
url = 'https://personalsavings.americanexpress.com/onlinebanking/' |