![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
自斧之楥
文章平均质量分 61
vingo888
这个作者很懒,什么都没留下…
展开
-
利用Ip Helper Api 来得到局域网中计算机MAC 地址的一个程序
ARP 欺骗的过程中,首先是要得到目标计算机的MAC 地址,通过在局域网络中发布ARP 请求可以得到目标计算机的MAC 地址,同时也可以通过这个方法来得到局域网中的存活主机的情况。程序代码如下:// Vin1.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include原创 2004-09-20 13:31:00 · 1693 阅读 · 0 评论 -
DirectShow 的简单例子
// testDirectShow.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #pragma comment(lib,"strmiids.lib")int _tmain(int argc, _TCHAR* argv[]){原创 2015-02-26 21:36:46 · 463 阅读 · 0 评论 -
Ubuntu 下 Samba 配置
sudo apt-get install sambasudo apt-get install smbfssudo apt-get install system-config-sambasudo smbpasswd -a userAsudo system-config-sambasudo service smbd restart (start, st原创 2013-04-27 19:59:40 · 481 阅读 · 0 评论 -
Reading a File into a Byte Array
public static byte[] getBytesFromFile(File file) throws IOException { InputStream is = new FileInputStream(file); // Get the size of the file long length = file.leng原创 2009-05-07 22:55:00 · 688 阅读 · 0 评论 -
cygwin arm cross compiler
Build processGCCs t-arm-elf file was updated to enable support for the following options:marm/mthumb (arm or thumb code generation)mlittle-endian/mbig-endian (little or big endian architect原创 2009-04-21 20:03:00 · 1079 阅读 · 0 评论 -
一个简单的Makefile 模块
一个很简单的makefile简单的照着修改就可以成为自己的makefile 了TARGET := vcpCFLAGS :=-I. -I/usr/local/include/upnpLINKOPS :=/usr/local/lib/libupnp.a /usr/local/lib/libthreadutil.a /usr/local/lib/libixml.aCC :=gccOBJS := cp.o原创 2008-11-24 12:15:00 · 805 阅读 · 1 评论 -
vmware 中按照的ubuntu 找不到network interface
在 vmware 中安装了 ubuntu ,不知道为什么找不到eth0 了只有一个loopback interface通过google ,修改 /etc/network/interfaces 文件,就可以了1. sudo vi /etc/network/interfaces2. 加入: auto eth0iface eth0 inet dhcp3. 保存推出4. sudo ifup eth0ok,原创 2008-10-13 13:28:00 · 3141 阅读 · 0 评论 -
RFC 中的MUST,MUST NOT,SHOULD,SHOULD NOT,MAY,MAY NOT 解释
From : http://www.ietf.org/rfc/rfc2119.txt 1. MUST This word, or the terms "REQUIRED" or "SHALL", mean that the definition is an absolute requirement of the specification.2. MUST NOT This p原创 2008-10-14 11:38:00 · 1710 阅读 · 0 评论 -
linux 给这个世界带来什么
当前linux 很火,可是这种火会给这个世界带来什么呢? 日后我想linux 随这不断的发展将会成为一个以国家为单位的一个东东,每一个国家都会有自己的linux 品牌,每一个国家都会有自己国家自主的linux, 也就是说linux 日后会分裂. 这个clone unix 的东西,日后会不断的变异,不断的发展壮大. 这个东东给每一个国家的机会都是相同的. 日后各种linux 的变种是否可以原创 2006-03-25 09:23:00 · 1129 阅读 · 0 评论 -
Window 中窗口的层次关系以及窗口的属性
Window 窗口层次关系 相信在Window 下面编程的很多兄弟们都不是很清楚Window 中窗口的层次关系是怎么样的,这个东西很久已经研究过一下,后来又忘记了,今天又一次遇到了这个问题,所以便整理一下。下面就说说Window 中桌面(Deskkop)以及顶层窗口,以及子窗口之间的关系。 在Window 的图形界面下,最基本显示信息的元素就是窗原创 2004-10-24 19:57:00 · 1333 阅读 · 0 评论 -
一个反汇编的例子
这是一个反汇编的例子,反汇编的代码是使用Bochs 中的反汇编的代码,由于Bochs 反汇编模块做的比较独立,所以可以直接把反汇编模块包含到程序,不过为了使用这个反汇编的代码,需要自己写一小段对PE 进行简单解析的代码,下面是这个代码:#include "stdafx.h"#include "windows.h"#include "disasm.h"DWORD RVA原创 2004-10-24 20:22:00 · 1588 阅读 · 0 评论 -
Man 帮助文件转化成为window 下面的文本
使用unix或者是linux 的人经常使用的命令就是man 来查找一些命令或者是函数的使用方法。前几天,我down了一个cgywin ,想学学在linux环境下面的开发,在cgywin 使用man 来查看帮助总是感觉没有在window下面使用一些文本编辑器例如Ultraedit 看得爽,感觉不怎么直接(相信这种感觉只是对于那些刚刚接触*nix 的人才有),于原创 2004-10-24 20:08:00 · 1167 阅读 · 0 评论 -
C++ 流重定向输出到调试
#include #include #include #include //using namespace std;template > class basic_debugbuf : public std::basic_stringbuf { ~basic_debugbuf() { sync(); }protected: int原创 2015-04-16 10:09:29 · 1193 阅读 · 0 评论