zhoulf 2015/2/28原创安装说明安装环境:Red Hat Enterprise Linux	安装方式:源码安装 软件:apr-1.5.0.tar.gz、apr-iconv-1.2.1.tar.gz、apr-util-1.5.3.tar.gz、sqlite-amalgamation-20....
                            
                            
                                分类:
系统相关   时间:
2015-02-28 12:48:11   
                                阅读次数:
265
                             
                         
                    
                        
                            
                            
                                configure.ac:64: error: possibly undefined macro: AM_ICONV If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf docu...
                            
                            
                                分类:
其他好文   时间:
2015-02-27 01:29:58   
                                阅读次数:
150
                             
                         
                    
                        
                            
                            
                                #!/bin/bash
ipp(){
exec<$1
whilereada
do
string1=`curl-s"http://www.ip138.com/ips138.asp?ip=${a}&action=2"|iconv-fgb2312-tutf-8|grep‘<ulclass="ul1"><li>‘|awk-F‘[<>]+‘‘{printsubstr($5,7)}‘`
echo$a
echo-e"\033[44;37;5m$string1\033[0m"..
                            
                            
                                分类:
系统相关   时间:
2015-02-26 16:49:11   
                                阅读次数:
185
                             
                         
                    
                        
                            
                            
                                目前Node.js仅支持hex、utf8、ascii、binary、base64、ucs2几种编码的转换。对于GBK,GB2312等编码,Nodejs自带的toString()方法不支持,因此中文转化的时候需要加载第三方库,主要有两个编码转换库iconv-lite和encoding,个人推荐使用en...
                            
                            
                                分类:
Web程序   时间:
2015-02-09 19:57:22   
                                阅读次数:
1660
                             
                         
                    
                        
                            
                            
                                php内置函数1. iconviconv_set_encoding('internal_encoding', 'UTF-8');$str; //字符串的声明$num=iconv_strlen($str);$str_substr=iconv_substr($str, , );2. mbmb_...
                            
                            
                                分类:
Web程序   时间:
2015-02-03 21:02:56   
                                阅读次数:
172
                             
                         
                    
                        
                            
                            
                                在工程中导入XMPP第三库时,出现link错误,错误如下: Undefined symbols for architecture i386: ? "_iconv", referenced from: ? ? ? _mem_cd_iconv in libidn.a(striconv.o) ? ? ? _str_cd_iconv in l...
                            
                            
                                分类:
移动开发   时间:
2015-01-28 19:59:10   
                                阅读次数:
292
                             
                         
                    
                        
                            
                            
                                int code_convert(const char *from_charset, const char *to_charset, const char *inbuf, size_t inlen, char *outbuf, size_t outlen)
{
    iconv_t cd;
    const char *temp = inbuf;
    const char **pin = ...
                            
                            
                                分类:
其他好文   时间:
2015-01-23 14:45:11   
                                阅读次数:
123
                             
                         
                    
                        
                            
                            
                                0、前言
最近要为了自动化审计搜集所有PHP漏洞,在整理注入的时候,发现宽字节注入中使用iconv造成的漏洞原理没有真正搞懂,网上的文章也说得不是很清楚,于是看了荣哥(lxsec)以前发的一篇http://www.91ri.org/8611.html,加上我们两个人的讨论,最终有了这一篇深入的研究成果。
1、概述
主要是由于使用了宽字节编码造成的。
什么是字符集?
计算机...
                            
                            
                                分类:
其他好文   时间:
2015-01-19 17:19:58   
                                阅读次数:
487
                             
                         
                    
                        
                            
                            
                                #!/bin/sh
function conv() {
	if [ "$(expr match "$1" ".*\.java$")" != "0" ]; then
		echo "Converting $1 ..."
		iconv -f utf-8 -t gbk $1 > $1.temp
		rm $1
		mv $1.temp $1
	else
		echo "Skip $1"
	fi
}
...
                            
                            
                                分类:
编程语言   时间:
2015-01-18 21:11:19   
                                阅读次数:
266
                             
                         
                    
                        
                            
                            
                                之前按照这篇文章安装vim7.4,因为使用YCM和UltiSnips的缘故。在安装过程中make时,出现如下错误:       
Undefined symbols for architecture x86_64:
"_iconv", referenced from:
_buf_write_bytes in fileio.o
_readfile in fileio.o
_my_iconv_ope...
                            
                            
                                分类:
系统相关   时间:
2015-01-08 18:11:37   
                                阅读次数:
304