随笔分类 - Windows
windows系统的一些相关问题
摘要:在win7下,通过下面的方法测试shellcode:char shellcode [] ="..." ;int main ( int argc , char ** argv){ __asm { lea eax , shellcode call eax } return 0;}必须要也可以通过设置数据段为可执行来测试shellcode,不然shellcode所在的数据段由于受系统保护不允许被执行,导致出现异常,而测试失败。代码如下:#pragma comment(linker, "/section:....
阅读全文
摘要:在win7下,通过下面的方法测试shellcode:char shellcode [] ="..." ;int main ( int argc , char ** argv){ __asm { lea eax , shellcode call eax } return 0;}必须要关闭DEP,不然shellcode所在的数据段由于受系统保护不允许被执行,导致出现异常,而测试失败。关闭和启用DEP的方法如下:关闭: bcdedit.exe /set {current} nx AlwaysOff启用: ...
阅读全文
摘要:you could try this solution (which I found on the net):1. Open Command Prompt.2. typeDISKPART- a new window will open.3. enter command :LIST DISK. This will show you all the connected disk with the offline one.4. Now select the offline disk using the next commandSELECT DISK <disk_no>wheredisk_
阅读全文
浙公网安备 33010602011771号