首页 | 注册 | 登录 | 归档 | 搜索 | 标签 | 在线工具
浏览模式: 标准 | 列表 2005年11月的文章

ODBC:web/sql分离环境下的一个思路

一.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。

» 阅读全文

国内大部分统计系统存在严重漏洞

作者:HaK_BaN[BCT]
组织:
Bug.Center.Team
网站:
http://www.cnbct.org

备注:本文已经刊登在9月《黑客手册》中,转载时请标明出处以及文章完整性

» 阅读全文

Tags: 工具, 入侵, 漏洞, 技术

清除系统垃圾

@echo off
del 
///%systemdrive%*.tmp
del 
///%systemdrive%*._mp
del 
///%systemdrive%*.log
del 
///%systemdrive%*.gid
del 
///%systemdrive%*.chk
del 
///%systemdrive%*.old
del 
///%systemdrive%recycled*.*
del ///%windir%*.bak
del 
///%windir%prefetch*.*
del ///%windir%temp*.*
del //%userprofile%cookies*.*
del //%userprofile%recent*.*
del ///"%userprofile%\Local Settings\Temporary Internet Files\*.*"
del ///"%userprofile%\Local Settings\Temp\*.*"
del ///"%userprofile%\recent\*.*"

Tags: 系统, 垃圾, windows, 清理记录

body代码

在里加入就可以了,如下
<body oncontextmenu="return false">
----这样可以彻底禁止左右键~`

» 阅读全文

Tags: body

推荐:让Linux防范病毒

对使用Windows的人来说,病毒无处不在,各种各样的新型病毒层出不穷,近年来,一种类似Unix的操作系统也在发展壮大,开始走进我们的视野,并在各领域内得到应用,它就是linux系统,对于受病毒困扰的用户来说,linux会是一块没有病毒的乐土吗?

一、当心linux病毒
linux出现之初,由于其最初的优

» 阅读全文

Tags: linux, 病毒

以前的BLOG,截图留念下

以前的blog,截图留念下

webpage.jpg
大小: 435.19 K
尺寸: 184 x 450
浏览: 164 次
点击打开全图

Tags: sablog, blog

在路由器封BT方法大全-cisco

第一是常用的封端口的方法:
呵呵,常用的命令如下:

1禁止∶
access-list 102 deny tcp any any range 6881 6890
access-list 102 deny tcp any range

» 阅读全文

Tags: cisco, bt, 端口

统计PHP代码行数的小BAT程序

统计PHP代码行数的小bat程序
放到一个PHP文件夹下面,点他,就会自动统计当前目录下面的PHP文件了。
如果用记事本打开,还可以设置是否统计子目录的;也可以设置统计其它类型的代码
统计的标准是非回车空行!
    

@echo off
:config()
:{
         
set count_type=0
         
:#     0:表示只统计当前目录
         
:#     1:表示只统计当前目录,包括子目录


         
set count_ext=.php
         
:#     表示统计文件的后缀名称
:}


:
main()
:{
         if %
count_type%==(set count_info=当前目录)
         if %
count_type%==(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%==(dir/findstr "%count_ext%\>" > %tmp_list%)
         if %
count_type%==(dir/b/findstr "%count_ext%\>" > %tmp_list%)
         
call :function_files_count %tmp_list%
         echo 
文件总数:%counts%
         echo 
行数总计:%count%
         
del /%tmp_list%
         echo.
         
set /P PauseKey=回车退出
         
@echo on
         
@goto :EOF
:}


:
function_files_count
:{
         
set counts_tmp=0
         
for /%%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 /%%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

当SA遇到XP_CMDSHELL时!

有时候在入侵的时候总是碰到先烦恼的问题,比如SA遇到xp_cmdshell时,如果管理员把xp_cmdshell删了怎么办呢?总是眼看着肉鸡跑了吧!

今天我就对XP_CMDSHELL做一先解释,希望大家能看明白,能看懂众所周知,在mssql中,通过XP_cmdshell

» 阅读全文

Tags: mssql