浏览模式: 标准 | 列表
2005年11月的文章
Posted by amxku on 2005-11-29, 21:46 . 技术相关
一.ODBC的概念
ODBC Open DataBase Connectivity
由微软 (MICROSOFT) 所发展的数据库 (DATABASE) 存取规格, 可使所有依照 ODBC 规格设计的应用程序, 能够透过 ODBC 驱动程序 (DRIVER) 来存取数据库, 而不管使用何种数据库管理系统 (DBMS).
ODBC(Open Database Connectivity,开放数据库互连)是微软公司开放服务结构(WOSA,Windows Open Services Architecture)中有关数据库的一个组成部分,它建立了一组规范,并提供了一组对数据库访问的标准API(应用程序编程接口)。这些API利用SQL来完成其大部分任务。ODBC本身也提供了对SQL语言的支持,用户可以直接将SQL语句送给ODBC。
» 阅读全文
1 Comments | 2877 Views
Posted by amxku on 2005-11-18, 16:04 . 技术相关
作者:HaK_BaN[BCT]
组织:
Bug.Center.Team
网站:
http://www.cnbct.org
备注:本文已经刊登在9月《黑客手册》中,转载时请标明出处以及文章完整性» 阅读全文
Tags: 工具, 入侵, 漏洞, 技术
0 Comments | 2372 Views
Posted by amxku on 2005-11-17, 21:28 . 杂七杂八
@echo off
del /f /s /q %systemdrive%*.tmp
del /f /s /q %systemdrive%*._mp
del /f /s /q %systemdrive%*.log
del /f /s /q %systemdrive%*.gid
del /f /s /q %systemdrive%*.chk
del /f /s /q %systemdrive%*.old
del /f /s /q %systemdrive%recycled*.*
del /f /s /q %windir%*.bak
del /f /s /q %windir%prefetch*.*
del /f /s /q %windir%temp*.*
del /f /q %userprofile%cookies*.*
del /f /q %userprofile%recent*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
Tags: 系统, 垃圾, windows, 清理记录
0 Comments | 2487 Views
Posted by amxku on 2005-11-17, 15:23 . 技术相关
在里加入就可以了,如下
<
body oncontextmenu="return false">
----这样可以彻底禁止左右键~`
» 阅读全文
Tags: body
0 Comments | 3205 Views
Posted by amxku on 2005-11-16, 23:09 . 技术相关
对使用Windows的人来说,
病毒无处不在,各种各样的新型
病毒层出不穷,近年来,一种类似Unix的操作系统也在发展壮大,开始走进我们的视野,并在各领域内得到应用,它就是
linux系统,对于受
病毒困扰的用户来说,
linux会是一块没有
病毒的乐土吗?
一、当心
linux病毒在
linux出现之初,由于其最初的优
» 阅读全文
Tags: linux, 病毒
0 Comments | 2964 Views
Posted by amxku on 2005-11-13, 06:18 . 杂七杂八

Tags: sablog, blog
2 Comments | 2844 Views
Posted by amxku on 2005-11-12, 11:40 . 技术相关
第一是常用的封
端口的方法:
呵呵,常用的命令如下:
1禁止∶
access-list 102 deny tcp any any range 6881 6890
access-list 102 deny tcp any range
» 阅读全文
Tags: cisco, bt, 端口
0 Comments | 3079 Views
Posted by amxku on 2005-11-10, 08:04 . 技术相关
统计PHP代码行数的小bat程序
放到一个PHP文件夹下面,点他,就会自动统计当前目录下面的PHP文件了。
如果用记事本打开,还可以设置是否统计子目录的;也可以设置统计其它类型的代码!
统计的标准是非回车空行!
@echo off
:config()
:{
set count_type=0
:# 0:表示只统计当前目录
:# 1:表示只统计当前目录,包括子目录
set count_ext=.php
:# 表示统计文件的后缀名称
:}
:main()
:{
if %count_type%==0 (set count_info=当前目录)
if %count_type%==1 (set count_info=当前目录,包括子目录)
echo 代码文件数与行数统计(HonestQiao 2006-5-20 0:14)
echo 统计方式:%count_info%
echo 文件后缀:%count_ext%
set /P PauseKey=开始统计(回车开始,Q退出)
if "%PauseKey%" == "Q" goto :EOF
if "%PauseKey%" == "q" goto :EOF
echo.
cd "%CD%"
set counts=0
set count=0
set tmp_list=%RANDOM%.tmp
copy /Y NUL %tmp_list% >nul 2>nul
if %count_type%==0 (dir/b | findstr "%count_ext%\>" > %tmp_list%)
if %count_type%==1 (dir/b/s | findstr "%count_ext%\>" > %tmp_list%)
call :function_files_count %tmp_list%
echo 文件总数:%counts%
echo 行数总计:%count%
del /Q %tmp_list%
echo.
set /P PauseKey=回车退出
@echo on
@goto :EOF
:}
:function_files_count
:{
set counts_tmp=0
for /F %%l in ('type %1') do (call :function_files_add "%%l")
set /A counts=%counts%+%counts_tmp%
goto :EOF
:}
:function_files_add
:{
set /A counts_tmp=%counts_tmp%+1
call :function_file_count %1
goto :EOF
:}
:function_file_count
:{
echo 第%counts_tmp%个文件:%1
set count_tmp=0
for /F %%l in ('type %1') do (call :function_file_add %1)
set /A count=%count%+%count_tmp%
echo 小计行数:%count_tmp%
echo.
goto :EOF
:}
:function_file_add
:{
set /A count_tmp=%count_tmp%+1
goto :EOF
:}
Tags: 技术, 代码, bat
0 Comments | 2456 Views
Posted by amxku on 2005-11-07, 11:36 . 技术相关
有时候在入侵的时候总是碰到先烦恼的问题,比如SA遇到xp_cmdshell时,如果管理员把xp_cmdshell删了怎么办呢?总是眼看着肉鸡跑了吧!
今天我就对XP_CMDSHELL做一先解释,希望大家能看明白,能看懂众所周知,在
mssql中,通过XP_cmdshell
» 阅读全文
Tags: mssql
0 Comments | 3080 Views