摘要: 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();
閱讀全文