05 2013 档案

转贴-------ARP攻击C语言代码
摘要:ARP攻击C语言代码本代码基本不具备危害性,只是通过MAC地址欺骗修改服务器缓冲区信息实现消息拦截。假设被攻击服务器 IP 地址为 192.168.20.8 ,MAC地址为 00:0C:29:BD:1C:EF被拦截消息计算机IP地址为 192.168.20.9 本机MAC 地址为 00:0C:29:AF:FB:D3#include<stdio.h>#include<string.h>#include<unistd.h>#include<stdlib.h>#include<net/if_arp.h>#include<net/eth 阅读全文

posted @ 2013-05-26 23:23 齐文宣 阅读(895) 评论(0) 推荐(0) 编辑

raspberry PI 使用snmp协议取pc或route的cpu使用率
摘要:raspberry PI 配置1:在raspberry安装snmp 客户端 sudo apt-get install snmp安装mib下载器 使oid可读 sudo apt-get install snmp-mibs-downloader edit /etc/snmp/snmp.conf and comment out the following line: mibs : 下载 mib: download-mibs2:为了本机测试,再安装 snmp 服务sudo apt-get install snmpd 编辑 edit /etc/snmp/snmpd.conf 取消这句的注释rocommu 阅读全文

posted @ 2013-05-22 16:26 齐文宣 阅读(904) 评论(0) 推荐(0) 编辑

raspberry pi 自动ftp取windows server 's file
摘要:#!/bin/bashftp_site=192.168.1.102username=anonymouspasswd=a@b.cnPS3='Select a destination directory: '# bash seleccd /ftpdir/scriptssudo ftp -in <<EOFopen $ftp_siteuser $username $passwdget bb.txtclosebyeEOF#sudo ftp <192.168.0.104>#user <anonymous> <a@b.cn>#get bb.tx 阅读全文

posted @ 2013-05-22 16:02 齐文宣 阅读(230) 评论(0) 推荐(0) 编辑

sql serve column name 加空格
摘要:select 'a' as column1 name1 : wrongselect 'a' as [column1 name1] : ok[] : brackets 阅读全文

posted @ 2013-05-02 11:35 齐文宣 阅读(265) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示