Quantcast
Channel: 听涛观海博客 » php
Browsing latest articles
Browse All 2 View Live

python暴力破解mysql密码

#!/usr/bin/env python #coding=utf-8 import Queue from threading import Thread import sys import MySQLdb import time class End(): def __init__(self): self.end = False def Finish(self): self.end = True...

View Article



PHP网站防止SQL注入的常用方法

PHP网站防止SQL注入的常用方法 相比ASP类网站而言,PHP网站安全性相对较高。不过PHP网站管理员疏忽大意的话,同样还是能给黑客有机可乘。 以下列举4条PHP网站防止SQL注入常用方法,供大家参考。 1. php.ini中把register_globals设为off 2. 使用mysql_real_escape_string函数。此函数转义 SQL 语句中使用的字符串中的特殊字符...

View Article
Browsing latest articles
Browse All 2 View Live


Latest Images