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 time | |
import sys | |
if len(sys.argv) > 1: | |
INTERFACE = sys.argv[1] | |
else: | |
INTERFACE = 'eth0' | |
STATS = [] |
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
#Use a gemset so we use 1.9.3-p448 when startup | |
$ cd ./metasploit-framework | |
$ rvm use 1.9.3-p125 | |
$ rvm gemset create msf | |
$ echo "rvm use 1.9.3-p125@msf" > .rvmrc | |
$ rvm use 1.9.3-p125@msf | |
------- This is mine ---------- | |
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/python | |
# The FIN scan utilizes the FIN flag inside the TCP packet, | |
# along with the port number to connect to on the server. | |
# If there is no response from the server, then the port is open. | |
import logging | |
logging.getLogger("scapy.runtime").setLevel(logging.ERROR) | |
from scapy.all import * | |
NewerOlder