摘要:
(1)最大转移的范围为FFFFH,可以转移的范围是 -32768~32767(2)jmp near ptr s是近转移(-32768-32767)near: push bp mov bp,sp add [bp+2],bx pop bpiret(3)(应用列举)assume cs:codedata segment db 'conversation',0data endscode segmentstart: mov ax,data mov ds,ax mov si,0 mov ax,0b800h mov es,ax mov di,12*160s: cmp byte ptr [si] 阅读全文
摘要:
1、中断信息可以来自CPU的内部和外部2、CPU在收到中断请求过后,取到中断类型码过后,从中断向量表中找到中断类型码相对应的中断处理程序入口地址,并设置CS和IP,这个步骤称为中断过程3、iret指令功能的汇编描述pop IPPOP CSPOPf4、中断程序的入口地址可以称为中断向量,而中断向量表就是所有程序的中断向量集成。 中断向量表的地址为:0000:0000-0000:03FF,共1024个字节,高地址存放段地址,低地址存放低偏移地址。 CPU在取得中断类型码过后在中断向量表中寻址中断向量的段地址和偏移地址(段地址=中断类型码*4+2,偏移地址=中断类型码*4)5、debug中的T命.. 阅读全文
摘要:
1 assume cs:code 2 code segment 3 start: 4 mov ax,cs 5 mov ds,ax 6 mov si,offset do0 7 8 mov ax,0 9 mov es,ax10 mov di,200h11 12 mov cx,offset do0end-offset do013 cld14 rep movsb15 16 mov ax,017 mov ds,ax18 mov word ptr ds:[0],200H19 ... 阅读全文
摘要:
1 assume cs:codesg 2 3 datasg segment 4 db "Beginner's All-purpose Symbolic Instruction Code.",0 5 datasg ends 6 7 codesg segment 8 begin: 9 mov ax,datasg10 mov ds,ax11 mov si,012 call letterc13 14 mov ax,4c00h15 int 21h16 17 letterc:18 push cx19 push s... 阅读全文
摘要:
1 $ python sqlmap.py -u "http://ww.victim.com/get_int.php?id=1"--union-use - 2 dump -T users -D public -v 0 3 <sinp> 4 web server operating system: Linux Ubuntu 8.10 (Intrepid Ibex) 5 web application technology: PHP 5.2.6, Apache 2.2.9 6 back-end DBMS: Postgr... 阅读全文
摘要:
<script language="javascript"> alert("错误~~ 请输入帐号!!"); location.href="javascript:history.back()" </script> --------------- 输出并重定向 <script language="javascript"> alert("添加成功~~!!"); location.href="BookList.asp" </script> 阅读全文
摘要:
python sqlmap.py -u "http://192.168.1.47/page.php?id=1&cat=2" -- current-db current database: 'testdb' python sqlmap.py -u "http://192.168.1.47/page.php?id=1&cat=2" --users database management system users [5]: [*] 'debian-sys-maint'@'localhost' [* 阅读全文
摘要:
assume cs:code,ds:data,ss:stackdata segment db '1975','1976','1977','1978','1979','1980','1981','1982','1983' db '1984','1985','1986','1987','1988','1989','1990','1991& 阅读全文
摘要:
assume cs:code,ds:data,ss:stackdata segment db 10 dup (0)data endsstack segment dw 16 dup (0)stack endscode segmentstart: mov ax,12666 mov bx,data mov ds,bx mov bx,stack mov ss,bx mov si,0 call dtoc mov dh,8 mov dl,3 mov cl,2 call show_str ... 阅读全文
摘要:
assume cs:code,ds:data,ss:stackdata segment db 'welcome to masm!',0data endsstack segment dw 16 dup (0)stack endscode segmentkaishi: mov ax,data mov ds,ax mov ax,stack mov ss,ax mov sp,20H mov dh,8 mov dl,3 mov cl,2 mov si,0 call show_str mov ax,4c... 阅读全文