摘要: net use ""ip"ipc$ " " /user:" " 建立IPC空链接
net use ""ip"ipc$ "密码" /user:"用户名" 建立IPC非空链接
net use h: ""ip"c$ "密码" /user:"用户名" 直接登陆后映射对方C:到本地为H:
net use h: ""ip"c$ 登陆后映射对方C:到本地为H:
阅读全文
摘要: 错误信息 :
1. org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection refused: connect)
2. Caused by: java.sql.SQLException: Network error IOException: Connection refused: connect
3. Caused by: java.net.ConnectException: Connection refused: connect
阅读全文
摘要: -- sqlserver
查询一个数据库中的所有表
select [id], [name] from [sysobjects] where [type] = ’u’
[type] = ’u’ 是用户表,[type] = ’s’是系统表
根据上个语句的查询结果然后再查询一个表中的所有字段
select [name] from [syscolumns] where [id] = 1637580872
阅读全文
摘要: [HKEY_CLASSES_ROOT"Unknown"shell"openas"command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,"
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,"
6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,25,00,53,"
00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,73,00,"
79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,65,00,6c,00,6c,"
00,33,00,32,00,2e,00,64,00,6c,00,6c,00,
阅读全文
摘要: var dt = new Date();
var year = dt.getFullYear();
var month = dt.getMonth() + 1;
var day = dt.getDate();
var hour = dt.getHours();
var minute = dt.getMinutes();
var second = dt.getSeconds();
阅读全文