![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PYTHON
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 · 238 阅读 · 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 · 262 阅读 · 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 · 230 阅读 · 0 评论 -
scapy
scapy: 用于抓包,修改包可单独使用,可作为python的库依赖:python_gnuplot使用例子:>>> arp = ARP() #调用ARP()函数,创建一个ARP类得实例>>> arp.display() #调用arp实例得一个方法,display,查看arp的参数###[ ARP ]### hwtype= 0x1 pt原创 2017-05-16 16:48:16 · 775 阅读 · 1 评论 -
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 · 200 阅读 · 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 · 227 阅读 · 0 评论