-
Notifications
You must be signed in to change notification settings - Fork 13
/
.lab_template.py
41 lines (37 loc) · 2.21 KB
/
.lab_template.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
from mininet.net import Mininet
from mininet.node import Controller
from mininet.cli import CLI
from mn_wifi.net import Mininet_wifi
import os
'''
Estbalish an environment for learning WEP attacks
See original script here: https://hackmd.io/@ramonfontes/cracking_wep
'''
def print_banner():
os.system("clear")
banner = """ , ,
Et Et :
E#t E#t t#, ,;
t E##t t E##t ;##W. j. .Gt f#i
; Ej E#W#t Ej E#W#t :#L:WE EW, j#W: .E#t
.DL E#, E#tfL. E#, E#tfL. .KG ,#D E##j ;K#f i#W,
f. :K#L LWLE#t E#t E#t E#t EE ;#f E###D. .G#D. L#D.
EW: ;W##L .E#f E#t ,ffW#Dffj. E#t ,ffW#Dffj. f#. t#iE#jG#W; j#K; :K#Wfff;
E#t t#KE#L ,W#; E#t ;LW#ELLLf. E#t ;LW#ELLLf.:#G GK E#t t##f ,K#f ,GD; i##WLLLLt
E#t f#D.L#L t#K: E#t E#t E#t E#t ;#L LW. E#t :K#E:j#Wi E#t .E#L
E#jG#f L#LL#G E#t E#t E#t E#t t#f f#: E#KDDDD###i.G#D: E#t f#E:
E###; L###j E#t E#t E#t E#t f#D#; E#f,t#Wi,,, ,K#fK#t ,WW;
E#K: L#W; E#t E#t E#t E#t G#t E#t ;#W: j###t .D#;
EG LE. E#t E#t E#t E#t t DWi ,KK: .G#t tt
; ;@ ,;. ;#t ,;. ;#t ;; """
print(banner)
def create_wifi_WEP_attack():
"PUT CODE HERE"
os.system("clear")
print_banner()
print("\n")
print(' +-_-_-_- WEP 4 Way Hand-shake started Sucessfully -_-_-_-+')
print(' Type "xterm a" and press enter to begin')
print(' Type exit when the simulation is completed\n')
CLI(net)
net.stop()