代码收藏

MSSQLCracker in ASP[asp提权]

MSSQLCracker in ASP[asp提权]
一个暴力破解MSSQL用户密码的ASP程序,以下这个版本是可以运行之后关闭浏览器,运行完毕将在当前目录生成结果文件的。

» 阅读全文

关键词: 工具 , 代码收藏 , 入侵

尝试php命令行脚本多进程并发执行

php不支持多线程,但是我们可以把问题转换成“多进程”来解决。由于php中的pcntl_fork只有unix平台才可以使用,所以本文尝试使用popen来替代。 
 
下面是一个例子:
 
被并行调用的子程序:

<?php
if($argc==1){
         echo(
"argv\n");
}
$arg $argv[1];    
for(
$i=0$i<10$i++)
{
echo(
$i.".1.".time()." exec $arg \n");
if(
$arg=='php2')

» 阅读全文

关键词: 代码收藏 , php

phpmailer整合了一下,还不错

 

由于要用到发送邮件,所以来phpmailer整合成类,方便点

phpmailer.rar (20.39 KB, 下载次数:343, 上传时间:2006-08-13 09:55)

关键词: phpmailer , 原创 , 代码收藏 , php

PHP各种Template系统

Easy Template System
http://ets.sourceforge.net/
http://ets.sourceforge.net/ets.pdf
http://prdownloads.sourceforge.net/ets/ets305b.zip?download

Smarty
http://smarty.php.net/
http://smarty.php.net/do_download.php?down...ty-2.6.0.tar.gz

FastTemplate
http://www.thewebmasters.net/php/FastTemplate.phtml
http://www.thewebmasters.net/php/FastTemplate-1_1_0.tar.gz

bTemplate
http://www.massassi.com/bTemplate/
http://www.massassi.com/bTemplate/download/bTemplate_0.3.zip

» 阅读全文

关键词: 代码收藏 , php

php实现识别系统首选语言跳转

php实现识别系统首选语言跳转
类似google


<?php
error_reporting(E_ALL ^ E_NOTICE);
// 分析 HTTP_ACCEPT_LANGUAGE 的属性
// 这里只取第一语言设置 (其他可根据需要增强功能,这里只做简单的方法演示)
preg_match('/^([a-z\-]+)/i', $_SERVER['HTTP_ACCEPT_LANGUAGE'], $matches);
$lang = $matches[1];
switch ($lang) {
              case 'zh-cn' :
                              header('Location: http://cn.test.com/');
                              break;
              case 'zh-tw' :
                              header('Location: http://tw.test.com/');
                              break;
              case 'ko' :
                              header('Location: http://ko.test.com/');
                              break;
              default:
                              header('Location: http://en.test.com/');
                              break;
}
?>

关键词: 代码收藏 , php

HDSI3 完整源代码

此代码可以任意分发或者修改
但是希望保留作者版权.

HDSI 是一款SQL注入工具。相信大家都不会陌生的。
程序用到的第3方控件请大家自己去下载,网上都可以找到的.

顺祝邪恶八所有的成员在新的一年里一切顺利。

» 阅读全文

关键词: 代码收藏

Total: 14‹ Prev12