Skip to content

Commit

Permalink
Add (approximate) author names
Browse files Browse the repository at this point in the history
  • Loading branch information
kwesthaus committed Apr 14, 2020
1 parent 55c4293 commit e7bc206
Show file tree
Hide file tree
Showing 26 changed files with 30 additions and 4 deletions.
1 change: 1 addition & 0 deletions attacks/syn_attack.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Nick Morris and Jordan Miller
from scapy.all import *
from cust_packet import tcp_packet, ip_packet
import socket
Expand Down
1 change: 1 addition & 0 deletions color/pcolor.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Jordan Miller
class color:
OPEN = '\033[92m'
WARNING = '\033[93m'
Expand Down
1 change: 1 addition & 0 deletions cust_packet/ip_packet.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Nick Morris and Kyle Westhaus
import binascii
import struct
import sys
Expand Down
1 change: 1 addition & 0 deletions cust_packet/tcp_packet.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Nick Morris and Ben Hiner
import binascii
import struct
import cust_packet.util
Expand Down
3 changes: 2 additions & 1 deletion cust_packet/util.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Nick Morris
import ipaddress

# convert IPv4Address object into binary representation
Expand All @@ -6,4 +7,4 @@ def parseIP(ip):

# convert bytes object to an int using a big-endian interpretation
def btoi(bytes_obj):
return int.from_bytes(bytes_obj, "big")
return int.from_bytes(bytes_obj, "big")
1 change: 1 addition & 0 deletions scanners/fragment_packet.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Ben Hiner
import socket
import random

Expand Down
1 change: 1 addition & 0 deletions scanners/host_up.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Rohin Dasari and Ben Hiner
import socket
from color import pcolor
from scanners import tcp_connect, udp_connect, ping_os, icmp_echo, icmp_timestamp, tcp_privileged
Expand Down
3 changes: 2 additions & 1 deletion scanners/icmp_echo.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Kyle Westhaus and Rohin Dasari
import socket
import struct
import time
Expand Down Expand Up @@ -54,4 +55,4 @@ def calc_checksum(icmp_struct):
# Negate and ensure 16 bits
run_sum = ~run_sum & 0xffff

return run_sum
return run_sum
3 changes: 2 additions & 1 deletion scanners/icmp_timestamp.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Kyle Westhaus
import socket
import struct
import time
Expand Down Expand Up @@ -54,4 +55,4 @@ def calc_checksum(icmp_struct):
# Negate and ensure 16 bits
run_sum = ~run_sum & 0xffff

return run_sum
return run_sum
1 change: 1 addition & 0 deletions scanners/os_detection/os_detection.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Nick Morris
from scapy.all import *
from scapy.layers.inet import IP, ICMP
from color import pcolor
Expand Down
1 change: 1 addition & 0 deletions scanners/ping_os.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Rohin Dasari and Ben Hiner
import subprocess
import sys
import os
Expand Down
1 change: 1 addition & 0 deletions scanners/tcp_connect.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# David Levine, Kyle Westhaus, and Jordan Miller
import socket
from enum import Enum
from scanners.util.defaults import tcp_ports
Expand Down
1 change: 1 addition & 0 deletions scanners/tcp_privileged/ack.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Mark Gilliland and David Levine
from scanners.tcp_privileged import privileged_tcp_scan, util
from scanners.tcp_privileged.util import Flags
from scanners.util.defaults import tcp_ports
Expand Down
1 change: 1 addition & 0 deletions scanners/tcp_privileged/fin.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Mark Gilliland, David Levine
from scanners.tcp_privileged import xmas_null_fin_maimon

def run(targets, ports, options, fragment_size, src_ip=None, print_results=True):
Expand Down
1 change: 1 addition & 0 deletions scanners/tcp_privileged/maimon.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Mark Gilliland and David Levine
from scanners.tcp_privileged import xmas_null_fin_maimon

def run(targets, port_range, options, fragment_size, src_ip=None, print_results=True):
Expand Down
1 change: 1 addition & 0 deletions scanners/tcp_privileged/null.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Mark Gilliland and David Levine
from scanners.tcp_privileged import xmas_null_fin_maimon

def run(targets, ports, options, fragment_size, src_ip=None, print_results=True):
Expand Down
1 change: 1 addition & 0 deletions scanners/tcp_privileged/privileged_tcp_scan.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Mark Gilliland, Rohin Dasari, and Nick Morris
import socket
import binascii
import ipaddress
Expand Down
1 change: 1 addition & 0 deletions scanners/tcp_privileged/syn.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Mark Gilliland and David Levine
from scanners.tcp_privileged import privileged_tcp_scan, util
from scanners.tcp_privileged.util import Flags
from scanners.util.defaults import tcp_ports
Expand Down
1 change: 1 addition & 0 deletions scanners/tcp_privileged/util.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Mark Gilliland, David Levine, and Kyle Westhaus
import binascii
from enum import Enum

Expand Down
1 change: 1 addition & 0 deletions scanners/tcp_privileged/window.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Mark Gilliland and David Levine
from scanners.tcp_privileged import privileged_tcp_scan, util
from scanners.tcp_privileged.util import Flags
from scanners.util.defaults import tcp_ports
Expand Down
1 change: 1 addition & 0 deletions scanners/tcp_privileged/xmas.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Mark Gilliland and David Levine
import cust_packet.tcp_packet
from scanners.tcp_privileged import xmas_null_fin_maimon

Expand Down
1 change: 1 addition & 0 deletions scanners/tcp_privileged/xmas_null_fin_maimon.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# David Levine and Mark Gilliland
from scanners.tcp_privileged import privileged_tcp_scan, util
from scanners.tcp_privileged.util import Flags
from scanners.util.defaults import tcp_ports
Expand Down
1 change: 1 addition & 0 deletions scanners/udp_connect.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# David Levine
import socket
import errno
from enum import Enum
Expand Down
3 changes: 2 additions & 1 deletion scanners/util/defaults.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Kyle Westhaus
# https://www.pearsonitcertification.com/articles/article.aspx?p=1868080
tcp_ports = [20, 21, 22, 23, 25, 53, 80, 110, 137, 138, 139, 143, 161, 162, 179, 389, 443, 636, 989, 990, 3389]
udp_ports = [53, 67, 68, 69, 123, 137, 138, 139, 161, 162, 389, 636]
udp_ports = [53, 67, 68, 69, 123, 137, 138, 139, 161, 162, 389, 636]
1 change: 1 addition & 0 deletions scanners/util/host_parser.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Mark Gilliland
import ipaddress
from color import pcolor

Expand Down
1 change: 1 addition & 0 deletions urban_rain.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Everyone contributed to this file
#!/usr/bin/env python

import argparse
Expand Down

0 comments on commit e7bc206

Please sign in to comment.