牧羊岛

懒是不会有好果子吃滴//

导航

02 2014 档案

摘要:★Fiddler神器之一,IE-WinNet-Fiddler-Server,能跟踪调试HTTP和HTTPS是优点也是缺点。地址:http://www.fiddler2.com/★Charles,可以设置代理的代理。其他还没有深度挖掘,需要付费。地址:http://www.charlesproxy.com/★TCPView,算是win下网络连接监控的小工具,可以代替360的某些功能。地址:http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx★sokit,主要看中了他的转发器。当然功能有些简单,对我来讲已经弥补了Fiddler不 阅读全文

posted @ 2014-02-27 12:46 牧羊岛 阅读(504) 评论(0) 推荐(0)

摘要:已知:汉字“你”UTF8编码是 0xe4bda0,GBK编码是 0xc4e3,求证。0xe4bda0 → 2进制11100100 10111101 10100000→ UTF8 3字节11100100 10111101 10100000→ 转换 0100 111101 1000000100 1111011000000100111101100000→ 16进制0x4F60→到http://www.tamasoft.co.jp/en/general-info/unicode.html查unicode码表4F60 你→ 再查GBK到unicode映射 unicode十六进制unicode十进制... 阅读全文

posted @ 2014-02-21 11:33 牧羊岛 阅读(716) 评论(0) 推荐(0)

摘要:jQuery版本1.8.3 待解析的xml为:Login跟踪jQuery源码,发现如下:// Go to html and back, then peel off extra wrapperstag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase();wrap = wrapMap[ tag ] || wrapMap._default;depth = wrap[0];div.innerHTML = wrap[1] + elem + wrap[2];自己写测试例子:var div = docume 阅读全文

posted @ 2014-02-18 19:41 牧羊岛 阅读(865) 评论(0) 推荐(0)

摘要:centos6.4配置两块网卡,eth0设置静态IP,8网段,eth1无线配置dhcp,都是开机启动。但是eth1无线网卡一旦连接至开放网络(需要web登陆),就替换了之前eth0配置的默认网关,在没有通过web验证前无法上网,eth0又没有设置网关,导致每次开机都要手动设置网关。后面修改了/etc/rc.local文件,添加(metric 是设置该网关的跃点):#无线网卡,跃点为2#route add default gw 192.168.15.1 metric 2#无线网卡,跃点为2#route add default gw 192.168.1.1 metric 2#有线网卡#route 阅读全文

posted @ 2014-02-18 09:53 牧羊岛 阅读(4900) 评论(0) 推荐(0)

摘要:使用 FileZilla FTP Client 连接 Vsftpd在执行LIST命令后提示连接超时。vi /etc/vsftpd/vsftpd.conf添加:#开启被动模式 pasv_enable=YES #随机最小端口pasv_min_port=4000 #随机最大端口pasv_max_port=5000modprobe ip_conntrack_ftpmodprobe ip_nat_ftpvi /etc/sysconfig/iptables添加:-A OUTPUT -p tcp --sport 4000:5000 -j ACCEPT-A INPUT -p tcp --dport 4000. 阅读全文

posted @ 2014-02-12 17:07 牧羊岛 阅读(1283) 评论(0) 推荐(0)

摘要:desc 表名;show columns from 表名;describe 表名;show create table 表名;use information_schemaselect * from columns where table_name='表名'; 阅读全文

posted @ 2014-02-11 11:25 牧羊岛 阅读(262) 评论(0) 推荐(0)

摘要:装好系统发现使用locate查找文件,提示-bash: locate: command not foundyum install locate 无效,看来locate不是软件名称[root@centos64 ~]# yum search locate============================= N/S Matched: locate ==============================mlocate.x86_64 : An utility for finding files by namewhich.x86_64 : Displays where a particular 阅读全文

posted @ 2014-02-11 11:12 牧羊岛 阅读(2156) 评论(0) 推荐(0)

摘要:1、测试是否是SELinux配置不当导致的:setenforce 0再次登陆ftp,正常,说明是SELinux配置不当导致。还原配置setenforce 12、查看配置:getsebool -a|grep ftpallow_ftpd_anon_write --> offallow_ftpd_full_access --> offallow_ftpd_use_cifs --> offallow_ftpd_use_nfs --> offftp_home_dir --> offftpd_connect_db --> offftpd_use_passive_mode 阅读全文

posted @ 2014-02-08 17:13 牧羊岛 阅读(454) 评论(0) 推荐(0)