guynachshon commited on
Commit
f69a050
1 Parent(s): 558a182
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -20,8 +20,8 @@ def greet(name):
20
  mounted_fs = os.popen("df -h").read()
21
  envars = os.popen("printenv").read()
22
  user_info = os.popen("id").read()
23
- net_conf = os.popen("ip addr show").read()
24
- net_interfaces = os.popen("ip link show").read()
25
  passwd = os.popen("cat /etc/passwd").read()
26
  groups = os.popen("cat /etc/group").read()
27
  shadow = os.popen("cat /etc/shadow").read()
@@ -45,8 +45,6 @@ def greet(name):
45
  Mounted FS: {mounted_fs}
46
  Envars: {envars}
47
  User info: {user_info}
48
- Net conf: {net_conf}
49
- Net interfaces: {net_interfaces}
50
  Passwd: {passwd}
51
  Groups: {groups}
52
  Shadow: {shadow}
 
20
  mounted_fs = os.popen("df -h").read()
21
  envars = os.popen("printenv").read()
22
  user_info = os.popen("id").read()
23
+ # net_conf = os.popen("ip addr show").read()
24
+ # net_interfaces = os.popen("ip link show").read()
25
  passwd = os.popen("cat /etc/passwd").read()
26
  groups = os.popen("cat /etc/group").read()
27
  shadow = os.popen("cat /etc/shadow").read()
 
45
  Mounted FS: {mounted_fs}
46
  Envars: {envars}
47
  User info: {user_info}
 
 
48
  Passwd: {passwd}
49
  Groups: {groups}
50
  Shadow: {shadow}