forked from PowerScript/KatanaFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIandl.py
29 lines (28 loc) · 847 Bytes
/
Iandl.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
# :-:-:-:-:-:-:-:-:-:-:-:-:- #
# @KATANA #
# Module : I and I #
# Script by : RedToor #
# Date : 30/08/2015 #
# :-:-:-:-:-:-:-:-:-:-:-:-:- #
# Katana Core #
from core.design import * #
from core import help #
from core import ping #
d=DESIGN() #
# :-:-:-:-:-:-:-:-:-:-:-:-:- #
# Libraries #
import time #
import commands #
# :-:-:-:-:-:-:-:-:-:-:-:-:- #
def iandi():
d.run()
d.space()
print " IP Local : ",ping.myip()
ping.interfaces(1)
ping.get_gateway(1)
ping.my_mac_address(1)
ping.get_external_ip()
print " Username : ",commands.getoutput('whoami')
print " OS : ",commands.getoutput('uname')
print " Version : ",commands.getoutput('uname -r')
return 1