CODE
Der_Traum
这个作者很懒,什么都没留下…
展开
-
cs
import subprocessdef _pingtest(ip): #print('ping test: ping -n 2 %s'%ip) o = subprocess.getoutput('ping -n %s'%ip) if o.find('time='): print('[ + ] ALIVE') re原创 2017-05-05 13:50:58 · 272 阅读 · 0 评论 -
_addnod
import subprocessdef _read(): a = [] while True: new = input() if new=='end': break else: a.append(new) return aprint('welco原创 2017-05-05 13:51:49 · 295 阅读 · 0 评论 -
ssh_by_list
import subprocessimport time#this is the IP LIST file name and pathIPLIST = 'd:/iplist.txt'#this is the log file locationLOGFILE = 'd:/iplistlog.txt'def _connect(b,fh2): try:原创 2017-05-05 13:53:55 · 260 阅读 · 0 评论 -
ka.py
#!/usr/bin/python3#jason.ge 10th of May 2017#version 0.a#py read a file in kasperskyanalyze folderimport sysCLEANMARKS = ['Backup Copy of Object Created','Disinfected On Restart','Object原创 2017-08-13 22:05:12 · 214 阅读 · 0 评论 -
sbl.py
#!/usr/bin/python3import subprocessimport timeimport pexpect#this is the IP LIST file name and pathIPLIST = 'sbliplist.txt'DOMAINLIST = ['.hc.cn','.homecredit.cn']#this is the log file l原创 2017-08-13 22:06:18 · 258 阅读 · 0 评论