Install Package Control for easy package management.
- Open the console with
Ctrl+` - Paste in the following:
| // | |
| // toggleLaunchAtStartup.swift | |
| // Recents | |
| // | |
| // Created by Phil LaPier on 5/21/15. | |
| // Copyright (c) 2015 Philip LaPier. All rights reserved. | |
| // | |
| // With help from: https://github.com/RamonGilabert/Prodam/blob/master/Prodam/Prodam/LaunchStarter.swift | |
| import Foundation |
Install Package Control for easy package management.
Ctrl+`
| from scapy.all import * | |
| from random import randint | |
| # Create the skeleton of our packet | |
| template = IP(dst="172.16.20.10")/TCP() | |
| # Start lighting up those bits! | |
| template[TCP].flags = "UFP" | |
| # Create a list with a large number of packets to send |
| #!/bin/bash | |
| # | |
| # Example of how to parse short/long options with 'getopt' | |
| # | |
| OPTS=`getopt -o vhns: --long verbose,dry-run,help,stack-size: -n 'parse-options' -- "$@"` | |
| if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi | |
| echo "$OPTS" |