CODE
Der_Traum
这个作者很懒,什么都没留下…
展开
-
cs
import subprocess def _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 · 227 阅读 · 0 评论 -
_addnod
import subprocess def _read(): a = [] while True: new = input() if new=='end': break else: a.append(new) return a print('welco原创 2017-05-05 13:51:49 · 249 阅读 · 0 评论 -
ssh_by_list
import subprocess import time #this is the IP LIST file name and path IPLIST = 'd:/iplist.txt' #this is the log file location LOGFILE = 'd:/iplistlog.txt' def _connect(b,fh2): try:原创 2017-05-05 13:53:55 · 211 阅读 · 0 评论 -
ka.py
#!/usr/bin/python3 #jason.ge 10th of May 2017 #version 0.a #py read a file in kasperskyanalyze folder import sys CLEANMARKS = ['Backup Copy of Object Created','Disinfected On Restart','Object原创 2017-08-13 22:05:12 · 192 阅读 · 0 评论 -
sbl.py
#!/usr/bin/python3 import subprocess import time import pexpect #this is the IP LIST file name and path IPLIST = 'sbliplist.txt' DOMAINLIST = ['.hc.cn','.homecredit.cn'] #this is the log file l原创 2017-08-13 22:06:18 · 212 阅读 · 0 评论