摘要: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
阅读全文
摘要: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
阅读全文
摘要:#!/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
阅读全文
摘要:select 'a' as column1 name1 : wrongselect 'a' as [column1 name1] : ok[] : brackets
阅读全文