基本步骤:sqlmap-u"http://url/news?id=1"--current-user#获取当前用户名称sqlmap-u"http://www.xxoo.com/news?id=1"--current-db#获取当前数据库名称sqlmap-u"http://www.xxoo.com/news?id=1"--tables-D"db_name"#列表名sqlmap-u"http://url/news?id=1"--columns-T"tablename..
分类:
数据库 时间:
2014-12-24 06:28:13
阅读次数:
164
使用再哈希算法查找元素:
/*
hash search, using rehash method
if find k, return
if not find, d=(d+step)%m, rehash find
*/
int SearchHash(HashTable H, KeyType k)
{
int d, d1, m;
m = H.tableS...
分类:
编程语言 时间:
2014-12-23 22:41:24
阅读次数:
414
/* 启动MySQL */ net start mysql /* 连接与断开服务器 */ mysql -h 地址 -P 端口 -u 用户名 -p 密码 /* 跳过权限验证登录MySQL */ mysqld --skip-grant-tables -- 修改root密码 密码加密函数password() update m...
分类:
数据库 时间:
2014-12-23 17:48:23
阅读次数:
280
首先需要知道数据库的路径,coredata创建的一般都是放在沙盒Documents文件夹中,而自己建的就看自己了,
sqlite3 #数据库路径# //进入数据库
.tables //查看数据库中的表
.schema //进入具体的表,显示表结构
select * from #表名#
go //显示表信息
如图(查看coredat...
分类:
数据库 时间:
2014-12-23 17:25:30
阅读次数:
256
141. View the Exhibit and examine the structure of CUSTOMERS and GRADES tables.You need to display names and grades of customers who have the highest ...
分类:
其他好文 时间:
2014-12-23 17:20:31
阅读次数:
214
先停止mysql服务/etc/init.d/mysqld stop以安全模式启动mysql/usr/local/mysql/bin/mysqld_safe --skip-grant-tables --skip-networking &/usr/local/mysql/bin/mysqlUPDATE ...
分类:
数据库 时间:
2014-12-22 17:31:13
阅读次数:
273
将man命令中的部分复制如下:特殊符号‘#’后为个人看法,不对的地方,请大家指正。万分感谢!@@1、 netstat netstat - Print network connections, routing tables, interface statistics, masquerade conn....
分类:
系统相关 时间:
2014-12-21 19:23:23
阅读次数:
177
DataTable dt = ds.Tables[0]; DataRow[] drs = dt.Select("Id=" + categoryID ); 解决方法:将参数用单引号阔起来 DataRow[] drs = dt.Select("Id='" + categoryID + "'");
分类:
其他好文 时间:
2014-12-19 19:02:31
阅读次数:
205
# service mysqld stop# mysqld_safe --user=mysql --skip-grant-tables --skip-networking &# mysql -u root mysqlmysql> UPDATE user SET Password=PASSWORD(....
分类:
数据库 时间:
2014-12-19 09:17:06
阅读次数:
191
临时UPDATE/DELETE数据,尽量按照下面步骤执行。1、备份。selectinto到backup_tables库中。2、显示开启事务3、限制行数:TOP(N)4、执行更新,并检查结果5、回滚事务/提交事务--UPDATE示例SELECTcompliant_id,is_valid_complia...
分类:
其他好文 时间:
2014-12-18 16:56:13
阅读次数:
218