Small refactoring
This commit is contained in:
2
TODO.md
2
TODO.md
@@ -121,13 +121,13 @@ Not "/py":
|
|||||||
* `tshark.py` <- process
|
* `tshark.py` <- process
|
||||||
* `cowpatty.py` <- process
|
* `cowpatty.py` <- process
|
||||||
* `pyrit.py` <- process
|
* `pyrit.py` <- process
|
||||||
|
* `handshake.py` <- tshark, cowpatty, pyrit, aircrack
|
||||||
* `output.py` (color/printing) <- config
|
* `output.py` (color/printing) <- config
|
||||||
* `process.py` <- config
|
* `process.py` <- config
|
||||||
* `scan.py` (airodump output to target) <- config, target, airodump
|
* `scan.py` (airodump output to target) <- config, target, airodump
|
||||||
* **target/**
|
* **target/**
|
||||||
* `target.py` (ssid, pcap file) <- airodump, tshark
|
* `target.py` (ssid, pcap file) <- airodump, tshark
|
||||||
* `result.py` (PIN/PSK/KEY)
|
* `result.py` (PIN/PSK/KEY)
|
||||||
* `handshake.py` <- tshark, cowpatty, pyrit, aircrack
|
|
||||||
|
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
#!/usr/bin/python2.7
|
#!/usr/bin/python2.7
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from util.process import Process
|
from ..util.process import Process
|
||||||
from util.color import Color
|
from ..util.color import Color
|
||||||
from config import Configuration
|
from ..config import Configuration
|
||||||
from model.result import CrackResult
|
from ..model.result import CrackResult
|
||||||
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
@@ -3,14 +3,14 @@
|
|||||||
|
|
||||||
from config import Configuration
|
from config import Configuration
|
||||||
from util.scanner import Scanner
|
from util.scanner import Scanner
|
||||||
|
from util.process import Process
|
||||||
from util.color import Color
|
from util.color import Color
|
||||||
|
from util.crack import CrackHandshake
|
||||||
from attack.wep import AttackWEP
|
from attack.wep import AttackWEP
|
||||||
from attack.wpa import AttackWPA
|
from attack.wpa import AttackWPA
|
||||||
from attack.wps import AttackWPS
|
from attack.wps import AttackWPS
|
||||||
from model.result import CrackResult
|
from model.result import CrackResult
|
||||||
from model.handshake import Handshake
|
from model.handshake import Handshake
|
||||||
from crack import CrackHandshake
|
|
||||||
from util.process import Process
|
|
||||||
|
|
||||||
from json import loads
|
from json import loads
|
||||||
import os
|
import os
|
||||||
|
|||||||
Reference in New Issue
Block a user